diff mbox series

arm64: dts: allwinner: a64: teres-i: enable power supplies

Message ID 20190130111158.7135-1-harald@ccbib.org (mailing list archive)
State Mainlined, archived
Commit 25f6f54ff025f17e573a473d1e4b0f58950b331e
Headers show
Series arm64: dts: allwinner: a64: teres-i: enable power supplies | expand

Commit Message

Harald Geyer Jan. 30, 2019, 11:11 a.m. UTC
TERES-I has ACIN connector and battery.

Signed-off-by: Harald Geyer <harald@ccbib.org>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Maxime Ripard Feb. 1, 2019, 12:56 p.m. UTC | #1
On Wed, Jan 30, 2019 at 11:11:58AM +0000, Harald Geyer wrote:
> TERES-I has ACIN connector and battery.
> 
> Signed-off-by: Harald Geyer <harald@ccbib.org>

Applied, thanks!
Maxime
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
index f9eede0a8bd3..7b7b14ba58e6 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts
@@ -145,6 +145,14 @@ 
 
 #include "axp803.dtsi"
 
+&ac_power_supply {
+	status = "okay";
+};
+
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_aldo1 {
 	regulator-always-on;
 	regulator-min-microvolt = <2800000>;