Commit 0d4904f5929cecd66f0b60cf8ebdcb0e6a2f733e

Authored by Peng Fan
1 parent 4b27bdc4a8

MLK-11035 imx: mx6 update thermal slope factors

From temp sensor guys:
"
I confirmed the math with him(had do the accuracy study) today.
The new, final equation is:

Tmeas = (Nmeas - n1) / slope + t1 + offset

n1= fused room count
t1= 25
offset=3.580661
slope= 0.4148468 – 0.0015423*n1
"

87723f903454aaf17336e0fe9098ea7911c19f3c update the thermal with not
accurate slope parameters. This patch fix it.

Signed-off-by: Peng Fan <Peng.Fan@freescale.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

drivers/thermal/imx_thermal.c
... ... @@ -23,8 +23,8 @@
23 23 #define TEMPERATURE_HOT 80
24 24 #define TEMPERATURE_MAX 125
25 25 #define FACTOR0 10000000
26   -#define FACTOR1 16549
27   -#define FACTOR2 4445388
  26 +#define FACTOR1 15423
  27 +#define FACTOR2 4148468
28 28 #define OFFSET 3580661
29 29 #define MEASURE_FREQ 327
30 30