]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: qcom: fix thermal zones naming
authorDavid Heidelberg <david@ixit.cz>
Wed, 20 Oct 2021 18:00:01 +0000 (20:00 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sun, 24 Oct 2021 17:09:38 +0000 (12:09 -0500)
Rename thermal zones according to dt-schema.

Fix warnings like:
arch/arm/boot/dts/qcom-apq8064-cm-qs600.dt.yaml: thermal-zones: 'cpu-thermal0', 'cpu-thermal1', 'cpu-thermal2', 'cpu-thermal3' do not match any of the regexes: '^[a-zA-Z][a-zA-Z0-9\\-]{1,12}-thermal$', 'pinctrl-[0-9]+'
        From schema: Documentation/devicetree/bindings/thermal/thermal-zones.yaml

Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211020180002.195467-1-david@ixit.cz
arch/arm/boot/dts/qcom-apq8064.dtsi
arch/arm/boot/dts/qcom-apq8084.dtsi
arch/arm/boot/dts/qcom-ipq8064.dtsi
arch/arm/boot/dts/qcom-msm8974.dtsi

index 856494392eb4a0a52cb38c193097413bf235622b..030af538c025cccbd5d68c822d2474af083f435e 100644 (file)
        };
 
        thermal-zones {
-               cpu-thermal0 {
+               cpu0-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal1 {
+               cpu1-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal2 {
+               cpu2-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal3 {
+               cpu3-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
index bf6a03506b455f068ab646182ddd7e53a820383e..52240fc7a1a691d5c834e5ff92dece784c0a8dce 100644 (file)
        };
 
        thermal-zones {
-               cpu-thermal0 {
+               cpu0-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal1 {
+               cpu1-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal2 {
+               cpu2-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal3 {
+               cpu3-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
index 8ab3d38709f185cafe0916d42583889236b46a21..7f67b282da10a233cf5ba85fa408b62f4857b44e 100644 (file)
@@ -49,7 +49,7 @@
        };
 
        thermal-zones {
-               tsens_tz_sensor0 {
+               sensor0-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 0>;
@@ -69,7 +69,7 @@
                        };
                };
 
-               tsens_tz_sensor1 {
+               sensor1-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 1>;
@@ -89,7 +89,7 @@
                        };
                };
 
-               tsens_tz_sensor2 {
+               sensor2-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 2>;
                        };
                };
 
-               tsens_tz_sensor3 {
+               sensor3-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 3>;
                        };
                };
 
-               tsens_tz_sensor4 {
+               sensor4-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 4>;
                        };
                };
 
-               tsens_tz_sensor5 {
+               sensor5-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 5>;
                        };
                };
 
-               tsens_tz_sensor6 {
+               sensor6-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 6>;
                        };
                };
 
-               tsens_tz_sensor7 {
+               sensor7-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 7>;
                        };
                };
 
-               tsens_tz_sensor8 {
+               sensor8-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 8>;
                        };
                };
 
-               tsens_tz_sensor9 {
+               sensor9-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 9>;
                        };
                };
 
-               tsens_tz_sensor10 {
+               sensor10-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
                        thermal-sensors = <&tsens 10>;
                                interrupt-names = "uplow";
 
                                #qcom,sensors = <11>;
-                               #thermal-sensor-cells = <1>;
+                               #thermal-sensorcells = <1>;
                        };
                };
 
index 2b01bc29ddf2372f0939872881bed3024def15d4..412d94736c35456bee49f5cd2aebafc489d98772 100644 (file)
        };
 
        thermal-zones {
-               cpu-thermal0 {
+               cpu0-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal1 {
+               cpu1-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal2 {
+               cpu2-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               cpu-thermal3 {
+               cpu3-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               gpu-thermal-top {
+               gpu-top-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;
 
                        };
                };
 
-               gpu-thermal-bottom {
+               gpu-bottom-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <1000>;