]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun5i: q8-tablet: Add LCD Panel power supply
authorChen-Yu Tsai <wens@csie.org>
Sun, 27 Jan 2019 14:48:37 +0000 (22:48 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 28 Jan 2019 10:52:42 +0000 (11:52 +0100)
The A13 Q8 tablet, following the A13 reference tablet design, has the
system's fixed 3.3V rail feed the VCC supply of the LCD panel.
Additional voltage rails used by the panel are generated using a
regulator fed from the unregulated IPSOUT output of the PMIC. The latter
is unrepresentable in the device tree. Both are controlled with MOSFETs
by the enable GPIO added in the previous patch. The actual enable or
reset pin for the panel is tied directly to LCD-VCC after the MOSFET.

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 ead159f89e74db61d3ac9568c608a64edab04950..c77c0758145af9aa7275df5a8c5032d602b9cff9 100644 (file)
@@ -50,6 +50,7 @@ / {
 
        panel: panel {
                compatible = "urt,umsh-8596md-t", "simple-panel";
+               power-supply = <&reg_vcc3v3>;
                enable-gpios = <&axp_gpio 0 GPIO_ACTIVE_HIGH>; /* AXP GPIO0 */
                backlight = <&backlight>;
                #address-cells = <1>;