ARM: tegra: apalis-tk1: Set critical trips
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Sat, 10 Feb 2018 01:38:01 +0000 (02:38 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 8 Mar 2018 15:12:50 +0000 (16:12 +0100)
Set "critical" trip temperatures for cpu, gpu, mem and pllx thermal
zones. These trips can trigger shut down or reset.

Similar to commit 40823f8e267f ("arm: tegra: set critical trips for
Tegra124").

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra124-apalis.dtsi

index 7aef892..be45b67 100644 (file)
        thermal-zones {
                cpu {
                        trips {
-                               trip@0 {
+                               cpu-shutdown-trip {
                                        temperature = <101000>;
                                        hysteresis = <0>;
                                        type = "critical";
                                };
                        };
-
-                       cooling-maps {
-                               /*
-                                * There are currently no cooling maps because
-                                * there are no cooling devices
-                                */
-                       };
                };
 
                mem {
                        trips {
-                               trip@0 {
+                               mem-shutdown-trip {
                                        temperature = <101000>;
                                        hysteresis = <0>;
                                        type = "critical";
                                };
                        };
-
-                       cooling-maps {
-                               /*
-                                * There are currently no cooling maps because
-                                * there are no cooling devices
-                                */
-                       };
                };
 
                gpu {
                        trips {
-                               trip@0 {
+                               gpu-shutdown-trip {
                                        temperature = <101000>;
                                        hysteresis = <0>;
                                        type = "critical";
                                };
                        };
-
-                       cooling-maps {
-                               /*
-                                * There are currently no cooling maps because
-                                * there are no cooling devices
-                                */
-                       };
                };
        };
 };