[PATCH 4/4] ARM: dts: sunxi: add ac-power to A20 OLinuXino Lime2 board

Michael Haas
2016-04-03T13:15:07Z

The A20-olinuxino-lime2 has an AC power input.
This patch enables support for current and voltage monitoring
via the axp20x-ac-power driver.

Signed-off-by: Michael Haas <haas-bdq14YP6qtSV9CzYT+GlPGD2FQJk+8+b@public.gmane.org>
---
arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 9303635..ed83365 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -166,6 +166,10 @@
usb_power_supply: usb_power_supply {
compatible = "x-powers,axp202-usb-power-supply";
};
+ ac_power_supply: ac_power_supply {
+ status = "okay";
+ compatible = "x-powers,axp202-ac-power-supply";
+ };
};
};

--
2.8.0