diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2018-07-31 21:59:14 +0300 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-08-25 01:58:27 +0300 |
commit | 97b27dd33d592b14cfb9299d5c89167ec57a3b83 (patch) | |
tree | 587c4c90fa907ffc82d004b7cf3585f3b38304ee /drivers/thermal/qcom-spmi-temp-alarm.c | |
parent | 7fd5257f11445e35257a80d186a1da0e9795068f (diff) | |
download | linux-97b27dd33d592b14cfb9299d5c89167ec57a3b83.tar.xz |
dt-bindings: thermal: qcom-spmi-temp-alarm: Improve thermal zone in example
The current example for a thermal zone isn't very useful as reference
since it would result in a hardware shutdown at 145°C, instead of
allowing the system to try to shutdown gracefully. Without an ADC
channel a maximum of two trip points is useful in practice for this
sensor, with temperatures corresponding to the stage 1 and stage 2
'hardware trip points'. A critical trip point at stage 2 may allow the
system to shutdown before a hardware shutdown at stage 3 kicks in. It
should be noted though that by default the chip performs a 'partial
shutdown' when the temperature reaches stage 2, which may prevent an
orderly shutdown. The 'partial shutdown' can be disabled by software.
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/qcom-spmi-temp-alarm.c')
0 files changed, 0 insertions, 0 deletions