]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
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 5780713b0dba079f62d4b58097862efa09f20d0a..3776f168d023507c4f522019001fcd03a02d2396 100644 (file)
 
 #include "axp803.dtsi"
 
-&ac_power_supply {
-       status = "okay";
-};
-
 &battery_power_supply {
        status = "okay";
 };