From c8436595e4a945d8644302ddfc2fbb1516dbcec0 Mon Sep 17 00:00:00 2001 From: Jianqun Xu Date: Wed, 8 Feb 2023 15:43:05 +0800 Subject: [PATCH] ARM: dts: rockchip: rk3288 fix thermal node name to 'soc-thermal' Fixes: 043ddfca3f2e ("ARM: dts: rockchip: rk3288: add operating-points-v2 for cpu nodes") The pvtm driver will find a thermal by name of the thermal node. This patch fixes a issue as following: [ 5.215126] cpu cpu0: failed to read out thermal zone (-22) [ 5.221562] thermal thermal_zone1: binding zone cpu_thermal with cdev thermal-cpufreq-0 failed:-17 Signed-off-by: Jianqun Xu Change-Id: I475e4035ab797f9d374feaddce8fda68af0d522c --- arch/arm/boot/dts/rk3288.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 2ed45b0d03d2..e764a7e6ae9a 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -154,7 +154,7 @@ rockchip,pvtm-error = <1000>; rockchip,pvtm-ref-temp = <35>; rockchip,pvtm-temp-prop = <(-18) (-18)>; - rockchip,thermal-zone = "soc-thermal"; + rockchip,thermal-zone = "cpu-thermal"; opp-126000000 { opp-hz = /bits/ 64 <126000000>; @@ -611,7 +611,7 @@ thermal-sensors = <&tsadc 0>; }; - cpu_thermal: cpu_thermal { + cpu_thermal: cpu-thermal { polling-delay-passive = <100>; /* milliseconds */ polling-delay = <5000>; /* milliseconds */