arm64: dts: juno: fix thermal zone node names
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 3 Jan 2024 14:20:51 +0000 (15:20 +0100)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 25 Mar 2024 15:00:20 +0000 (16:00 +0100)
Linux kernel uses thermal zone node name during registering thermal
zones and has a hard-coded limit of 20 characters, including terminating
NUL byte.  Exceeding the limit will cause failure to configure thermal
zone.

Reported-by: Rob Herring <robh@kernel.org>
Closes: https://lore.kernel.org/all/CAL_JsqKogbT_4DPd1n94xqeHaU_J8ve5K09WOyVsRX3jxxUW3w@mail.gmail.com/
Fixes: fb4d25d7a33f ("arm64: dts: juno: Align thermal zone names with bindings")
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20240103142051.111717-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/arm/juno-base.dtsi
arch/arm64/boot/dts/arm/juno-scmi.dtsi

index b897f5542c0a1c9b2adb72797327adf83bea90b9..98ed2b329ed61204672fe011a1b242c4d8ac5690 100644 (file)
                        };
                };
 
-               big_cluster_thermal_zone: big-cluster-thermal {
+               big_cluster_thermal_zone: big-cl-thermal {
                        polling-delay = <1000>;
                        polling-delay-passive = <100>;
                        thermal-sensors = <&scpi_sensors0 21>;
                        status = "disabled";
                };
 
-               little_cluster_thermal_zone: little-cluster-thermal {
+               little_cluster_thermal_zone: little-cl-thermal {
                        polling-delay = <1000>;
                        polling-delay-passive = <100>;
                        thermal-sensors = <&scpi_sensors0 22>;
index 31929e2377d8a41392ae159a2d0402d2d94bcd4a..f38c5b6ef65777366e2f3b086e3ba016ea450064 100644 (file)
                        thermal-sensors = <&scmi_sensors0 3>;
                };
 
-               big-cluster-thermal {
+               big-cl-thermal {
                        thermal-sensors = <&scmi_sensors0 21>;
                };
 
-               little-cluster-thermal {
+               little-cl-thermal {
                        thermal-sensors = <&scmi_sensors0 22>;
                };