ARM: dts: ux500: Disable charging on HREF boards
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 17 Apr 2023 07:56:59 +0000 (09:56 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 17 May 2023 06:55:19 +0000 (08:55 +0200)
The HREF boards are usually used without battery and not
using active charging. Disable it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230417075659.3162603-1-linus.walleij@linaro.org
arch/arm/boot/dts/ste-href-ab8500.dtsi

index 9fa0249..e1de9d3 100644 (file)
                                                };
                                        };
                                };
+                               /*
+                                * 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";
+                               };
                        };
                };
        };