diff options
| author | Rahul Sharma <sharah@codeaurora.org> | 2017-11-14 15:59:46 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-12-22 07:21:04 -0800 |
| commit | 720aa591f48c5f401750bb5f33753efac8b4ef4c (patch) | |
| tree | 9199953104668116213d7ed1c5ba2da47c018c63 /Documentation | |
| parent | 8ed108c9770aa1fb055f8129121e60a708067f3f (diff) | |
ADV7481: Query lane_count and settle_count from device tree
Get lane count and settle count from device tree.
Add VIDIOC_G_CSI_PARAMS ioctl to pass lane count
and settle count values to userspace.
Change-Id: Ic0e0b7b402908c9970fd1771cf9bf19627f5a5d8
Signed-off-by: Rahul Sharma <sharah@codeaurora.org>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/devicetree/bindings/arm/msm/adv7481.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/msm/adv7481.txt b/Documentation/devicetree/bindings/arm/msm/adv7481.txt index 974c0877ac30..d09a83cc0d35 100644 --- a/Documentation/devicetree/bindings/arm/msm/adv7481.txt +++ b/Documentation/devicetree/bindings/arm/msm/adv7481.txt @@ -15,6 +15,12 @@ Required properties interrupt 1, interrupt 2 and interrupt 3. - cam_vdig-supply: Should contain regulator to be used for the digital vdd. +- tx-lanes: Should contain array of csi transmission lanes required + to select csi lane by adv7481 driver. +- settle-count: Should contain array of csi settle count required + to select settle count by adv7481 driver. +- res-array: Should contain array of resolution supported by + adv7481 driver. - cam_vio-supply: Should contain regulator to be used for the IO vdd. - cam_vana-supply: Should contain regulator from which analog voltage is supplied. @@ -35,6 +41,9 @@ Example: compatible = "qcom,adv7481"; reg = <0x70 0xff>; cam_vdig-supply = <&vph_pwr_vreg>; + tx-lanes = <4 2 1>; + settle-count = <16 16 16>; + res-array = "RES_1080P", "RES_720P", "RES_576P_480P"; /* Cameras powered by PMIC: */ cam_vio-supply = <&pm8994_lvs1>; cam_vana-supply = <&pm8994_l17>; |
