arm64: tegra: Rename thermal zones nodes
authorThierry Reding <treding@nvidia.com>
Tue, 7 Dec 2021 13:24:20 +0000 (14:24 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 15:51:01 +0000 (16:51 +0100)
The DT schema requires that nodes representing thermal zones include a
"-thermal" suffix in their name.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra132.dtsi
arch/arm64/boot/dts/nvidia/tegra186-p3509-0000+p3636-0001.dts
arch/arm64/boot/dts/nvidia/tegra186.dtsi
arch/arm64/boot/dts/nvidia/tegra194-p2972-0000.dts
arch/arm64/boot/dts/nvidia/tegra194-p3509-0000.dtsi
arch/arm64/boot/dts/nvidia/tegra194.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts
arch/arm64/boot/dts/nvidia/tegra210.dtsi

index e41671f..3673f79 100644 (file)
        };
 
        thermal-zones {
-               cpu {
+               cpu-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <0>;
 
                                };
                        };
                };
-               mem {
+
+               mem-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
 
                                 */
                        };
                };
-               gpu {
+
+               gpu-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <0>;
 
                                };
                        };
                };
-               pllx {
+
+               pllx-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
 
index 28d5979..33e707e 100644 (file)
        };
 
        thermal-zones {
-               cpu {
+               cpu-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
                        };
                };
 
-               gpu {
+               aux-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
 
                        trips {
-                               gpu_alert0: critical {
-                                       temperature = <99000>;
+                               aux_alert0: critical {
+                                       temperature = <90000>;
                                        hysteresis = <0>;
                                        type = "critical";
                                };
                        };
                };
 
-               aux {
+               gpu-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
 
                        trips {
-                               aux_alert0: critical {
-                                       temperature = <90000>;
+                               gpu_alert0: critical {
+                                       temperature = <99000>;
                                        hysteresis = <0>;
                                        type = "critical";
                                };
index 855ae6b..a5c19e4 100644 (file)
        };
 
        thermal-zones {
-               a57 {
+               /* Cortex-A57 cluster */
+               cpu-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <1000>;
 
-                       thermal-sensors =
-                               <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_CPU>;
+                       thermal-sensors = <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_CPU>;
 
                        trips {
                                critical {
                        };
                };
 
-               denver {
+               /* Denver cluster */
+               aux-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <1000>;
 
-                       thermal-sensors =
-                               <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_AUX>;
+                       thermal-sensors = <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_AUX>;
 
                        trips {
                                critical {
                        };
                };
 
-               gpu {
+               gpu-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <1000>;
 
-                       thermal-sensors =
-                               <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_GPU>;
+                       thermal-sensors = <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_GPU>;
 
                        trips {
                                critical {
                        };
                };
 
-               pll {
+               pll-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <1000>;
 
-                       thermal-sensors =
-                               <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_PLLX>;
+                       thermal-sensors = <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_PLLX>;
 
                        trips {
                                critical {
                        };
                };
 
-               always_on {
+               ao-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <1000>;
 
-                       thermal-sensors =
-                               <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_AO>;
+                       thermal-sensors = <&bpmp_thermal TEGRA186_BPMP_THERMAL_ZONE_AO>;
 
                        trips {
                                critical {
index 9f34871..b79d7d8 100644 (file)
        };
 
        thermal-zones {
-               cpu {
+               cpu-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
                        };
                };
 
-               gpu {
+               gpu-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
                        };
                };
 
-               aux {
+               aux-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
index 8d3999c..76d94ec 100644 (file)
        };
 
        thermal-zones {
-               cpu {
+               cpu-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
                        };
                };
 
-               gpu {
+               gpu-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
                        };
                };
 
-               aux {
+               aux-thermal {
                        polling-delay = <0>;
                        polling-delay-passive = <500>;
                        status = "okay";
index f9b1900..0ea6137 100644 (file)
        };
 
        thermal-zones {
-               cpu {
-                       thermal-sensors = <&{/bpmp/thermal}
-                                          TEGRA194_BPMP_THERMAL_ZONE_CPU>;
+               cpu-thermal {
+                       thermal-sensors = <&{/bpmp/thermal} TEGRA194_BPMP_THERMAL_ZONE_CPU>;
                        status = "disabled";
                };
 
-               gpu {
-                       thermal-sensors = <&{/bpmp/thermal}
-                                          TEGRA194_BPMP_THERMAL_ZONE_GPU>;
+               gpu-thermal {
+                       thermal-sensors = <&{/bpmp/thermal} TEGRA194_BPMP_THERMAL_ZONE_GPU>;
                        status = "disabled";
                };
 
-               aux {
-                       thermal-sensors = <&{/bpmp/thermal}
-                                          TEGRA194_BPMP_THERMAL_ZONE_AUX>;
+               aux-thermal {
+                       thermal-sensors = <&{/bpmp/thermal} TEGRA194_BPMP_THERMAL_ZONE_AUX>;
                        status = "disabled";
                };
 
-               pllx {
-                       thermal-sensors = <&{/bpmp/thermal}
-                                          TEGRA194_BPMP_THERMAL_ZONE_PLLX>;
+               pllx-thermal {
+                       thermal-sensors = <&{/bpmp/thermal} TEGRA194_BPMP_THERMAL_ZONE_PLLX>;
                        status = "disabled";
                };
 
-               ao {
-                       thermal-sensors = <&{/bpmp/thermal}
-                                          TEGRA194_BPMP_THERMAL_ZONE_AO>;
+               ao-thermal {
+                       thermal-sensors = <&{/bpmp/thermal} TEGRA194_BPMP_THERMAL_ZONE_AO>;
                        status = "disabled";
                };
 
-               tj {
-                       thermal-sensors = <&{/bpmp/thermal}
-                                          TEGRA194_BPMP_THERMAL_ZONE_TJ_MAX>;
+               tj-thermal {
+                       thermal-sensors = <&{/bpmp/thermal} TEGRA194_BPMP_THERMAL_ZONE_TJ_MAX>;
                        status = "disabled";
                };
        };
index 283b50f..9e60ebf 100644 (file)
        };
 
        thermal-zones {
-               cpu {
+               cpu-thermal {
                        trips {
                                cpu_trip_critical: critical {
                                        temperature = <96500>;
index ccdc0de..af9237a 100644 (file)
        };
 
        thermal-zones {
-               cpu {
+               cpu-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <0>;
 
                        };
                };
 
-               mem {
+               mem-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;
 
                        };
                };
 
-               gpu {
+               gpu-thermal {
                        polling-delay-passive = <1000>;
                        polling-delay = <0>;
 
                        };
                };
 
-               pllx {
+               pllx-thermal {
                        polling-delay-passive = <0>;
                        polling-delay = <0>;