1 From aa3d6df9803c267725dc72286bb91602b7579882 Mon Sep 17 00:00:00 2001
2 From: Frank Wunderlich <frank-w@public-files.de>
3 Date: Sun, 20 Aug 2023 17:31:34 +0200
4 Subject: [PATCH 21/22] arm64: dts: mt7986: change cooling trips
6 Add Critical and hot trips for emergency system shutdown and limiting
9 Change passive trip to active to make sure fan is activated on the
12 Fixes: 1f5be05132f3 ("arm64: dts: mt7986: add thermal-zones")
13 Suggested-by: Daniel Golle <daniel@makrotopia.org>
14 Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
16 arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 20 ++++++++++++++++----
17 1 file changed, 16 insertions(+), 4 deletions(-)
19 --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
20 +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
22 thermal-sensors = <&thermal 0>;
25 + cpu_trip_crit: crit {
26 + temperature = <125000>;
27 + hysteresis = <2000>;
32 + temperature = <120000>;
33 + hysteresis = <2000>;
37 cpu_trip_active_high: active-high {
38 temperature = <115000>;
43 - cpu_trip_active_low: active-low {
44 + cpu_trip_active_med: active-med {
45 temperature = <85000>;
50 - cpu_trip_passive: passive {
51 - temperature = <40000>;
52 + cpu_trip_active_low: active-low {
53 + temperature = <60000>;