Tianyi Gou | 828798d | 2012-05-02 21:12:38 -0700 | [diff] [blame] | 1 | * Qualcomm Venus Video Subsystem Peripheral Image Loader |
| 2 | |
| 3 | pil-venus is a peripheral image loading (PIL) driver. It is used for loading |
| 4 | venus firmware images for video codec into memory and preparing the subsystem's |
| 5 | processor to execute code. It is also used for shutting down the processor when |
| 6 | it's not needed. |
| 7 | |
| 8 | Required properties: |
| 9 | - compatible: "pil-venus" |
Matt Wagantall | 1f16815 | 2012-09-25 13:26:47 -0700 | [diff] [blame] | 10 | - reg: offset and length of the register set for the device. |
| 11 | - reg-names: names of the bases for the above registers. "wrapper_base" and |
| 12 | "vbif_base" are expected. |
Tianyi Gou | 828798d | 2012-05-02 21:12:38 -0700 | [diff] [blame] | 13 | - vdd-supply: regulator to supply venus. |
| 14 | - qcom,firmware-name: Base name of the firmware image. Ex. "venus" |
| 15 | - qcom,firmware-min-paddr: The lowest addr boundary for firmware image in DDR |
| 16 | - qcom,firmware-max-paddr: The highest addr boundary for firmware image in DDR |
| 17 | |
| 18 | Example: |
| 19 | qcom,venus@fdce0000 { |
| 20 | compatible = "qcom,pil-venus"; |
| 21 | reg = <0xfdce0000 0x4000>, |
| 22 | <0xfdc80208 0x8>; |
Matt Wagantall | 1f16815 | 2012-09-25 13:26:47 -0700 | [diff] [blame] | 23 | reg-names = "wrapper_base", "vbif_base"; |
Tianyi Gou | 828798d | 2012-05-02 21:12:38 -0700 | [diff] [blame] | 24 | vdd-supply = <&gdsc_venus>; |
| 25 | |
| 26 | qcom,firmware-name = "venus"; |
| 27 | qcom,firmware-min-paddr = <0xF500000>; |
| 28 | qcom,firmware-max-paddr = <0xFA00000>; |
| 29 | |
| 30 | }; |