mvebu: enable thermal zone polling for IEI Puzzle devices
authorDaniel Golle <daniel@makrotopia.org>
Sun, 17 Mar 2024 15:55:09 +0000 (15:55 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 17 Mar 2024 19:37:14 +0000 (19:37 +0000)
commitfc177695e00e80afd30d20d29f6e915edc9e9eb9
tree0c18ba745cd1c8c144409ffa8e6b47a9c4c2703d
parent7ac030876cba4d84729fb5be8796fd5b2a05855f
mvebu: enable thermal zone polling for IEI Puzzle devices

Marvell's thermal sensors do not support interrupts, so we need to
poll them. Reading temperature every second should be enough to
control the fan.
While at it, also make sure fan speed is reduced again if temperature
goes down.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/puzzle-thermal.dtsi