mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-14 17:28:28 +04:00
The AQR113C PHYs run hot and sit away from the SoC sensor. Export the PHY hwmon sensor as a thermal sensor and add a thermal zone per AQR113C on all three boards. The zones drive the fan with trips at 108/104/100/90/80/40 C. Set critical-action "reboot" so a runaway zone restarts the board instead of an unclean thermal shutdown. Raise the trip hysteresis from 2 C to 4 C to stop the fan from cycling near a trip point. Stop passive polling; the zones use active cooling only. Signed-off-by: Chad Monroe <chad@monroe.io> Link: https://github.com/openwrt/openwrt/pull/24352 Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>