From 0534c80e0b715b1c8491e1b37a0442ff04086182 Mon Sep 17 00:00:00 2001 From: Vishal Verma Date: Mon, 12 Oct 2020 10:55:00 +0530 Subject: [PATCH] dt-bindings: camera: Add dt bindings information for TPG DT bindings information is added for dummy sensor TPG node CRs-Fixed: 2813101 Change-Id: I9b104349805e82193e402deee296d392f9f00367 --- bindings/msm-cam-cci.txt | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/bindings/msm-cam-cci.txt b/bindings/msm-cam-cci.txt index d353e8b0bfd2..7896b6e08858 100644 --- a/bindings/msm-cam-cci.txt +++ b/bindings/msm-cam-cci.txt @@ -266,9 +266,9 @@ sensor resource. controller. These pin configurations are installed in the pinctrl device node. -============================= -CAMERA IMAGE SENSOR MODULE -============================= +============================== +CAMERA IMAGE SENSOR/TPG MODULE +============================== Image sensor node contains properties of camera image sensor - compatible @@ -816,4 +816,26 @@ Example: clock-cntl-leveli = "turbo"; clock-rates = <24000000>; }; + + qcom,cam-tpg0 { + cell-index = <4>; + compatible = "qcom,cam-sensor"; + csiphy-sd-index = <4>; + sensor-position-roll = <270>; + sensor-position-pitch = <0>; + sensor-position-yaw = <180>; + gpios = <&tlmm 30 0>, + <&tlmm 35 0>; + gpio-reset = <1>; + gpio-req-tbl-num = <0 1>; + gpio-req-tbl-flags = <1 0>; + gpio-req-tbl-label = "CAMIF_MCLK1", + "CAM_RESET1"; + sensor-mode = <0>; + status = "ok"; + clocks = <&gcc GCC_CAMSS_MCLK1_CLK>; + clock-names = "cam_clk"; + clock-cntl-level = "turbo"; + clock-rates = <19200000>; + }; };