ARM: dts: sun5i: q8-tablet: Add LCD Panel enable GPIO
authorChen-Yu Tsai <wens@csie.org>
Sun, 27 Jan 2019 14:48:36 +0000 (22:48 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 28 Jan 2019 10:52:27 +0000 (11:52 +0100)
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@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun5i-a13-q8-tablet.dts

index 3a844da..ead159f 100644 (file)
@@ -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>;