]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: sun6i: a31: hummingbird: Enable AXP221's ACIN power supply
authorChen-Yu Tsai <wens@csie.org>
Thu, 25 May 2017 07:31:37 +0000 (15:31 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 29 May 2017 06:51:36 +0000 (08:51 +0200)
The ACIN pins of the AXP221 PMIC on the A31 Hummingbird are tied to the
DC jack on the board through a 12V to 5V buck converter.

Enable the ACIN power supply.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun6i-a31-hummingbird.dts

index 55607208468b67f4683d66851b37702f31fa589b..9ecb5f0b3f83e889b2536dd7531a7c45e1fbc4d7 100644 (file)
@@ -253,6 +253,10 @@ axp22x: pmic@68 {
 
 #include "axp22x.dtsi"
 
+&ac_power_supply {
+       status = "okay";
+};
+
 &reg_aldo1 {
        regulator-min-microvolt = <3300000>;
        regulator-max-microvolt = <3300000>;