aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2019-01-27 22:48:37 +0800
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-01-28 11:52:42 +0100
commit64af290124fc067f248d1f667cd04e77578b4877 (patch)
tree740fba2c0c59623d7488e75ddfb8ac080808981c
parentARM: dts: sun5i: q8-tablet: Add LCD Panel enable GPIO (diff)
downloadlinux-dev-64af290124fc067f248d1f667cd04e77578b4877.tar.xz
linux-dev-64af290124fc067f248d1f667cd04e77578b4877.zip
ARM: dts: sun5i: q8-tablet: Add LCD Panel power supply
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>
-rw-r--r--arch/arm/boot/dts/sun5i-a13-q8-tablet.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
index ead159f89e74..c77c0758145a 100644
--- a/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
+++ b/arch/arm/boot/dts/sun5i-a13-q8-tablet.dts
@@ -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>;