Skip to contentSkip to conversation

arm: tegra: set critical trips for Tegra124

PATCH Superseded Wei Ni 1 participant 1 message Feb 22, 2016

Subsystems (2)

v6 of 9 Superseded Latest is v9 →

lore
Share & tools
lore

Wei Ni

author
#0 lore raw

PATCH v6 12/12 arm: tegra: set critical trips for Tegra124

Set "critical" trips for cpu and gpu thermal zones, which can trigger shut down or reset.

---
 arch/arm/boot/dts/tegra124.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
arch/arm/boot/dts/tegra124.dtsi +16 -0
index e4eac1f01e64..442fcf0cb394 100644
@@ -996,6 +996,14 @@
 
 			thermal-sensors =
 				<&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
+
+			trips {
+				cpu_shutdown_trip: shutdown-trip {
+					temperature = <103000>;
+					hysteresis = <1000>;
+					type = "critical";
+				};
+			};
 		};
 
 		mem {
@@ -1012,6 +1020,14 @@
 
 			thermal-sensors =
 				<&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>;
+
+			trips {
+				gpu_shutdown_trip: shutdown-trip {
+					temperature = <101000>;
+					hysteresis = <1000>;
+					type = "critical";
+				};
+			};
 		};
 
 		pllx {
Signature · 1 line
1.9.1