From 1ea29a6f491a6918b77b63087c9867764f543d4c Mon Sep 17 00:00:00 2001 From: Yubo Zhang Date: Tue, 21 Jul 2026 14:51:09 +0800 Subject: [PATCH] airoha: an7583: adjust thermal polling delays The CPU thermal zone in an7583.dtsi sets the polling-delay-passive to 10000 ms while the polling-delay is 5000 ms. The thermal driver rejects zones whose passive polling delay is greater than the regular polling delay, causing thermal_zone0 registration to fail with -EINVAL. Reduce the passive polling delay to 1000 ms to fix thermal_zone0 registration. Boot log: thermal_sys: Failed to register thermal zone cpu-thermal: -22 ... register thermal zone sensor failed ... probe with driver airoha-thermal failed with error -22 Signed-off-by: Yubo Zhang Link: https://github.com/openwrt/openwrt/pull/24337 Signed-off-by: Jonas Jelonek --- target/linux/airoha/dts/an7583.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/airoha/dts/an7583.dtsi b/target/linux/airoha/dts/an7583.dtsi index d8c3ec7ec83..991054f850f 100644 --- a/target/linux/airoha/dts/an7583.dtsi +++ b/target/linux/airoha/dts/an7583.dtsi @@ -261,7 +261,7 @@ thermal-zones { cpu_thermal: cpu-thermal { - polling-delay-passive = <10000>; + polling-delay-passive = <1000>; polling-delay = <5000>; thermal-sensors = <&thermal 0>; -- 2.47.3