AM625: CPU thermal throttling

Part Number: AM625

Hello,

We have some problems at temperatures above 80°C to successful run our tests (stress tests, memtest and other) as we often run into a thermal hardware protection shutdown. We use a good cooling solution (heatsink + fan). I've seen that the frequency stays at the highest level even when it's close to critical temperature and it doesn't reduce the frequency to avoid shutdown, so it seems that there is no CPU thermal throttling available. Looking at arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi confirms that only the critical temperature is handled. We'd like to know why the AM62 doesn't do any throttling to prevent overheating before critical temperature is reached, if the CPU is capable of lowering its frequency (at least it changes when idle), and if there are plans to add such a thing?

[106.20] {2024-03-24-08:11:23} - INFO ---- INFO SOM BEGIN
[106.25] {2024-03-24-08:11:23} - INFO ---- SoC Temperature: 102791 degrees at /sys/devices/virtual/thermal/thermal_zone0
[106.28] {2024-03-24-08:11:23} - INFO ---- SoC Temperature: 102447 degrees at /sys/devices/virtual/thermal/thermal_zone1
current CPU frequency is 1.40 GHz (asserted by call to hardware). current CPU frequency is 1.40 GHz (asserted by call to hardware).
[106.35] {2024-03-24-08:11:23} - INFO ---- INFO SOM END
[  150.568410] thermal thermal_zone1: main1-thermal: critical temperature reached, shutting down
[  150.580367] reboot: HARDWARE PROTECTION shutdown (Temperature too high)

Thank you