arm64: dts: allwinner: pinephone: Remove AC power supply
authorSamuel Holland <samuel@sholland.org>
Thu, 5 Nov 2020 05:41:30 +0000 (23:41 -0600)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 5 Nov 2020 11:21:26 +0000 (12:21 +0100)
The AXP803 in the Pinephone has its ACIN and VBUS pins shorted together.
In this configuration, the VBUS control registers take priority over the
ACIN control registers, which means the ACIN sysfs knobs have no effect.
Remove the AC power supply from the DTS, since VBUS is really the only
power supply.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201105054135.24860-2-samuel@sholland.org
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi

index 5780713..3776f16 100644 (file)
 
 #include "axp803.dtsi"
 
-&ac_power_supply {
-       status = "okay";
-};
-
 &battery_power_supply {
        status = "okay";
 };