diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-05-06 14:39:46 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-03-14 21:27:09 +0800 |
commit | 52a95d753328ce4df03ca7acae3295ceab53c66b (patch) | |
tree | 32685aff5d04460e798aea880b912fda1fcfee34 /arch/sandbox/include/asm/eth-raw-os.h | |
parent | 88c32ab51fdc54fe029f03b1da80f58d0f0f78a6 (diff) | |
download | u-boot-imx-52a95d753328ce4df03ca7acae3295ceab53c66b.zip u-boot-imx-52a95d753328ce4df03ca7acae3295ceab53c66b.tar.gz u-boot-imx-52a95d753328ce4df03ca7acae3295ceab53c66b.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>
(cherry picked from commit 87723f903454aaf17336e0fe9098ea7911c19f3c)
(cherry picked from commit 3392203fc3ae2f0701461143094cfbb112f7bc04)
Diffstat (limited to 'arch/sandbox/include/asm/eth-raw-os.h')
0 files changed, 0 insertions, 0 deletions