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

Commit 0942c8e1 authored by Jeevan Shriram's avatar Jeevan Shriram
Browse files

ARM: dts: msm: Add PWM backlight support for msm8992



Enable PWM backlight through PMI gpio and lpg channel.

Change-Id: I0ee26775ecbcee8b398fce4675c51ea915dd4586
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent 07c7432a
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -285,6 +285,15 @@
		status = "okay";
	};

	gpio@cd00 { /* GPIO 14 */
		qcom,mode = <1>;
		qcom,pull = <5>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
		qcom,master-en = <1>;
		status = "okay";
	};

	gpio@ce00 { /* GPIO 15 */
		qcom,mode = <1>;
		qcom,output-type = <0>;
@@ -407,11 +416,27 @@
	};
};

&pmi8994_pwm_4 {
	qcom,channel-owner = "lcd_bl";
	qcom,lpg-dtest-line = <4>;
	qcom,dtest-output = <1>;
	status = "okay";
};

&pmi8994_charger {
	qcom,charging-disabled;
};

&pmi8994_mpps {
	mpp@a000 { /* MPP 1 */
		qcom,mode = <1>;        /* DIGITAL OUT */
		qcom,output-type = <0>; /* CMOS logic */
		qcom,vin-sel = <2>;     /* S4 1.8V */
		qcom,src-sel = <7>;
		qcom,master-en = <1>;
		status = "okay";
	};

	mpp@a300 { /* MPP 4 */
		/* WLED FET */
		qcom,mode = <1>;	/* DIGITAL OUT */