[U-Boot] [PATCH 1/2] imx: thermal: update imx6 thermal driver according new equation
Stefano Babic
sbabic at denx.de
Thu May 11 11:24:17 UTC 2017
On 18/04/2017 14:41, Peng Fan wrote:
> 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 at nxp.com>
> Cc: Stefano Babic <sbabic at denx.de>
> ---
Applied to u-boot-imx, 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
=====================================================================
More information about the U-Boot
mailing list