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

Commit 5c4b82ab authored by Ilia Lin's avatar Ilia Lin
Browse files

ARM: dts: msm: Add display PMA GPIO config to SBC8084



Configure PMA GPIOs 7 and 9 to be the backlight PWMs.

Change-Id: I97f61cf9d5ea89f47a55dc8ff28cb548fb4c8047
Signed-off-by: default avatarIlia Lin <ilialin@codeaurora.org>
parent 077dfa98
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -334,7 +334,13 @@

	gpio@c600 { /* GPIO 7 */
		/* 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>;		/* Enable GPIO */
	};

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