LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [RESEND PATCH] ARM: dts: sun7i: olimex-lime2: Enable ac and power supplies
@ 2019-05-28  6:35 Priit Laes
  2019-05-28 12:58 ` [linux-sunxi] " Paul Kocialkowski
  2019-05-29  7:24 ` Maxime Ripard
  0 siblings, 2 replies; 4+ messages in thread
From: Priit Laes @ 2019-05-28  6:35 UTC (permalink / raw)
  To: Rob Herring, Mark Rutland, Maxime Ripard, Chen-Yu Tsai,
	devicetree, linux-arm-kernel, linux-kernel
  Cc: linux-sunxi, Priit Laes

Lime2 has battery connector so enable these supplies.

Signed-off-by: Priit Laes <plaes@plaes.org>
---
 arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
index 9c8eecf4337a..9001b5527615 100644
--- a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
+++ b/arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts
@@ -206,6 +206,14 @@
 
 #include "axp209.dtsi"
 
+&ac_power_supply {
+	status = "okay";
+};
+
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_dcdc2 {
 	regulator-always-on;
 	regulator-min-microvolt = <1000000>;
-- 
2.11.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-05-29  7:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28  6:35 [RESEND PATCH] ARM: dts: sun7i: olimex-lime2: Enable ac and power supplies Priit Laes
2019-05-28 12:58 ` [linux-sunxi] " Paul Kocialkowski
2019-05-28 13:43   ` Priit Laes
2019-05-29  7:24 ` Maxime Ripard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).