mvebu: puzzle-m90x: optimize thermal zone
authorDaniel Golle <daniel@makrotopia.org>
Thu, 21 Mar 2024 20:59:13 +0000 (20:59 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 21 Mar 2024 21:25:38 +0000 (21:25 +0000)
commit1a47ce5ff2f2db07fca8fc28801c0a78cbf19fe4
treeded372c1f71ff993d1dcae0e8dbe07d57f981641
parent879826154fd3e5ec353117a9c00cecf5e38c4a16
mvebu: puzzle-m90x: optimize thermal zone

 * have more defined PWM steps similar to the vendor's shell script doing
   the same thing
 * replace PWM values with experiencal values provided by forum users
 * increase hyteresis to prevent changing fan speed every second
   (just because it's annoying to listen to)
 * add 'hot' trip point at 75 deg. to warn users that shutdown is imminent

Tested on Puzzle M902 only for now, PWM values for Puzzle M901 might be
slightly different but should quite certainly also be rised.

Suggested-by: Martin Gierschner <martin_gierschner@gmx.de>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/cn9131-puzzle-m901.dts
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/cn9132-puzzle-m902.dts
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/puzzle-thermal.dtsi