summaryrefslogtreecommitdiff
path: root/staging/mops_threads.c
AgeCommit message (Expand)AuthorFilesLines
2013-05-13staging: add mausezahn staging directoryDaniel Borkmann1-0/+639
Zhang Rui <rui.zhang@intel.com>2016-09-27 14:02:16 +0800 commit840a5bd3ed3fdd62456d4d26c3128ec10496555b (patch) tree4af75dd44a80231cfaa42de4ec272b4205f3ff1f parent9066073c6c27994a30187abf3b674770b4088348 (diff)
thermal: qcom: tsens-8916: Add support for 8916 family of SoCs
Add support to calibrate sensors on 8916 family and also add common functions to read temperature from sensors (This can be reused on other SoCs having similar TSENS device) The calibration data is read from eeprom using the generic nvmem framework apis. 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>
Diffstat
-rw-r--r--drivers/thermal/qcom/Makefile2
-rw-r--r--drivers/thermal/qcom/tsens-8916.c113
-rw-r--r--drivers/thermal/qcom/tsens.c1
-rw-r--r--drivers/thermal/qcom/tsens.h2
4 files changed, 117 insertions, 1 deletions
diff --git a/drivers/thermal/qcom/Makefile b/drivers/thermal/qcom/Makefile