commit | 951bf19dae2198c7684e4bb3f1eae10ba60d3677 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Sun May 03 22:19:50 2020 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Sun May 10 20:55:20 2020 +0200 |
tree | 43b5ebce38795d6275b88c836f98127963776ab1 | |
parent | b5447b98f24784459225ea0cc2729b1cdb1e3136 [diff] |
thermal: imx_tmu: Check the TEMP range for iMX8MM On iMX8MM, the V flag in TRISTR register only reflect the state of SNSR value, not the calibrated TEMP value. So checking this flag is not reliable. Per IC suggestion, change to read the TEMP/AVG_TEMP directly and check whether it in valid range 10-125C. Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>