Skip to contentSkip to conversation

ARM: dts: sun8i: reference tablet design: Enable PMIC power supplies

PATCH Applied Chen-Yu Tsai 2 participants 2 messages Mar 12, 2018

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

PATCH 1/1 ARM: dts: sun8i: reference tablet design: Enable PMIC power supplies

The A23/A33 reference tablet design has a DC barrel tied to the ACIN of the PMIC. And being a tablet, it has a Li-Po battery.

Enable both power supplies in the device tree.

---
 arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi +8 -0
index f51f37cc721d..880096c7e252 100644
@@ -124,6 +124,14 @@
 
 #include "axp223.dtsi"
 
+&ac_power_supply {
+	status = "okay";
+};
+
+&battery_power_supply {
+	status = "okay";
+};
+
 &reg_aldo1 {
 	regulator-always-on;
 	regulator-min-microvolt = <3000000>;
Signature · 1 line
2.16.2
#1 lore raw
Quoted 6 lines · Chen-Yu Tsai

The A23/A33 reference tablet design has a DC barrel tied to the ACIN of the PMIC. And being a tablet, it has a Li-Po battery.

Enable both power supplies in the device tree.

Applied, thanks!
Maxime

Signature · 10 lines
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180312/299fb73c/attachment.sig>