ARM: tegra: tegratab: Update Tskin coefficients
Jinyoung Park [Thu, 4 Jul 2013 12:30:43 +0000 (21:30 +0900)]
Updated Tskin coefficients for P1640 A00 hard tooled unit.

Bug 1236444
Bug 1291251

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/245135
(cherry picked from commit 2c5dfbd1f1a4c2da10627ae631458f24c7dd7cb7)

Change-Id: Iaf0406f44d39439e40cf3cf7b03612aba9a7eba8
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/251220
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

arch/arm/mach-tegra/board-tegratab-sensors.c

index 2dd98eb..b698092 100644 (file)
@@ -540,21 +540,21 @@ static struct therm_est_subdevice skin_devs[] = {
        {
                .dev_data = "Tdiode",
                .coeffs = {
-                       2, 1, 1, 1,
-                       1, 1, 1, 1,
-                       1, 1, 1, 0,
-                       1, 1, 0, 0,
-                       0, 0, -1, -7
+                       3, 0, -2, -2,
+                       -2, -2, -4, -2,
+                       -2, -3, -4, -3,
+                       -5, -2, -4, -3,
+                       0, -3, -2, -22
                },
        },
        {
                .dev_data = "Tboard",
                .coeffs = {
-                       -11, -7, -5, -3,
-                       -3, -2, -1, 0,
-                       0, 0, 1, 1,
-                       1, 2, 2, 3,
-                       4, 6, 11, 18
+                       46, 11, 8, 10,
+                       10, 12, 10, 13,
+                       9, 8, 8, 9,
+                       6, 6, 3, 5,
+                       1, 3, -2, -27
                },
        },
 };
@@ -562,7 +562,7 @@ static struct therm_est_subdevice skin_devs[] = {
 static struct therm_est_data skin_data = {
        .num_trips = ARRAY_SIZE(skin_trips),
        .trips = skin_trips,
-       .toffset = 9793,
+       .toffset = 5588,
        .polling_period = 1100,
        .passive_delay = 15000,
        .tc1 = 10,