[PATCH 3/5] ARM: dts: sun5i: q8-tablet: Add LCD Panel enable GPIO

From: Chen-Yu Tsai
Date: Sun Jan 27 2019 - 09:49:09 EST


Now that we support the AXP209 GPIOs, we can toggle the LCD panel enable
line. Add the GPIO phandle to the panel.

Signed-off-by: Chen-Yu Tsai <wens@xxxxxxxx>
---
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
index 3a844dae26f7..ead159f89e74 100644
--- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
+++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
@@ -50,7 +50,7 @@

panel: panel {
compatible = "urt,umsh-8596md-t", "simple-panel";
- /* TODO: lcd panel uses axp gpio0 as enable pin */
+ enable-gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>; /* AXP GPIO0 */
backlight = <&backlight>;
#address-cells = <1>;
#size-cells = <0>;
--
2.20.1