* [PATCH] arm64: dts: allwinner: h616: Add CPU cooling map
@ 2026-11-04 18:54 Jernej Skrabec
2026-11-09 16:55 ` Chen-Yu Tsai
0 siblings, 1 reply; 2+ messages in thread
From: Jernej Skrabec @ 2026-11-04 18:54 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Chen-Yu Tsai,
Samuel Holland
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel, Jernej Skrabec
The CPU thermal zone has passive trip points, but no cooling map, so
nothing throttles the CPUs and only the critical trip point ever acts,
by shutting the system down. Throttle the CPUs above the 70 C trip
point.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
---
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
index c6b3a3f8359a..e4e0b999473e 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi
@@ -1105,6 +1105,16 @@ cpu_critical: cpu-trip-2 {
hysteresis = <0>;
};
};
+
+ cooling-maps {
+ map0 {
+ trip = <&cpu_target>;
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
};
gpu-thermal {
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: allwinner: h616: Add CPU cooling map
2026-11-04 18:54 [PATCH] arm64: dts: allwinner: h616: Add CPU cooling map Jernej Skrabec
@ 2026-11-09 16:55 ` Chen-Yu Tsai
0 siblings, 0 replies; 2+ messages in thread
From: Chen-Yu Tsai @ 2026-11-09 16:55 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Samuel Holland,
Jernej Skrabec
Cc: devicetree, linux-arm-kernel, linux-sunxi, linux-kernel
On Wed, 04 Nov 2026 19:54:21 +0100, Jernej Skrabec wrote:
> The CPU thermal zone has passive trip points, but no cooling map, so
> nothing throttles the CPUs and only the critical trip point ever acts,
> by shutting the system down. Throttle the CPUs above the 70 C trip
> point.
>
>
Applied to sunxi/dt-for-7.5 in sunxi, thanks!
[1/1] arm64: dts: allwinner: h616: Add CPU cooling map
https://git.kernel.org/sunxi/linux/c/a7f6e476aaed
Best regards,
--
Chen-Yu Tsai <wens@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-09 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-04 18:54 [PATCH] arm64: dts: allwinner: h616: Add CPU cooling map Jernej Skrabec
2026-11-09 16:55 ` Chen-Yu Tsai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®