thermal: msm8960_tsens: Update characterized slope data
Update the slope data for individual TSENS sensor. The data
represents the characterized value obtained over sample
wafers and is used for offset calculation. The units of the
slope is represented as DegC/ADC code.
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Change-Id: Ibfadbfcb3d953f66986c855446663d17abcdcb99
diff --git a/arch/arm/mach-msm/board-8930.c b/arch/arm/mach-msm/board-8930.c
index 1cf1935..e249331 100644
--- a/arch/arm/mach-msm/board-8930.c
+++ b/arch/arm/mach-msm/board-8930.c
@@ -1638,9 +1638,9 @@
static struct tsens_platform_data msm_tsens_pdata = {
.tsens_factor = 1000,
.hw_type = APQ_8064,
- .tsens_num_sensor = 11,
- .slope = {1176, 1176, 1154, 1176, 1111,
- 1132, 1132, 1199, 1132, 1199, 1132},
+ .tsens_num_sensor = 10,
+ .slope = {1132, 1135, 1137, 1135, 1157,
+ 1142, 1124, 1153, 1175, 1166},
};
#ifdef CONFIG_MSM_FAKE_BATTERY
diff --git a/arch/arm/mach-msm/board-9615.c b/arch/arm/mach-msm/board-9615.c
index 3389dea..e1adc6c 100644
--- a/arch/arm/mach-msm/board-9615.c
+++ b/arch/arm/mach-msm/board-9615.c
@@ -656,7 +656,7 @@
.tsens_factor = 1000,
.hw_type = MDM_9615,
.tsens_num_sensor = 5,
- .slope = {1176, 1176, 1154, 1176, 1111},
+ .slope = {1176, 1162, 1162, 1149, 1176},
};
static struct platform_device *common_devices[] = {