ARM: dts: sun8i: a83t: Enable PMIC power supplies on various boards
authorChen-Yu Tsai <wens@csie.org>
Tue, 5 Feb 2019 15:00:39 +0000 (23:00 +0800)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 7 Feb 2019 15:51:13 +0000 (16:51 +0100)
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.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun8i-a83t-allwinner-h8homlet-v2.dts
arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts
arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts

index 1c012a4def16da475e07c09ace00dd26e796c81c..9c006fc188217e608a2356885ed6a0293e7f1b99 100644 (file)
 
 #include "axp81x.dtsi"
 
+&ac_power_supply {
+       status = "okay";
+};
+
 &reg_aldo1 {
        regulator-always-on;
        regulator-min-microvolt = <1800000>;
index 7d30d3e530fb03be7f10050ff251398d400c6dd7..838be7b3715fc07de9ed33b0907108e466a0f7c9 100644 (file)
 
 #include "axp81x.dtsi"
 
+&ac_power_supply {
+       status = "okay";
+};
+
+&battery_power_supply {
+       status = "okay";
+};
+
 &reg_aldo1 {
        regulator-always-on;
        regulator-min-microvolt = <1800000>;
index a5a9f5a0603e78efa761ee02179a37ea263dd274..fcbec3d7ccd78461a167edeb59e93e03a5cdfe7b 100644 (file)
 
 #include "axp81x.dtsi"
 
+&ac_power_supply {
+       status = "okay";
+};
+
+&battery_power_supply {
+       status = "okay";
+};
+
 &reg_aldo1 {
        regulator-always-on;
        regulator-min-microvolt = <1800000>;