]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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 e41671fcd7e38c5dbc1418584a09a2daf0b08f2c..3673f79adf1a9896feb086079fa5ea941165f5ac 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 28d59792eaa12bb373b3fd2e8d622f0d4238f2c8..33e707ef883b49a5c4c8a8d9a9a8903737448fca 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 855ae6b705a835233cfd0af053335fb854125b76..a5c19e4b39c55c271a683d96379b4751f393cb17 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 9f34871b8f60d7facd962c1c86bc4290dfa17110..b79d7d89cf6299899520c7988fb565c115115ca1 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 8d3999cd1af29a5ff629b9d14c3800535117f15b..76d94ecd1cfec2db10b8273c00e2eb0357cba38d 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 f9b1900088ad8412e5ed299d0ab72aec045e597f..0ea613715c6fa2a7f35f47b5b7ac2916679a23ec 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 283b50febb6f5002b4c4cf0b58478dcb2fc92a5b..9e60ebf2f5c0a1b037f4b44f2fad09d30d6a0fe0 100644 (file)
        };
 
        thermal-zones {
-               cpu {
+               cpu-thermal {
                        trips {
                                cpu_trip_critical: critical {
                                        temperature = <96500>;
index ccdc0dec4e59b1734aa9f7dc10a99a586576fe5d..af9237ad03c15a2eefd4a0ccd57d7a910511439e 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>;