diff options
author | Anson Huang <b20788@freescale.com> | 2014-06-20 11:03:06 +0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-07-01 05:22:28 +0400 |
commit | d0f9d64a0b8fb3399ca8dd0d54f4d305492c9217 (patch) | |
tree | dfc65ef5f7f99cde5f49591481b9a0e056e76a9b /drivers/thermal/ti-soc-thermal/ti-bandgap.c | |
parent | dd354b84d47ec8ca53686bdb3cc1aecdeb75bef5 (diff) | |
download | linux-d0f9d64a0b8fb3399ca8dd0d54f4d305492c9217.tar.xz |
Thermal: imx: correct critical trip temperature setting
On latest i.MX6 SOC with thermal calibration data of 0x5A100000,
the critical trip temperature will be an invalid value and
cause system auto shutdown as below log:
thermal thermal_zone0: critical temperature reached(42 C),shutting down
So, with universal formula for thermal sensor, only room
temperature point is calibrated, which means the calibration
data read from fuse only has valid data of bit [31:20], others
are all 0, the critical trip point temperature can NOT depend
on the hot point calibration data, here we set it to 20 C higher
than default passive temperature.
Signed-off-by: Anson Huang <b20788@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal/ti-bandgap.c')
0 files changed, 0 insertions, 0 deletions