OSDN Git Service

ARM: dts: sun8i: reference tablet design: Enable PMIC power supplies
authorChen-Yu Tsai <wens@csie.org>
Mon, 12 Mar 2018 04:21:16 +0000 (12:21 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 12 Mar 2018 08:46:13 +0000 (09:46 +0100)
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.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-reference-design-tablet.dtsi

index d6bd158..2ac62b3 100644 (file)
 
 #include "axp223.dtsi"
 
+&ac_power_supply {
+       status = "okay";
+};
+
+&battery_power_supply {
+       status = "okay";
+};
+
 &reg_aldo1 {
        regulator-always-on;
        regulator-min-microvolt = <3000000>;