ARM: dts: sun8i: a83t: Enable PMIC power supplies on various boards
Subsystems (2)
PATCH 1/2 ARM: dts: sun8i: a83t: Enable PMIC power supplies on various boards
On the Bananapi M3 and Cubietruck Plus, the DC input jacks are wired to the ACIN pins, which is represented by the AC power supply. Both boards have connectors for LiPo batteries, which are represented by the battery power supply.
The H8 Homlet is a set-top box design. The DC input jack is wired to the ACIN pins, but there are no battery connectors.
Enable these power supplies in the device tree.
--- arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts | 4 ++++ arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 8 ++++++++ arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts | 8 ++++++++ 3 files changed, 20 insertions(+)
arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts +4 -0
@@ -154,6 +154,10 @@ #include "axp81x.dtsi" +&ac_power_supply { + status = "okay"; +}; + ®_aldo1 { regulator-always-on; regulator-min-microvolt = <1800000>;
arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts +8 -0
@@ -237,6 +237,14 @@ #include "axp81x.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + ®_aldo1 { regulator-always-on; regulator-min-microvolt = <1800000>;
arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts +8 -0
@@ -247,6 +247,14 @@ #include "axp81x.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + ®_aldo1 { regulator-always-on; regulator-min-microvolt = <1800000>;
Signature · 1 line
2.20.1
PATCH 2/2 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.
--- arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 8 ++++++++ arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts | 4 ++++ arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts | 8 ++++++++ arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts | 8 ++++++++ arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 8 ++++++++ arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts | 8 ++++++++ 6 files changed, 44 insertions(+)
arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts +8 -0
@@ -222,6 +222,14 @@ #include "axp803.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + ®_aldo1 { /* * This regulator also drives the PE pingroup GPIOs,
arch/arm64/boot/dts/allwinner/sun50i-a64-nanopi-a64.dts +4 -0
@@ -186,6 +186,10 @@ #include "axp803.dtsi" +&ac_power_supply { + status = "okay"; +}; + ®_aldo2 { regulator-always-on; regulator-min-microvolt = <1800000>;
arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino.dts +8 -0
@@ -177,6 +177,14 @@ #include "axp803.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + ®_aldo1 { regulator-always-on; regulator-min-microvolt = <2800000>;
arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts +8 -0
@@ -194,6 +194,14 @@ #include "axp803.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + ®_aldo1 { regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>;
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +8 -0
@@ -169,6 +169,14 @@ #include "axp803.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + ®_aldo2 { regulator-always-on; regulator-min-microvolt = <1800000>;
arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts +8 -0
@@ -145,6 +145,14 @@ #include "axp803.dtsi" +&ac_power_supply { + status = "okay"; +}; + +&battery_power_supply { + status = "okay"; +}; + ®_aldo1 { regulator-always-on; regulator-min-microvolt = <2800000>;
Signature · 1 line
2.20.1
Maxime Ripard
AppliedRe: [PATCH 2/2] arm64: dts: allwinner: a64: Enable PMIC power supplies on various boards
Quoted 8 lines · Chen-Yu Tsai
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 Chen-Yu Tsai <[email protected]>
Applied both, thanks!
Maxime
Signature · 3 lines
Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com