summaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-imx-util.h
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-05-06 14:39:46 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-05-06 14:39:46 +0800
commit87723f903454aaf17336e0fe9098ea7911c19f3c (patch)
tree568b6a99fe0adb7d4e3cebddb3ea701a5abc794a /drivers/pwm/pwm-imx-util.h
parent120e8a6f2e32291c126063de588194db937f1da3 (diff)
downloadu-boot-imx-87723f903454aaf17336e0fe9098ea7911c19f3c.zip
u-boot-imx-87723f903454aaf17336e0fe9098ea7911c19f3c.tar.gz
u-boot-imx-87723f903454aaf17336e0fe9098ea7911c19f3c.tar.bz2
MLK-10827 imx: mx6 update 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. Old Equation: Temp = Troom,cal – slope*(Count measured – Count room fuse) Where Troom,cal = 25C and Slope = 0.4297157 – (0.0015974 * Count room fuse) New Equation: Temp = Troom,cal – slope*(Count measured – Count room fuse) +offset Where Troom,cal = 25C and Slope = 0.4445388 – (0.0016549 * Count room fuse) Offset = 3.580661 " 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@freescale.com>
Diffstat (limited to 'drivers/pwm/pwm-imx-util.h')
0 files changed, 0 insertions, 0 deletions