thermal: msm8960_tsens: Add APQ8064 support

TSENS is used by the thermal daemon for thermal management.
On APQ8064 there are 11 TSENS sensors that can be used by the
thermal daemon to monitor the temperature across the chip.

TSENS for APQ8064 supports individual slope for each of the
sensors. The offset used in the temperature from each of the
slope is used for temperature calcuation from the ADC code.

Change-Id: I00457aff8d67ab3367882ffe1077af863b90bc49
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
diff --git a/include/linux/msm_tsens.h b/include/linux/msm_tsens.h
index 189548c..99b5acd 100644
--- a/include/linux/msm_tsens.h
+++ b/include/linux/msm_tsens.h
@@ -22,14 +22,15 @@
 	MSM_8660 = 0,
 	MSM_8960,
 	MSM_9615,
+	APQ_8064,
 	MSM_TYPE
 };
 
 struct tsens_platform_data {
-	int				slope;
 	int				tsens_factor;
 	uint32_t			tsens_num_sensor;
 	enum platform_type		hw_type;
+	int				slope[11];
 };
 
 struct tsens_device {