* [PATCH v6 08/12] of: add notes of critical trips for soctherm
@ 2016-02-22 8:10 Wei Ni
[not found] ` <1456128650-29104-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Wei Ni @ 2016-02-22 8:10 UTC (permalink / raw)
To: thierry.reding, robh, rui.zhang
Cc: MLongnecker, swarren, mikko.perttunen, linux-tegra, linux-kernel,
devicetree, Wei Ni
The "ctirical" 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>
---
Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt b/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt
index 6b68cd150405..351a7376baa8 100644
--- a/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt
+++ b/Documentation/devicetree/bindings/thermal/tegra-soctherm.txt
@@ -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";
+ };
+ };
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v6 08/12] of: add notes of critical trips for soctherm
[not found] ` <1456128650-29104-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2016-02-23 21:38 ` Rob Herring
2016-02-24 10:21 ` Wei Ni
0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2016-02-23 21:38 UTC (permalink / raw)
To: Wei Ni
Cc: thierry.reding-Re5JQEeQqe8AvxtiuMwx3w,
rui.zhang-ral2JQCrhuEAvxtiuMwx3w,
MLongnecker-DDmLM1+adcrQT0dZR+AlfA,
swarren-3lzwWm7+Weoh9ZMKESR00Q, mikko.perttunen-/1wQRMveznE,
linux-tegra-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA
On Mon, Feb 22, 2016 at 04:10:50PM +0800, Wei Ni wrote:
> The "ctirical" type trip in thermal zone can be
typo
> set to SOC_THERM hardware, it can trigger shut down
> or reset event from hardware.
>
> Signed-off-by: Wei Ni <wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
> Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Otherwise,
Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v6 08/12] of: add notes of critical trips for soctherm
2016-02-23 21:38 ` Rob Herring
@ 2016-02-24 10:21 ` Wei Ni
0 siblings, 0 replies; 3+ messages in thread
From: Wei Ni @ 2016-02-24 10:21 UTC (permalink / raw)
To: Rob Herring
Cc: thierry.reding, rui.zhang, MLongnecker, swarren, mikko.perttunen,
linux-tegra, linux-kernel, devicetree
On 2016年02月24日 05:38, Rob Herring wrote:
> On Mon, Feb 22, 2016 at 04:10:50PM +0800, Wei Ni wrote:
>> The "ctirical" type trip in thermal zone can be
>
> typo
Hmm, will fix it.
>
>> set to SOC_THERM hardware, it can trigger shut down
>> or reset event from hardware.
>>
>> Signed-off-by: Wei Ni <wni@nvidia.com>
>> ---
>> Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>
> Otherwise,
>
> Acked-by: Rob Herring <robh@kernel.org>
Sure, will do it.
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-02-24 10:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 8:10 [PATCH v6 08/12] of: add notes of critical trips for soctherm Wei Ni
[not found] ` <1456128650-29104-1-git-send-email-wni-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-02-23 21:38 ` Rob Herring
2016-02-24 10:21 ` Wei Ni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).