Loading arch/arm64/boot/dts/qcom/qcs605-lc-camera-sensor-mtp.dtsi 0 → 100644 +59 −0 Original line number Diff line number Diff line /* * Copyright (c) 2018, 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. */ &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 = <270>; sensor-position-pitch = <0>; sensor-position-yaw = <180>; cam_vio-supply = <&pm660_l11>; cam_vana-supply = <&pm660_l15>; cam_vdig-supply = <&pm660_l5>; cam_clk-supply = <&titan_top_gdsc>; regulator-names = "cam_vio", "cam_vana", "cam_vdig", "cam_clk"; rgltr-cntrl-support; rgltr-min-voltage = <1800000 2900000 1200000 0>; rgltr-max-voltage = <1800000 2900000 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 13 0>, <&tlmm 30 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/qcs605-lc-mtp.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ */ #include "qcs605-lc-pmic-overlay.dtsi" #include "qcs605-lc-camera-sensor-mtp.dtsi" &qupv3_se9_2uart { status = "disabled"; Loading Loading
arch/arm64/boot/dts/qcom/qcs605-lc-camera-sensor-mtp.dtsi 0 → 100644 +59 −0 Original line number Diff line number Diff line /* * Copyright (c) 2018, 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. */ &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 = <270>; sensor-position-pitch = <0>; sensor-position-yaw = <180>; cam_vio-supply = <&pm660_l11>; cam_vana-supply = <&pm660_l15>; cam_vdig-supply = <&pm660_l5>; cam_clk-supply = <&titan_top_gdsc>; regulator-names = "cam_vio", "cam_vana", "cam_vdig", "cam_clk"; rgltr-cntrl-support; rgltr-min-voltage = <1800000 2900000 1200000 0>; rgltr-max-voltage = <1800000 2900000 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 13 0>, <&tlmm 30 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/qcs605-lc-mtp.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ */ #include "qcs605-lc-pmic-overlay.dtsi" #include "qcs605-lc-camera-sensor-mtp.dtsi" &qupv3_se9_2uart { status = "disabled"; Loading