ARM: sun5i: chip: enable battery power supply subnode
authorQuentin Schulz <quentin.schulz@free-electrons.com>
Tue, 18 Apr 2017 07:34:21 +0000 (09:34 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 14 May 2017 06:32:32 +0000 (08:32 +0200)
The NextThing Co. CHIP has an AXP209 PMIC with battery connector.

This enables the battery power supply subnode.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun5i-r8-chip.dts

index d0785602663ba5e9d09d376604230f49ad2e0c06..879a4b0f3bd5b3171e8f225e7099c6be59b1edf1 100644 (file)
        status = "okay";
 };
 
+&battery_power_supply {
+       status = "okay";
+};
+
 &i2c1 {
        pinctrl-names = "default";
        pinctrl-0 = <&i2c1_pins_a>;