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 d5c796c..bcd4a89 100644 --- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts +++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts @@ -163,6 +163,10 @@ regulator-always-on; }; }; + 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