Loading arch/arm64/boot/dts/qcom/qcs610-camera-sensor-idp.dtsi 0 → 100644 +75 −0 Original line number Original line Diff line number Diff line /* * Copyright (c) 2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { camera_ldo: gpio-regulator@0 { compatible = "regulator-fixed"; reg = <0x00 0x00>; regulator-name = "camera_ldo"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-enable-ramp-delay = <135>; enable-active-high; gpio = <&pm6150l_gpios 3 0>; pinctrl-names = "default"; pinctrl-0 = <&cam_sensor_dvdd_en>; vin-supply = <&pm6150l_s8>; }; }; &cam_cci { qcom,cam-res-mgr { compatible = "qcom,cam-res-mgr"; status = "ok"; }; qcom,cam-sensor@0 { cell-index = <0>; compatible = "qcom,cam-sensor"; reg = <0x0>; csiphy-sd-index = <0>; sensor-position-roll = <90>; sensor-position-pitch = <0>; sensor-position-yaw = <180>; cam_vio-supply = <&pm6150_l13>; cam_vana-supply = <&pm6150l_l4>; cam_vdig-supply = <&camera_ldo>; cam_clk-supply = <&titan_top_gdsc>; regulator-names = "cam_vio", "cam_vana", "cam_vdig", "cam_clk"; rgltr-cntrl-support; rgltr-min-voltage = <1800000 2850000 1200000 0>; rgltr-max-voltage = <1800000 2850000 1200000 0>; rgltr-load-current = <0 80000 105000 0>; gpio-no-mux = <0>; pinctrl-names = "cam_default", "cam_suspend"; pinctrl-0 = <&cam_sensor_mclk0_active &cam_sensor_rear_active>; pinctrl-1 = <&cam_sensor_mclk0_suspend &cam_sensor_rear_suspend>; gpios = <&tlmm 28 0>, <&tlmm 47 0>; gpio-reset = <1>; gpio-req-tbl-num = <0 1>; gpio-req-tbl-flags = <1 0>; gpio-req-tbl-label = "CAMIF_MCLK0", "CAM_RESET0"; sensor-mode = <0>; cci-master = <0>; status = "ok"; clocks = <&clock_camcc CAM_CC_MCLK0_CLK>; clock-names = "cam_clk"; clock-cntl-level = "turbo"; clock-rates = <24000000>; }; }; arch/arm64/boot/dts/qcom/qcs610-iot-overlay.dts +2 −0 Original line number Original line Diff line number Diff line Loading @@ -13,6 +13,8 @@ /dts-v1/; /dts-v1/; /plugin/; /plugin/; #include <dt-bindings/clock/qcom,camcc-sm6150.h> #include "qcs610-iot.dtsi" #include "qcs610-iot.dtsi" / { / { Loading arch/arm64/boot/dts/qcom/qcs610-iot.dtsi +1 −0 Original line number Original line Diff line number Diff line Loading @@ -17,6 +17,7 @@ #include "sm6150-sde.dtsi" #include "sm6150-sde.dtsi" #include "sm6150-sde-pll.dtsi" #include "sm6150-sde-pll.dtsi" #include "sm6150-sde-display.dtsi" #include "sm6150-sde-display.dtsi" #include "qcs610-camera-sensor-idp.dtsi" / { / { model = "Qualcomm Technologies, Inc. QCS610 IOT"; model = "Qualcomm Technologies, Inc. QCS610 IOT"; Loading Loading
arch/arm64/boot/dts/qcom/qcs610-camera-sensor-idp.dtsi 0 → 100644 +75 −0 Original line number Original line Diff line number Diff line /* * Copyright (c) 2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ &soc { camera_ldo: gpio-regulator@0 { compatible = "regulator-fixed"; reg = <0x00 0x00>; regulator-name = "camera_ldo"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-enable-ramp-delay = <135>; enable-active-high; gpio = <&pm6150l_gpios 3 0>; pinctrl-names = "default"; pinctrl-0 = <&cam_sensor_dvdd_en>; vin-supply = <&pm6150l_s8>; }; }; &cam_cci { qcom,cam-res-mgr { compatible = "qcom,cam-res-mgr"; status = "ok"; }; qcom,cam-sensor@0 { cell-index = <0>; compatible = "qcom,cam-sensor"; reg = <0x0>; csiphy-sd-index = <0>; sensor-position-roll = <90>; sensor-position-pitch = <0>; sensor-position-yaw = <180>; cam_vio-supply = <&pm6150_l13>; cam_vana-supply = <&pm6150l_l4>; cam_vdig-supply = <&camera_ldo>; cam_clk-supply = <&titan_top_gdsc>; regulator-names = "cam_vio", "cam_vana", "cam_vdig", "cam_clk"; rgltr-cntrl-support; rgltr-min-voltage = <1800000 2850000 1200000 0>; rgltr-max-voltage = <1800000 2850000 1200000 0>; rgltr-load-current = <0 80000 105000 0>; gpio-no-mux = <0>; pinctrl-names = "cam_default", "cam_suspend"; pinctrl-0 = <&cam_sensor_mclk0_active &cam_sensor_rear_active>; pinctrl-1 = <&cam_sensor_mclk0_suspend &cam_sensor_rear_suspend>; gpios = <&tlmm 28 0>, <&tlmm 47 0>; gpio-reset = <1>; gpio-req-tbl-num = <0 1>; gpio-req-tbl-flags = <1 0>; gpio-req-tbl-label = "CAMIF_MCLK0", "CAM_RESET0"; sensor-mode = <0>; cci-master = <0>; status = "ok"; clocks = <&clock_camcc CAM_CC_MCLK0_CLK>; clock-names = "cam_clk"; clock-cntl-level = "turbo"; clock-rates = <24000000>; }; };
arch/arm64/boot/dts/qcom/qcs610-iot-overlay.dts +2 −0 Original line number Original line Diff line number Diff line Loading @@ -13,6 +13,8 @@ /dts-v1/; /dts-v1/; /plugin/; /plugin/; #include <dt-bindings/clock/qcom,camcc-sm6150.h> #include "qcs610-iot.dtsi" #include "qcs610-iot.dtsi" / { / { Loading
arch/arm64/boot/dts/qcom/qcs610-iot.dtsi +1 −0 Original line number Original line Diff line number Diff line Loading @@ -17,6 +17,7 @@ #include "sm6150-sde.dtsi" #include "sm6150-sde.dtsi" #include "sm6150-sde-pll.dtsi" #include "sm6150-sde-pll.dtsi" #include "sm6150-sde-display.dtsi" #include "sm6150-sde-display.dtsi" #include "qcs610-camera-sensor-idp.dtsi" / { / { model = "Qualcomm Technologies, Inc. QCS610 IOT"; model = "Qualcomm Technologies, Inc. QCS610 IOT"; Loading