Add a node representing the ac power supply part of the axp209 pmic. This node is enabled by default. A device is likely to have an AC power connection. If the AC power is indeed absent, the ac power driver will simply report the power input as offline. Signed-off-by: Michael Haas <haas@xxxxxxxxxxxxxxxxxxxx> --- arch/arm/boot/dts/axp209.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi index 051ab3b..7deb7d9 100644 --- a/arch/arm/boot/dts/axp209.dtsi +++ b/arch/arm/boot/dts/axp209.dtsi @@ -90,8 +90,14 @@ }; }; + ac_power_supply: ac_power_supply { + compatible = "x-powers,axp202-ac-power-supply"; + status = "okay"; + }; + usb_power_supply: usb_power_supply { compatible = "x-powers,axp202-usb-power-supply"; status = "disabled"; }; + }; -- 2.8.2 -- 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