]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: renesas: sparrow-hawk: Update thermal trip points
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 14 Aug 2025 23:34:57 +0000 (01:34 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 18 Aug 2025 07:33:26 +0000 (09:33 +0200)
commit9471de64c9cc15a74e11eaa0c6156fe866ec11c3
treec2ac9695655671908a59faa67783504c61ff84d1
parent57875e1526987524efe5001ad6d198a4b145f54f
arm64: dts: renesas: sparrow-hawk: Update thermal trip points

Since the Sparrow Hawk has a smaller PCB than the White Hawk, it tends
to generate more heat. To prevent potential damage to the board, adjust
the temperature trip points.

Add four "passive" trip points which increasingly throttle the CPU to
prevent overheating. The first trip point at 68°C disables the 1.8 GHz
and 1.7 GHz modes and limits the CPU to 1.5 GHz frequency. The second
trip point at 72°C disables the 1.5 GHz mode and limits the CPU to 1.0
GHz frequency. The third trip point at 76°C uses thermal-idle to start
inserting idle cycles into the CPU instruction stream to cool the CPU
cores down. The fourth and last trip point at 80°C disables the 1.0 GHz
mode and limits the CPU to 500 MHz frequency.

In case the SoC heats up further, in case either of the thermal sensors
readings passes the 100°C, a thermal shutdown is triggered to prevent
any damage to the hardware.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Link: https://lore.kernel.org/20250814233529.191874-1-marek.vasut+renesas@mailbox.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dts