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@xxxxxxxxxxxxxxxxxxxx> --- 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html