diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2017-11-30 10:17:38 +0100 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2018-01-01 20:49:01 +0100 |
commit | 4e5f61ca11e716c2a46e163bd0286cb8950dc087 (patch) | |
tree | 08e62d9ec5e08e2ea57041dce91b56328b05a476 /drivers/thermal/mtk_thermal.c | |
parent | thermal: imx: use consistent style to write temperatures (diff) | |
download | linux-4e5f61ca11e716c2a46e163bd0286cb8950dc087.tar.xz linux-4e5f61ca11e716c2a46e163bd0286cb8950dc087.zip |
thermal: imx: update to new formula according to NXP AN5215
According to an application note from 03/2017 there is an updated formula to
calculate the temperature that better matches reality. This is implemented here.
While updating move the magic constants from cpp defines which are far above the
explaining formula to constants in the code just under the explaining comment.
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/mtk_thermal.c')
0 files changed, 0 insertions, 0 deletions