]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ENGR00258651 thermal: update equation for i.MX6sl
authorAnson Huang <b20788@freescale.com>
Mon, 15 Apr 2013 00:48:20 +0000 (08:48 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:13:59 +0000 (14:13 +0200)
New thermal equation is working for all i.MX6 series
SOCs, so update it for i.MX6SL as well.

Signed-off-by: Anson Huang <b20788@freescale.com>
drivers/mxc/thermal/thermal.c

index 4931ce1fa25278906bd63b54618ba7c9fcb4b8f8..2a29109d2861b2438dae81de6d6361ae32c9042d 100644 (file)
@@ -43,7 +43,6 @@
 #include <linux/cpufreq.h>
 #include <linux/clk.h>
 #include "anatop_driver.h"
-#include <mach/hardware.h>
 
 /* register define of anatop */
 #define HW_ANADIG_ANA_MISC0    (0x00000150)
@@ -883,7 +882,7 @@ static int anatop_thermal_counting_ratio(unsigned int fuse_data)
        raw_hot = (fuse_data & 0xfff00) >> 8;
        hot_temp = fuse_data & 0xff;
 
-       if (!calibration_valid && !cpu_is_mx6sl())
+       if (!calibration_valid)
                /*
                 * The universal equation for thermal sensor
                 * is slope = 0.4297157 - (0.0015976 * 25C fuse),