u-boot/drivers/thermal
Peng Fan b5447b98f2 thermal: imx_tmu: Fix for temperature out of range
When the temperature is out of sensor's range, the Valid bit won't be
set in TRITSR register. So the polling loop won't go out.

Change the codes to retry 10 times with 100ms interval for the Valid bit.
If the timeout, we give a warning for the invalid data.

Modifed from Ye's NXP patch

Signed-off-by: Peng Fan <peng.fan@nxp.com>
2020-05-10 20:55:20 +02:00
..
imx_scu_thermal.c thermal: imx_scu_thermal: Update driver for i.MX8QM thermal sensor 2020-05-10 20:55:20 +02:00
imx_thermal.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
imx_tmu.c thermal: imx_tmu: Fix for temperature out of range 2020-05-10 20:55:20 +02:00
Kconfig thermal: Add thermal driver for i.MX8M 2020-05-10 20:55:20 +02:00
Makefile thermal: Add thermal driver for i.MX8M 2020-05-10 20:55:20 +02:00
thermal-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ti-bandgap.c thermal: ti-bandgap: Fix adc value datatype 2020-01-20 10:10:28 +05:30