summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVijay kumar Tumati <vtumati@codeaurora.org>2017-08-29 21:54:30 +0530
committerVijay kumar Tumati <vtumati@codeaurora.org>2017-09-01 15:18:22 +0530
commit20e67d37cec7a92f8556df8dfb4690ad3577efb4 (patch)
tree54b1571a620b74a69fecb9f8a48f2d3f04f37ee1 /arch
parent0d617edc010f86e7df529fe2b30b1b12ffdcee58 (diff)
ARM: dts: msm: enable camera on SDM636 MTP
Use board specific configuration to enable voltage supply to camera actuators Change-Id: I25fc1f0dc75a3acecd9b751029ed28b6db6ac97a Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/qcom/sdm636-camera-sensor-mtp.dtsi50
-rw-r--r--arch/arm/boot/dts/qcom/sdm636-mtp.dtsi1
2 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/sdm636-camera-sensor-mtp.dtsi b/arch/arm/boot/dts/qcom/sdm636-camera-sensor-mtp.dtsi
new file mode 100644
index 000000000000..ab6a7aebd6b9
--- /dev/null
+++ b/arch/arm/boot/dts/qcom/sdm636-camera-sensor-mtp.dtsi
@@ -0,0 +1,50 @@
+/*
+ * 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.
+ */
+
+&cci {
+ actuator0: qcom,actuator@0 {
+ cell-index = <0>;
+ reg = <0x0>;
+ compatible = "qcom,actuator";
+ qcom,cci-master = <0>;
+ cam_vaf-supply = <&pm660l_l8>;
+ qcom,cam-vreg-name = "cam_vaf";
+ qcom,cam-vreg-min-voltage = <2800000>;
+ qcom,cam-vreg-max-voltage = <3400000>;
+ qcom,cam-vreg-op-mode = <100000>;
+ };
+
+ actuator1: qcom,actuator@1 {
+ cell-index = <1>;
+ reg = <0x1>;
+ compatible = "qcom,actuator";
+ qcom,cci-master = <1>;
+ cam_vaf-supply = <&pm660l_l8>;
+ qcom,cam-vreg-name = "cam_vaf";
+ qcom,cam-vreg-min-voltage = <2800000>;
+ qcom,cam-vreg-max-voltage = <3400000>;
+ qcom,cam-vreg-op-mode = <100000>;
+ };
+
+ actuator2: qcom,actuator@2 {
+ cell-index = <2>;
+ reg = <0x2>;
+ compatible = "qcom,actuator";
+ qcom,cci-master = <1>;
+ cam_vaf-supply = <&pm660l_l8>;
+ qcom,cam-vreg-name = "cam_vaf";
+ qcom,cam-vreg-min-voltage = <2800000>;
+ qcom,cam-vreg-max-voltage = <3400000>;
+ qcom,cam-vreg-op-mode = <100000>;
+ };
+};
diff --git a/arch/arm/boot/dts/qcom/sdm636-mtp.dtsi b/arch/arm/boot/dts/qcom/sdm636-mtp.dtsi
index 4364db2bc724..1885acfbaeac 100644
--- a/arch/arm/boot/dts/qcom/sdm636-mtp.dtsi
+++ b/arch/arm/boot/dts/qcom/sdm636-mtp.dtsi
@@ -11,6 +11,7 @@
*/
#include "sdm660-mtp.dtsi"
+#include "sdm636-camera-sensor-mtp.dtsi"
/ {
};