Praneeth Paladugu | 4b73ec8 | 2012-02-08 12:55:59 -0800 | [diff] [blame] | 1 | * Qualcomm MSM VIDC |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : one of: |
| 5 | - "qcom,msm-vidc" |
Arun Menon | 8e25dd4 | 2013-01-11 14:11:54 -0800 | [diff] [blame^] | 6 | - hfi : supported Host-Firmware Interface, one of: |
| 7 | - "venus" |
| 8 | - "q6" |
| 9 | |
| 10 | Optional properties: |
Praneeth Paladugu | 4b73ec8 | 2012-02-08 12:55:59 -0800 | [diff] [blame] | 11 | - reg : offset and length of the register set for the device. |
| 12 | - interrupts : should contain the vidc interrupt. |
Vinay Kalia | 68398a4 | 2012-06-22 18:36:12 -0700 | [diff] [blame] | 13 | - vidc-cp-map : start and size of device virtual address range for secure buffers. |
| 14 | Video hardware uses this address range to identify if the buffers are secure |
| 15 | or non-secure. |
| 16 | - vidc-ns-map : start and size of device virtual address range for non-secure buffers. |
| 17 | Video hardware uses this address range to identify if the buffers are secure |
| 18 | or non-secure. |
Vinay Kalia | 94b221b | 2012-06-25 18:50:13 -0700 | [diff] [blame] | 19 | - load-freq-tbl : load (in macroblocks/sec) and corresponding vcodec clock |
| 20 | required for optimal performance in descending order. |
Praneeth Paladugu | 4b73ec8 | 2012-02-08 12:55:59 -0800 | [diff] [blame] | 21 | |
| 22 | Example: |
| 23 | |
Vinay Kalia | 68398a4 | 2012-06-22 18:36:12 -0700 | [diff] [blame] | 24 | |
Praneeth Paladugu | 4b73ec8 | 2012-02-08 12:55:59 -0800 | [diff] [blame] | 25 | qcom,vidc@fdc00000 { |
| 26 | compatible = "qcom,msm-vidc"; |
| 27 | reg = <0xfdc00000 0xff000>; |
| 28 | interrupts = <0 44 0>; |
Vinay Kalia | 68398a4 | 2012-06-22 18:36:12 -0700 | [diff] [blame] | 29 | vidc-cp-map = <0x1000000 0x40000000>; |
| 30 | vidc-ns-map = <0x40000000 0x40000000>; |
Vinay Kalia | 94b221b | 2012-06-25 18:50:13 -0700 | [diff] [blame] | 31 | load-freq-tbl = <979200 410000000>, |
| 32 | <560145 266670000>, |
| 33 | <421161 200000000>, |
| 34 | <243000 133330000>, |
| 35 | <108000 100000000>, |
| 36 | <36000 50000000>; |
Arun Menon | 136c8eb | 2012-12-27 14:05:48 -0800 | [diff] [blame] | 37 | hfi = "venus"; |
Praneeth Paladugu | 4b73ec8 | 2012-02-08 12:55:59 -0800 | [diff] [blame] | 38 | }; |