Skip to contentSkip to conversation

ARM: sun7i: dts: enable battery power supply subnode on cubietruck

PATCH Applied Alexander Syring 2 participants 2 messages Jul 5, 2017 – Jul 6, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: sun7i: dts: enable battery power supply subnode on cubietruck

The Cubietruck has an AXP209 PMIC with battery connector.

This enables the battery power supply subnode.

---
 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/sun7i-a20-cubietruck.dts +4 -0
index 102903e83bd2..13bbf2361f9c 100644
@@ -271,6 +271,10 @@
 	status = "okay";
 };
 
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_dcdc2 {
 	regulator-always-on;
 	regulator-min-microvolt = <1000000>;
Signature · 1 line
2.11.0
#1 lore raw
Quoted 5 lines · Alexander Syring

The Cubietruck has an AXP209 PMIC with battery connector.

This enables the battery power supply subnode.

Queued for 4.14, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170706/bcae5457/attachment.sig>