Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1388642

[PATCH v2 3/9] arm64: tegra: set critical trips for Tegra132

From Wei Ni <wni@nvidia.com>
Newsgroups linux.kernel
Subject [PATCH v2 3/9] arm64: tegra: set critical trips for Tegra132
Date 2016-04-27 05:30 +0200
Message-ID <rsokP-2uM-43@gated-at.bofh.it> (permalink)
References <rsokN-2uM-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Set general "critical" trip temperatures for cpu, gpu, mem and pllx
thermal zones on Tegra132, these trips can trigger shut down or reset.

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

diff --git a/arch/arm64/boot/dts/nvidia/tegra132.dtsi b/arch/arm64/boot/dts/nvidia/tegra132.dtsi
index e41d8e82d7ed..a3889e930010 100644
--- a/arch/arm64/boot/dts/nvidia/tegra132.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra132.dtsi
@@ -746,6 +746,21 @@
 
 			thermal-sensors =
 				<&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
+
+			trips {
+				cpu_shutdown_trip {
+					temperature = <105000>;
+					hysteresis = <1000>;
+					type = "critical";
+				};
+			};
+
+			cooling-maps {
+				/*
+				 * There are currently no cooling maps,
+				 * because there are no cooling devices.
+				 */
+			};
 		};
 		mem {
 			polling-delay-passive = <0>;
@@ -753,6 +768,21 @@
 
 			thermal-sensors =
 				<&soctherm TEGRA124_SOCTHERM_SENSOR_MEM>;
+
+			trips {
+				mem_shutdown_trip {
+					temperature = <101000>;
+					hysteresis = <1000>;
+					type = "critical";
+				};
+			};
+
+			cooling-maps {
+				/*
+				 * There are currently no cooling maps,
+				 * because there are no cooling devices.
+				 */
+			};
 		};
 		gpu {
 			polling-delay-passive = <1000>;
@@ -760,6 +790,21 @@
 
 			thermal-sensors =
 				<&soctherm TEGRA124_SOCTHERM_SENSOR_GPU>;
+
+			trips {
+				gpu_shutdown_trip {
+					temperature = <101000>;
+					hysteresis = <1000>;
+					type = "critical";
+				};
+			};
+
+			cooling-maps {
+				/*
+				 * There are currently no cooling maps,
+				 * because there are no cooling devices.
+				 */
+			};
 		};
 		pllx {
 			polling-delay-passive = <0>;
@@ -767,6 +812,21 @@
 
 			thermal-sensors =
 				<&soctherm TEGRA124_SOCTHERM_SENSOR_PLLX>;
+
+			trips {
+				pllx_shutdown_trip {
+					temperature = <105000>;
+					hysteresis = <1000>;
+					type = "critical";
+				};
+			};
+
+			cooling-maps {
+				/*
+				 * There are currently no cooling maps,
+				 * because there are no cooling devices.
+				 */
+			};
 		};
 	};
 
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] Add HW throttle for Tegra soctherm Wei Ni <wni@nvidia.com> - 2016-04-27 05:30 +0200
  [PATCH v2 1/9] thermal: tegra: add Tegra132 specific SOC_THERM driver Wei Ni <wni@nvidia.com> - 2016-04-27 05:30 +0200
    Re: [PATCH v2 1/9] thermal: tegra: add Tegra132 specific SOC_THERM  driver Eduardo Valentin <edubezval@gmail.com> - 2016-04-28 01:40 +0200
  [PATCH v2 7/9] arm64: tegra: set hot trips for Tegra210 Wei Ni <wni@nvidia.com> - 2016-04-27 05:30 +0200
  [PATCH v2 6/9] thermal: tegra: add hw-throttle for Tegra132 Wei Ni <wni@nvidia.com> - 2016-04-27 05:30 +0200
  [PATCH v2 4/9] of: Add bindings of hw throttle for soctherm Wei Ni <wni@nvidia.com> - 2016-04-27 05:30 +0200
    Re: [PATCH v2 4/9] of: Add bindings of hw throttle for soctherm Eduardo Valentin <edubezval@gmail.com> - 2016-04-28 01:40 +0200
      Re: [PATCH v2 4/9] of: Add bindings of hw throttle for soctherm Wei Ni <wni@nvidia.com> - 2016-04-28 08:50 +0200
  [PATCH v2 8/9] arm64: tegra: set hot trips for Tegra132 Wei Ni <wni@nvidia.com> - 2016-04-27 05:30 +0200
  [PATCH v2 3/9] arm64: tegra: set critical trips for Tegra132 Wei Ni <wni@nvidia.com> - 2016-04-27 05:30 +0200
  [PATCH v2 5/9] thermal: tegra: add hw-throttle function Wei Ni <wni@nvidia.com> - 2016-04-27 05:30 +0200

csiph-web