of: add notes of critical trips for soctherm
authorWei Ni <wni@nvidia.com>
Tue, 29 Mar 2016 10:29:18 +0000 (18:29 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 17 May 2016 14:28:29 +0000 (07:28 -0700)
The "critical" type trip in thermal zone can be
set to SOC_THERM hardware, it can trigger shut down
or reset event from hardware.

Signed-off-by: Wei Ni <wni@nvidia.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Documentation/devicetree/bindings/thermal/tegra-soctherm.txt

index 6b68cd1504056b4dbceecca0316098e2f6f3e7c2..351a7376baa8d5cc943a5c6f58ffc259731a842e 100644 (file)
@@ -26,6 +26,10 @@ Required properties :
     of this property. See <dt-bindings/thermal/tegra124-soctherm.h> for a
     list of valid values when referring to thermal sensors.
 
+Note:
+- the "critical" type trip points will be set to SOC_THERM hardware as the
+shut down temperature. Once the temperature of this thermal zone is higher
+than it, the system will be shutdown or reset by hardware.
 
 Example :
 
@@ -51,5 +55,13 @@ Example: referring to thermal sensors :
 
                         thermal-sensors =
                                 <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>;
+
+                       trips {
+                               cpu_shutdown_trip: shutdown-trip {
+                                       temperature = <102500>;
+                                       hysteresis = <1000>;
+                                       type = "critical";
+                               };
+                       };
                 };
        };
This page took 0.025371 seconds and 5 git commands to generate.