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

Commit 232459db authored by Vandana Jain's avatar Vandana Jain Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable camera flash for sdm439 and sdm429

Enable camera flash for sdm439 and sdm429.

Change-Id: I3f17bf0721ef50984623e0383b1c39cbc8de64e1
parent dd987915
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@
		qcom,csiphy-sd-index = <0>;
		qcom,csid-sd-index = <0>;
		qcom,mount-angle = <270>;
		qcom,led-flash-src = </*&led_flash0 TODO*/>;
		qcom,led-flash-src = <&led_flash0>;
		qcom,eeprom-src = <&eeprom0>;
		qcom,actuator-src = <&actuator0>;
		cam_vana-supply = <&pm8953_l22>;
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@
		qcom,csiphy-sd-index = <0>;
		qcom,csid-sd-index = <0>;
		qcom,mount-angle = <270>;
		qcom,led-flash-src = </*&led_flash0 TODO*/>;
		qcom,led-flash-src = <&led_flash0>;
		qcom,eeprom-src = <&eeprom0>;
		qcom,actuator-src = <&actuator0>;
		cam_vana-supply = <&pm8953_l22>;
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@
		qcom,csiphy-sd-index = <0>;
		qcom,csid-sd-index = <0>;
		qcom,mount-angle = <90>;
		qcom,led-flash-src = </*&led_flash0 TODO*/>;
		qcom,led-flash-src = <&led_flash0>;
		qcom,eeprom-src = <&eeprom0>;
		qcom,actuator-src = <&actuator0>;
		cam_vana-supply = <&pm8953_l22>;
+11 −0
Original line number Diff line number Diff line
@@ -25,6 +25,17 @@
	qcom,ps-hold-shutdown-disable;
};

&soc {
	led_flash0: qcom,camera-flash {
		cell-index = <0>;
		compatible = "qcom,camera-flash";
		qcom,flash-type = <1>;
		qcom,flash-source = <&pmi632_flash0 &pmi632_flash1>;
		qcom,torch-source = <&pmi632_torch0 &pmi632_torch1>;
		qcom,switch-source = <&pmi632_switch0>;
	};
};

/ {
	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;