* [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck
@ 2017-07-05 8:30 Alexander Syring
2017-07-06 6:56 ` Maxime Ripard
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Syring @ 2017-07-05 8:30 UTC (permalink / raw)
To: linux-arm-kernel
The Cubietruck has an AXP209 PMIC with battery connector.
This enables the battery power supply subnode.
Signed-off-by: Alexander Syring <alex@asyring.de>
---
arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index 102903e83bd2..13bbf2361f9c 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -271,6 +271,10 @@
status = "okay";
};
+&battery_power_supply {
+ status = "okay";
+};
+
®_dcdc2 {
regulator-always-on;
regulator-min-microvolt = <1000000>;
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck
2017-07-05 8:30 [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck Alexander Syring
@ 2017-07-06 6:56 ` Maxime Ripard
0 siblings, 0 replies; 2+ messages in thread
From: Maxime Ripard @ 2017-07-06 6:56 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jul 05, 2017 at 10:30:20AM +0200, Alexander Syring wrote:
> The Cubietruck has an AXP209 PMIC with battery connector.
>
> This enables the battery power supply subnode.
>
> Signed-off-by: Alexander Syring <alex@asyring.de>
Queued for 4.14, thanks!
Maxime
--
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>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-06 6:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05 8:30 [PATCH] ARM: sun7i: dts: enable battery power supply subnode on cubietruck Alexander Syring
2017-07-06 6:56 ` Maxime Ripard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox