From 9facdff6fb001b7a4e8cea395b89278fd49ca92f Mon Sep 17 00:00:00 2001 From: Robert Marko Date: Tue, 1 Sep 2026 12:00:31 +0200 Subject: [PATCH] airoha: fix AN7583 thermal sensor reference The AN7583 thermal provider declares #thermal-sensor-cells as zero, so its thermal zone must reference it without an additional sensor ID. The extra zero is parsed as another phandle and makes thermal zone lookup fail with -ENOENT. This also prevents unrelated hwmon sensors using HWMON_C_REGISTER_TZ from probing, even when they are not referenced by a thermal zone. Drop the invalid sensor ID from the CPU thermal zone reference. Signed-off-by: Robert Marko (cherry picked from commit 9550b20e42c35e78c52b443cde08e1aa20c69667) Link: https://github.com/openwrt/openwrt/pull/25090 Signed-off-by: Robert Marko --- 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 6bbc768469a..57840473c2f 100644 --- a/target/linux/airoha/dts/an7583.dtsi +++ b/target/linux/airoha/dts/an7583.dtsi @@ -264,7 +264,7 @@ polling-delay-passive = <1000>; polling-delay = <5000>; - thermal-sensors = <&thermal 0>; + thermal-sensors = <&thermal>; trips { cpu_hot: cpu-hot {