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> (cherry picked from commit fe41c5fa6af88cce7f5a9723c82d6ad4e61357ce) |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| imx_sc_thermal.c | ||
| imx_thermal.c | ||
| nxp_tmu.c | ||
| thermal-uclass.c | ||
| ti-bandgap.c | ||