From 01c283187e2617b949fd8ad54fa1a187625186d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dzieko=C5=84ski?= Date: Wed, 3 May 2023 12:10:01 +0000 Subject: [PATCH] arm64: dts: allwinner: h616: Fix thermal zones (add missing trips) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Dziekoński --- .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index 1af7b0557..cd88f527c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -825,6 +825,11 @@ type = "passive"; hysteresis = <0>; }; + cpu_temp_critical: trip-point@2 { + temperature = <110000>; + type = "critical"; + hysteresis = <0>; + }; }; cooling-maps { @@ -843,18 +848,42 @@ polling-delay = <1000>; thermal-sensors = <&ths 0>; sustainable-power = <1100>; + + trips { + gpu_temp_critical: trip-point@0 { + temperature = <110000>; + type = "critical"; + hysteresis = <0>; + }; + }; }; ve-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&ths 1>; + + trips { + ve_temp_critical: trip-point@0 { + temperature = <110000>; + type = "critical"; + hysteresis = <0>; + }; + }; }; ddr-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&ths 3>; + + trips { + ddr_temp_critical: trip-point@0 { + temperature = <110000>; + type = "critical"; + hysteresis = <0>; + }; + }; }; }; };