thermal: qcom: tsens-8974: Add support for 8974 family of SoCs

Add .calibrate support for 8974 family as part of tsens_ops.

Based on the original code by Siddartha Mohanadoss and Stephen Boyd.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
This commit is contained in:
Rajendra Nayak
2016-05-05 14:21:41 +05:30
committed by Zhang Rui
parent 840a5bd3ed
commit 5e6703bd2d
4 changed files with 247 additions and 2 deletions

View File

@@ -87,6 +87,6 @@ void compute_intercept_slope(struct tsens_device *, u32 *, u32 *, u32);
int init_common(struct tsens_device *);
int get_temp_common(struct tsens_device *, int, int *);
extern const struct tsens_data data_8916;
extern const struct tsens_data data_8916, data_8974;
#endif /* __QCOM_TSENS_H__ */