public inbox for linux-tegra@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 12/12] arm: tegra: set critical trips for Tegra124
@ 2016-02-22  8:12 Wei Ni
  0 siblings, 0 replies; only message in thread
From: Wei Ni @ 2016-02-22  8:12 UTC (permalink / raw)
  To: thierry.reding, rui.zhang
  Cc: MLongnecker, swarren, mikko.perttunen, linux-tegra, linux-kernel,
	Wei Ni

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

Signed-off-by: Wei Ni <wni@nvidia.com>
---
 arch/arm/boot/dts/tegra124.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi
index e4eac1f01e64..442fcf0cb394 100644
--- a/arch/arm/boot/dts/tegra124.dtsi
+++ b/arch/arm/boot/dts/tegra124.dtsi
@@ -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 {
-- 
1.9.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-22  8:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22  8:12 [PATCH v6 12/12] arm: tegra: set critical trips for Tegra124 Wei Ni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox