Skip to contentSkip to conversation

arm: tegra: set critical trips for Tegra124

PATCH Superseded Wei Ni 1 participant 1 message Mar 29, 2016

Subsystems (2)
lore
Share & tools
lore

Wei Ni

author
#0 lore raw

PATCH v9 14/14 arm: tegra: set critical trips for Tegra124

Set general "critical" trip temperatures for cpu, gpu, mem and pllx thermal zones for all Tegra124 platform, these trips can trigger shut down or reset.
Tegra124 Jetson TK1 was already set "critical" trips before, so it can overwrite the general values.

---
 arch/arm/boot/dts/tegra124-jetson-tk1.dts | 18 ++--------
 arch/arm/boot/dts/tegra124.dtsi           | 60 +++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+), 15 deletions(-)
arch/arm/boot/dts/tegra124-jetson-tk1.dts +3 -15
index 66b4451eb2ca..0e24ecd71ac7 100644
@@ -1931,44 +1931,32 @@
 	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 */
-			};
 		};
 	};
 };
arch/arm/boot/dts/tegra124.dtsi +60 -0

84 lines not on this page · raw message

Signature · 1 line
1.9.1