u-boot-brain/drivers/thermal
Peng Fan 4fac417168 imx: thermal: update imx6 thermal driver according new equation
>From IC guys:
"
After a thorough accuracy study of the Temp sense circuit,
we found that with our current equation, an average part can
read 7 degrees lower than a known forced temperature.
We also found out that the standard variance was around 2C;
which is the tightest distribution that we could create.
We need to change the temp sense equation to center the average
part around the target temperature.
"

New equation:
Tmeas = (Nmeas - n1) / slope + t1 + offset
n1= fused room count
t1= 25
offset=3.580661
slope= 0.4148468 – 0.0015423*n1

According the new equation, update the thermal driver.
c1 and c2 changed to u64 type and update comments.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
2017-05-18 11:23:31 +02:00
..
imx_thermal.c imx: thermal: update imx6 thermal driver according new equation 2017-05-18 11:23:31 +02:00
Kconfig imx: thermal: Kconfig: add MX7 2017-01-02 17:08:25 +01:00
Makefile thermal: imx_thermal: rework driver to be reused 2015-09-13 10:11:53 +02:00
thermal-uclass.c DM: thermal: Add imx thermal DM driver 2014-11-21 15:30:01 +01:00