From: Linus Walleij Date: Mon, 17 Apr 2023 07:56:59 +0000 (+0200) Subject: ARM: dts: ux500: Disable charging on HREF boards X-Git-Tag: v6.6.17~4534^2~38^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a03767e9a73cd919eb9fff40582e7a3d9232c6d;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: ux500: Disable charging on HREF boards The HREF boards are usually used without battery and not using active charging. Disable it. Signed-off-by: Linus Walleij Link: https://lore.kernel.org/r/20230417075659.3162603-1-linus.walleij@linaro.org --- diff --git a/arch/arm/boot/dts/ste-href-ab8500.dtsi b/arch/arm/boot/dts/ste-href-ab8500.dtsi index 9fa0249..e1de9d3 100644 --- a/arch/arm/boot/dts/ste-href-ab8500.dtsi +++ b/arch/arm/boot/dts/ste-href-ab8500.dtsi @@ -418,6 +418,24 @@ }; }; }; + /* + * Charging is not working on the HREF unless an actual battery is + * mounted, most HREFs have a DC cable in to the "battery power" + * which means this will only be cofusing. So do not enable charging + * of the HREFs. + */ + ab8500_fg { + status = "disabled"; + }; + ab8500_btemp { + status = "disabled"; + }; + ab8500_charger { + status = "disabled"; + }; + ab8500_chargalg { + status = "disabled"; + }; }; }; };