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

Commit bf76c709 authored by Viswanadha Raju Thotakura's avatar Viswanadha Raju Thotakura
Browse files

ARM: dts: msm: Add device tree node for LED flash



Add flash node to camera sensor in slot0 for 8994 MTP and CDP.

Change-Id: I5a1ddb2a616bad18c88f9c608bac2cfb6f234fa4
Signed-off-by: default avatarViswanadha Raju Thotakura <viswanad@codeaurora.org>
parent 19452a7a
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -11,6 +11,15 @@
 * GNU General Public License for more details.
 */

&soc {
	led_flash0: qcom,camera-led-flash {
		cell-index = <0>;
		compatible = "qcom,camera-led-flash";
		qcom,flash-type = <1>;
		qcom,flash-source = <&pmi8994_flash0 &pmi8994_flash1>;
		qcom,torch-source = <&pmi8994_torch0 &pmi8994_torch1>;
	};
};
&cci {
	actuator0: qcom,actuator@0 {
		cell-index = <0>;
@@ -46,6 +55,7 @@
		qcom,csid-sd-index = <0>;
		qcom,mount-angle = <90>;
		qcom,actuator-src = <&actuator0>;
		qcom,led-flash-src = <&led_flash0>;
		cam_vdig-supply = <&pm8994_l27>;
		cam_vio-supply = <&pm8994_lvs1>;
		cam_vana-supply = <&pm8994_l17>;
+10 −0
Original line number Diff line number Diff line
@@ -11,6 +11,15 @@
 * GNU General Public License for more details.
 */

&soc {
	led_flash0: qcom,camera-led-flash {
		cell-index = <0>;
		compatible = "qcom,camera-led-flash";
		qcom,flash-type = <1>;
		qcom,flash-source = <&pmi8994_flash0 &pmi8994_flash1>;
		qcom,torch-source = <&pmi8994_torch0 &pmi8994_torch1>;
	};
};
&cci {
	actuator0: qcom,actuator@0 {
		cell-index = <0>;
@@ -46,6 +55,7 @@
		qcom,csid-sd-index = <0>;
		qcom,mount-angle = <90>;
		qcom,actuator-src = <&actuator0>;
		qcom,led-flash-src = <&led_flash0>;
		cam_vdig-supply = <&pm8994_l27>;
		cam_vio-supply = <&pm8994_lvs1>;
		cam_vana-supply = <&pm8994_l17>;