imx: mx7: fix the temperature checking for Rev1.1
authorPeng Fan <van.freenix@gmail.com>
Mon, 4 Jan 2016 13:12:22 +0000 (21:12 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 7 Jan 2016 16:53:11 +0000 (17:53 +0100)
commitfcbe8c56743a1f8ec397a71d5a932faee920bc8a
tree3a210075022ec5bdd6762def2a1e4cc0af7de8c6
parentce2190f52523f36e42b702a5b59eb202aae565b2
imx: mx7: fix the temperature checking for Rev1.1

To TO1.0, we can not rely on finish bit to read temperature. But to
TO1.1, the issue was fixed by IC, we can rely on finish bit for
temperature reading for TO1.1.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Adrian Alonso <aalonso@freescale.com>
drivers/thermal/imx_thermal.c