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

Commit c2d6a213 authored by David Collins's avatar David Collins Committed by Stephen Boyd
Browse files

ARM: dts: msm: configure PMA8084 GPIO 8 for PWM output on msmsamarium CDP



Specify initial configuration values for PMA8084 GPIO 8 which
connect it to the LPG channel 4 PWM device.  This GPIO is
connected on the msmsamarium CDP board to a backlight LED
driver chip.

Change-Id: I3fb5a6f916d1272147d55e9b481d5f77ba3a5208
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 0c5f4f4e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -83,6 +83,13 @@

	gpio@c700 { /* GPIO 8 */
		/* Backlight PWM */
		qcom,mode = <1>;		/* Digital output */
		qcom,output-type = <0>;		/* CMOS logic */
		qcom,invert = <0>; 		/* Do not invert the output */
		qcom,vin-sel = <2>;		/* PMA8084 S4 = 1.8 V */
		qcom,src-sel = <2>; 		/* Special Function 1 = LPG 4 */
		qcom,out-strength = <3>;	/* High drive strength */
		qcom,master-en = <1>;
	};

	gpio@c800 { /* GPIO 9 */