Loading arch/arm64/boot/dts/qcom/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,7 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) sda670-pm660a-mtp-overlay.dtbo \ qcs605-cdp-overlay.dtbo \ qcs605-mtp-overlay.dtbo \ qcs605-360camera-overlay.dtbo \ qcs605-external-codec-mtp-overlay.dtbo \ qcs605-lc-mtp-overlay.dtbo Loading Loading @@ -156,6 +157,7 @@ qcs605-cdp-overlay.dtbo-base := qcs605.dtb qcs605-mtp-overlay.dtbo-base := qcs605.dtb qcs605-external-codec-mtp-overlay.dtbo-base := qcs605.dtb qcs605-lc-mtp-overlay.dtbo-base := qcs605.dtb qcs605-360camera-overlay.dtbo-base := qcs605.dtb else dtb-$(CONFIG_ARCH_SDM670) += sdm670-rumi.dtb \ Loading arch/arm64/boot/dts/qcom/qcs605-360camera-overlay.dts 0 → 100644 +34 −0 Original line number Diff line number Diff line /* * Copyright (c) 2017, 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. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,gcc-sdm845.h> #include <dt-bindings/clock/qcom,camcc-sdm845.h> #include <dt-bindings/clock/qcom,dispcc-sdm845.h> #include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "qcs605-360camera.dtsi" / { model = "Qualcomm Technologies, Inc. QCS605 PM660+PM660L 360camera"; compatible = "qcom,qcs605-mtp", "qcom,qcs605", "qcom,mtp"; qcom,msm-id = <347 0x0>; qcom,board-id = <0x0000000b 1>; qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>, <0x0001001b 0x0102001a 0x0 0x0>, <0x0001001b 0x0201011a 0x0 0x0>; }; arch/arm64/boot/dts/qcom/sdm670-camera-sensor-360camera.dtsi +225 −227 Original line number Diff line number Diff line Loading @@ -11,8 +11,7 @@ * GNU General Public License for more details. */ &soc { led_flash_rear: qcom,camera-flash@0 { &led_flash_rear { cell-index = <0>; reg = <0x00 0x00>; compatible = "qcom,camera-flash"; Loading @@ -22,7 +21,7 @@ status = "ok"; }; led_flash_front: qcom,camera-flash@1 { &led_flash_front { cell-index = <1>; reg = <0x01 0x00>; compatible = "qcom,camera-flash"; Loading @@ -32,7 +31,7 @@ status = "ok"; }; actuator_regulator: gpio-regulator@0 { &actuator_regulator { compatible = "regulator-fixed"; reg = <0x00 0x00>; regulator-name = "actuator_regulator"; Loading @@ -43,7 +42,7 @@ gpio = <&tlmm 27 0>; }; camera_ldo: gpio-regulator@2 { &camera_ldo { compatible = "regulator-fixed"; reg = <0x02 0x00>; regulator-name = "camera_ldo"; Loading @@ -57,7 +56,7 @@ vin-supply = <&pm660_s6>; }; camera_rear_ldo: gpio-regulator@1 { &camera_rear_ldo { compatible = "regulator-fixed"; reg = <0x01 0x00>; regulator-name = "camera_rear_ldo"; Loading @@ -71,7 +70,7 @@ vin-supply = <&pm660_s6>; }; camera_vio_ldo: gpio-regulator@3 { &camera_vio_ldo { compatible = "regulator-fixed"; reg = <0x03 0x00>; regulator-name = "camera_vio_ldo"; Loading @@ -85,7 +84,7 @@ vin-supply = <&pm660_s4>; }; camera_vana_ldo: gpio-regulator@4 { &camera_vana_ldo { compatible = "regulator-fixed"; reg = <0x04 0x00>; regulator-name = "camera_vana_ldo"; Loading @@ -98,10 +97,8 @@ pinctrl-0 = <&cam_sensor_rear_vana>; vin-supply = <&pm660l_bob>; }; }; &cam_cci { actuator_rear: qcom,actuator@0 { &actuator_rear { cell-index = <0>; reg = <0x0>; compatible = "qcom,actuator"; Loading @@ -114,7 +111,7 @@ rgltr-load-current = <0>; }; actuator_front: qcom,actuator@1 { &actuator_front { cell-index = <1>; reg = <0x1>; compatible = "qcom,actuator"; Loading @@ -127,7 +124,7 @@ rgltr-load-current = <0>; }; ois_rear: qcom,ois@0 { &ois_rear { cell-index = <0>; reg = <0x0>; compatible = "qcom,ois"; Loading @@ -141,7 +138,7 @@ status = "disabled"; }; eeprom_rear: qcom,eeprom@0 { &eeprom_rear { cell-index = <0>; reg = <0>; compatible = "qcom,eeprom"; Loading Loading @@ -178,7 +175,7 @@ clock-rates = <24000000>; }; eeprom_rear_aux: qcom,eeprom@1 { &eeprom_rear_aux { cell-index = <1>; reg = <0x1>; compatible = "qcom,eeprom"; Loading Loading @@ -215,7 +212,7 @@ clock-rates = <24000000>; }; eeprom_front: qcom,eeprom@2 { &eeprom_front { cell-index = <2>; reg = <0x2>; compatible = "qcom,eeprom"; Loading Loading @@ -252,6 +249,7 @@ clock-rates = <24000000>; }; &cam_cci { qcom,cam-sensor@0 { cell-index = <0>; compatible = "qcom,cam-sensor"; Loading Loading
arch/arm64/boot/dts/qcom/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -126,6 +126,7 @@ ifeq ($(CONFIG_BUILD_ARM64_DT_OVERLAY),y) sda670-pm660a-mtp-overlay.dtbo \ qcs605-cdp-overlay.dtbo \ qcs605-mtp-overlay.dtbo \ qcs605-360camera-overlay.dtbo \ qcs605-external-codec-mtp-overlay.dtbo \ qcs605-lc-mtp-overlay.dtbo Loading Loading @@ -156,6 +157,7 @@ qcs605-cdp-overlay.dtbo-base := qcs605.dtb qcs605-mtp-overlay.dtbo-base := qcs605.dtb qcs605-external-codec-mtp-overlay.dtbo-base := qcs605.dtb qcs605-lc-mtp-overlay.dtbo-base := qcs605.dtb qcs605-360camera-overlay.dtbo-base := qcs605.dtb else dtb-$(CONFIG_ARCH_SDM670) += sdm670-rumi.dtb \ Loading
arch/arm64/boot/dts/qcom/qcs605-360camera-overlay.dts 0 → 100644 +34 −0 Original line number Diff line number Diff line /* * Copyright (c) 2017, 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. */ /dts-v1/; /plugin/; #include <dt-bindings/clock/qcom,gcc-sdm845.h> #include <dt-bindings/clock/qcom,camcc-sdm845.h> #include <dt-bindings/clock/qcom,dispcc-sdm845.h> #include <dt-bindings/clock/qcom,rpmh.h> #include <dt-bindings/interrupt-controller/arm-gic.h> #include "qcs605-360camera.dtsi" / { model = "Qualcomm Technologies, Inc. QCS605 PM660+PM660L 360camera"; compatible = "qcom,qcs605-mtp", "qcom,qcs605", "qcom,mtp"; qcom,msm-id = <347 0x0>; qcom,board-id = <0x0000000b 1>; qcom,pmic-id = <0x0001001b 0x0101011a 0x0 0x0>, <0x0001001b 0x0102001a 0x0 0x0>, <0x0001001b 0x0201011a 0x0 0x0>; };
arch/arm64/boot/dts/qcom/sdm670-camera-sensor-360camera.dtsi +225 −227 Original line number Diff line number Diff line Loading @@ -11,8 +11,7 @@ * GNU General Public License for more details. */ &soc { led_flash_rear: qcom,camera-flash@0 { &led_flash_rear { cell-index = <0>; reg = <0x00 0x00>; compatible = "qcom,camera-flash"; Loading @@ -22,7 +21,7 @@ status = "ok"; }; led_flash_front: qcom,camera-flash@1 { &led_flash_front { cell-index = <1>; reg = <0x01 0x00>; compatible = "qcom,camera-flash"; Loading @@ -32,7 +31,7 @@ status = "ok"; }; actuator_regulator: gpio-regulator@0 { &actuator_regulator { compatible = "regulator-fixed"; reg = <0x00 0x00>; regulator-name = "actuator_regulator"; Loading @@ -43,7 +42,7 @@ gpio = <&tlmm 27 0>; }; camera_ldo: gpio-regulator@2 { &camera_ldo { compatible = "regulator-fixed"; reg = <0x02 0x00>; regulator-name = "camera_ldo"; Loading @@ -57,7 +56,7 @@ vin-supply = <&pm660_s6>; }; camera_rear_ldo: gpio-regulator@1 { &camera_rear_ldo { compatible = "regulator-fixed"; reg = <0x01 0x00>; regulator-name = "camera_rear_ldo"; Loading @@ -71,7 +70,7 @@ vin-supply = <&pm660_s6>; }; camera_vio_ldo: gpio-regulator@3 { &camera_vio_ldo { compatible = "regulator-fixed"; reg = <0x03 0x00>; regulator-name = "camera_vio_ldo"; Loading @@ -85,7 +84,7 @@ vin-supply = <&pm660_s4>; }; camera_vana_ldo: gpio-regulator@4 { &camera_vana_ldo { compatible = "regulator-fixed"; reg = <0x04 0x00>; regulator-name = "camera_vana_ldo"; Loading @@ -98,10 +97,8 @@ pinctrl-0 = <&cam_sensor_rear_vana>; vin-supply = <&pm660l_bob>; }; }; &cam_cci { actuator_rear: qcom,actuator@0 { &actuator_rear { cell-index = <0>; reg = <0x0>; compatible = "qcom,actuator"; Loading @@ -114,7 +111,7 @@ rgltr-load-current = <0>; }; actuator_front: qcom,actuator@1 { &actuator_front { cell-index = <1>; reg = <0x1>; compatible = "qcom,actuator"; Loading @@ -127,7 +124,7 @@ rgltr-load-current = <0>; }; ois_rear: qcom,ois@0 { &ois_rear { cell-index = <0>; reg = <0x0>; compatible = "qcom,ois"; Loading @@ -141,7 +138,7 @@ status = "disabled"; }; eeprom_rear: qcom,eeprom@0 { &eeprom_rear { cell-index = <0>; reg = <0>; compatible = "qcom,eeprom"; Loading Loading @@ -178,7 +175,7 @@ clock-rates = <24000000>; }; eeprom_rear_aux: qcom,eeprom@1 { &eeprom_rear_aux { cell-index = <1>; reg = <0x1>; compatible = "qcom,eeprom"; Loading Loading @@ -215,7 +212,7 @@ clock-rates = <24000000>; }; eeprom_front: qcom,eeprom@2 { &eeprom_front { cell-index = <2>; reg = <0x2>; compatible = "qcom,eeprom"; Loading Loading @@ -252,6 +249,7 @@ clock-rates = <24000000>; }; &cam_cci { qcom,cam-sensor@0 { cell-index = <0>; compatible = "qcom,cam-sensor"; Loading