]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00273344-1 thermal: imx: Update formula for thermal sensor
authorAnson Huang <b20788@freescale.com>
Wed, 31 Jul 2013 23:29:29 +0000 (19:29 -0400)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:54:06 +0000 (09:54 +0800)
commitdac552f4bac581b62cea1c77e2a2d8fde5ea3bc7
treef202730fada6e8b2aa8da5eb32a94cd007bbb3d3
parentb862dc07c7e39e460435e9f755782052f8bf4d3a
ENGR00273344-1 thermal: imx: Update formula for thermal sensor

Thermal sensor used to need two calibration data which are
in Fuse to get a slope for converting thermal sensor's raw
data to real temperature in degree C.
Now we use an universal formula to get real temp
from internal thermal sensor raw data:
Slope = 0.4297157 - (0.0015976 * 25C fuse);

Using universal formula can reduce the effort of chip
calibration, so update the formula.

Signed-off-by: Anson Huang <b20788@freescale.com>
drivers/thermal/imx_thermal.c