[PATCH] arm64: dts: allwinner: a100: Add CPU thermal trips and cooling maps

Chen-Yu Tsai wens at kernel.org
Tue Nov 3 03:07:56 PST 2026


On Tue, Nov 3, 2026 at 5:09 PM Rajan Yadav via B4 Relay
<devnull+rajanyadav0307.gmail.com at kernel.org> wrote:
>
> From: Rajan Yadav <rajanyadav0307 at gmail.com>
>
> The CPU thermal zone in sun50i-a100.dtsi has a sensor but no trip
> points, so nothing throttles the CPU as it heats up and nothing shuts
> the system down before it overheats. On a KickPi K5C (A133) without a
> heatsink, the CPU reaches 90 C within minutes of full load.
>
> Add a passive trip at 90 C that throttles all four cores through
> cpufreq, and a critical trip at 110 C, using the same layout as
> sun50i-h6.dtsi.
>
> The temperatures come from the Allwinner BSP (sun50iw10p1.dtsi). The
> BSP drives this zone with the power allocator governor: control starts
> at 70 C, the target is 90 C, and 110 C is critical. The power
> allocator needs a power model of the CPUs (dynamic-power-coefficient),
> which the A100 does not have in mainline, so here the 90 C target

Does the downstream BSP have this? It would be nice if we could port
it over. Then you can properly use the power allocator and/or the
schedutil governor.

ChenYu



More information about the linux-arm-kernel mailing list