]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun8i: a33: Enable PMIC power supplies on A33-OLinuXino
authorChen-Yu Tsai <wens@csie.org>
Mon, 12 Mar 2018 04:23:55 +0000 (12:23 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 12 Mar 2018 08:43:25 +0000 (09:43 +0100)
The A33-OLinuXino has a DC jack wired to the onboard PMIC's ACIN pins.
There is also a battery connector, wired to the PMIC's battery charger.

Enable the power supplies for both these components.

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

index 2723bb0221e79fdde7b7633e9ebe175014d7cb29..29573b513f7df415e3ba49baa1592cfff8f8b678 100644 (file)
@@ -102,6 +102,14 @@ axp22x: pmic@3a3 {
 
 #include "axp223.dtsi"
 
+&ac_power_supply {
+       status = "okay";
+};
+
+&battery_power_supply {
+       status = "okay";
+};
+
 &reg_aldo1 {
        regulator-always-on;
        regulator-min-microvolt = <3300000>;