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

Commit 0ec585df authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: Configure PM8084 GPIO8 to output LPG4 on 8974 Pro AC MTP



PMA8084 GPIO8 on 8974 Pro AC MTP should be configured as special
function 1 output. This gpio drives the backlight control of the DSI
panel.

Change-Id: Ib5785d2a03d7fc3cc11475610830d6c0d7981d81
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 3f83af4c
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -208,9 +208,13 @@
	};

	gpio@c700 { /* GPIO 8 */
		/* Unused */
		qcom,mode = <0>;		/* Digital input */
		qcom,pull = <0>;		/* Pull up 30 uA */
		/* 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 3 */
		qcom,out-strength = <3>;	/* High drive strength */
		qcom,master-en = <1>;
	};