summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@free-electrons.com>2017-04-18 09:34:21 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-05-14 08:32:32 +0200
commitb9107d3798b8fdf6098be6672a5e181a35b918d0 (patch)
tree80d4a3d9a8392f515e12b227ed4bdb46785026d7 /arch/arm/boot
parentARM: dts: sun8i: sina33: enable battery power supply subnode (diff)
downloadlinux-b9107d3798b8fdf6098be6672a5e181a35b918d0.tar.xz
linux-b9107d3798b8fdf6098be6672a5e181a35b918d0.zip
ARM: sun5i: chip: enable battery power supply subnode
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/sun5i-r8-chip.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts
index d0785602663b..879a4b0f3bd5 100644
--- a/arch/arm/boot/dts/sun5i-r8-chip.dts
+++ b/arch/arm/boot/dts/sun5i-r8-chip.dts
@@ -132,6 +132,10 @@
status = "okay";
};
+&battery_power_supply {
+ status = "okay";
+};
+
&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins_a>;