From: Linus Walleij Date: Mon, 17 Apr 2023 07:56:59 +0000 (+0200) Subject: ARM: dts: ux500: Disable charging on HREF boards X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0a03767e9a73cd919eb9fff40582e7a3d9232c6d;p=linux.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 9fa024900d534..e1de9d389a01b 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"; + }; }; }; };