Unverified Commit a24270af authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard
Browse files

arm64: dts: allwinner: a64: Enable PMIC power supplies on various boards



On these A64 devices, the DC input jacks are wired to the ACIN pins of
the PMIC, which is represented by the AC power supply. With the
exception of the Nanopi A64, all devices include LiPo batteries or have
connectors for them, which are represented by the battery power supply.

Enable these power supplies in the device tree.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@bootlin.com>
parent 25f6f54f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -222,6 +222,14 @@

#include "axp803.dtsi"

&ac_power_supply {
	status = "okay";
};

&battery_power_supply {
	status = "okay";
};

&reg_aldo1 {
	/*
	 * This regulator also drives the PE pingroup GPIOs,
+4 −0
Original line number Diff line number Diff line
@@ -186,6 +186,10 @@

#include "axp803.dtsi"

&ac_power_supply {
	status = "okay";
};

&reg_aldo2 {
	regulator-always-on;
	regulator-min-microvolt = <1800000>;
+8 −0
Original line number Diff line number Diff line
@@ -177,6 +177,14 @@

#include "axp803.dtsi"

&ac_power_supply {
	status = "okay";
};

&battery_power_supply {
	status = "okay";
};

&reg_aldo1 {
	regulator-always-on;
	regulator-min-microvolt = <2800000>;
+8 −0
Original line number Diff line number Diff line
@@ -193,6 +193,14 @@

#include "axp803.dtsi"

&ac_power_supply {
	status = "okay";
};

&battery_power_supply {
	status = "okay";
};

&reg_aldo1 {
	regulator-min-microvolt = <2800000>;
	regulator-max-microvolt = <2800000>;
+8 −0
Original line number Diff line number Diff line
@@ -169,6 +169,14 @@

#include "axp803.dtsi"

&ac_power_supply {
	status = "okay";
};

&battery_power_supply {
	status = "okay";
};

&reg_aldo2 {
	regulator-always-on;
	regulator-min-microvolt = <1800000>;