blob: 6af445b85e3b75fdb29d92da0bfdb5fe5db09ee0 [file] [log] [blame]
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -08001* Qualcomm MSM VIDC
2
3Required properties:
4- compatible : one of:
5 - "qcom,msm-vidc"
Arun Menon8e25dd42013-01-11 14:11:54 -08006- hfi : supported Host-Firmware Interface, one of:
7 - "venus"
8 - "q6"
9
10Optional properties:
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080011- reg : offset and length of the register set for the device.
12- interrupts : should contain the vidc interrupt.
Vinay Kalia68398a42012-06-22 18:36:12 -070013- 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 Kalia94b221b2012-06-25 18:50:13 -070019- load-freq-tbl : load (in macroblocks/sec) and corresponding vcodec clock
20 required for optimal performance in descending order.
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080021
22Example:
23
Vinay Kalia68398a42012-06-22 18:36:12 -070024
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080025 qcom,vidc@fdc00000 {
26 compatible = "qcom,msm-vidc";
27 reg = <0xfdc00000 0xff000>;
28 interrupts = <0 44 0>;
Vinay Kalia68398a42012-06-22 18:36:12 -070029 vidc-cp-map = <0x1000000 0x40000000>;
30 vidc-ns-map = <0x40000000 0x40000000>;
Vinay Kalia94b221b2012-06-25 18:50:13 -070031 load-freq-tbl = <979200 410000000>,
32 <560145 266670000>,
33 <421161 200000000>,
34 <243000 133330000>,
35 <108000 100000000>,
36 <36000 50000000>;
Arun Menon136c8eb2012-12-27 14:05:48 -080037 hfi = "venus";
Praneeth Paladugu4b73ec82012-02-08 12:55:59 -080038 };