[PATCH 05/13] thermal: imx_tmu: Fix for temperature out of range

sbabic at denx.de sbabic at denx.de
Mon May 11 12:16:24 CEST 2020


> 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 at nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list