From: sbabic at denx.de Date: Mon, 11 May 2020 12:17:46 +0200 (CEST) Subject: [PATCH 06/13] thermal: imx_tmu: Check the TEMP range for iMX8MM In-Reply-To: <20200503141957.14635-7-peng.fan@nxp.com> Message-ID: <20200511101746.11C47813A6@phobos.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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 > Signed-off-by: Peng Fan 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 =====================================================================