From 0a03767e9a73cd919eb9fff40582e7a3d9232c6d Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Mon, 17 Apr 2023 09:56:59 +0200 Subject: [PATCH] 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 --- arch/arm/boot/dts/ste-href-ab8500.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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"; + }; }; }; }; -- 2.7.4