Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 570424f4 authored by Vandana Jain's avatar Vandana Jain Committed by Chetan C R
Browse files

msm: camera: dtsi: arm camera gpio config for sdm660



Changing the gpio config for camera in sdm660.

Change-Id: I49818735d5f8b3c55b62a226af1512ee37e3b83e
Signed-off-by: default avatarVandana Jain <vandja@codeaurora.org>
Signed-off-by: default avatarChetan C R <cchinnad@codeaurora.org>
parent 11ae02d0
Loading
Loading
Loading
Loading
+18 −17
Original line number Diff line number Diff line
@@ -57,6 +57,8 @@
		regulator-max-microvolt = <1350000>;
		enable-active-high;
		gpio = <&pm660l_gpios 3 0>;
		pinctrl-names = "default";
		pinctrl-0 = <&cam_sensor_eldo3_default>;
		vin-supply = <&pm660_s5>;
	};

@@ -67,6 +69,8 @@
		regulator-max-microvolt = <1350000>;
		enable-active-high;
		gpio = <&pm660l_gpios 4 0>;
		pinctrl-names = "default";
		pinctrl-0 = <&cam_sensor_eldo4_default>;
		vin-supply = <&pm660_s5>;
	};
};
@@ -416,23 +420,20 @@
};

&pm660l_gpios {
	gpio@c300 { /* GPIO4 -CAMERA SENSOR 0 VDIG*/
		qcom,mode = <1>;                /* Output */
		qcom,pull = <5>;                /* No Pull */
		qcom,vin-sel = <0>;             /* VIN1 GPIO_LV */
		qcom,src-sel = <0>;             /* GPIO */
		qcom,invert = <0>;              /* Invert */
		qcom,master-en = <1>;           /* Enable GPIO */
		status = "ok";
	cam_sensor_eldo3 {
		cam_sensor_eldo3_default: cam_sensor_eldo3_default {
			pins = "gpio3";
			function = "normal";
			output-high;
			bias-disable;
		};
	};
	cam_sensor_eldo4 {
		cam_sensor_eldo4_default: cam_sensor_eldo4_default {
			pins = "gpio4";
			function = "normal";
			output-low;
			bias-disable;
		};

	gpio@c200 { /* GPIO3 -CAMERA SENSOR 2 VDIG*/
		qcom,mode = <1>;                /* Output */
		qcom,pull = <5>;                /* No Pull */
		qcom,vin-sel = <0>;             /* VIN1 GPIO_LV */
		qcom,src-sel = <0>;             /* GPIO */
		qcom,invert = <0>;              /* Invert */
		qcom,master-en = <1>;           /* Enable GPIO */
		status = "ok";
	};
};