summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-ux500-samsung-golden.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2022-10-30 22:08:54 +0100
committerArnd Bergmann <arnd@arndb.de>2022-11-01 12:21:17 +0100
commitcd73adcdbad3d9e9923b045d3643409e9c148d17 (patch)
tree3db6e10e471a7eadd81134f6ac1e9e3d12f563b6 /arch/arm/boot/dts/ste-ux500-samsung-golden.dts
parentc872f6ce2212eeaae08134f08ae29d50a3b2dcf4 (diff)
ARM: dts: ux500: Add trips to battery thermal zones
Recent changes to the thermal framework has made the trip points (trips) for thermal zones compulsory, which made the Ux500 DTS files break validation and also stopped probing because of similar changes to the code. Fix this by adding an "outer bounding box": battery thermal zones should not get warmer than 70 degress, then we will shut down. Fixes: 8c596324232d ("dt-bindings: thermal: Fix missing required property") Fixes: 3fd6d6e2b4e8 ("thermal/of: Rework the thermal device tree initialization") Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: linux-pm@vger.kernel.org Link: https://lore.kernel.org/r/20221030210854.346662-1-linus.walleij@linaro.org' Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/ste-ux500-samsung-golden.dts')
-rw-r--r--arch/arm/boot/dts/ste-ux500-samsung-golden.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-ux500-samsung-golden.dts b/arch/arm/boot/dts/ste-ux500-samsung-golden.dts
index b0dce91aff4b..9604695edf53 100644
--- a/arch/arm/boot/dts/ste-ux500-samsung-golden.dts
+++ b/arch/arm/boot/dts/ste-ux500-samsung-golden.dts
@@ -35,6 +35,14 @@
polling-delay = <0>;
polling-delay-passive = <0>;
thermal-sensors = <&bat_therm>;
+
+ trips {
+ battery-crit-hi {
+ temperature = <70000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
};
};