]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thermal: qcom: tsens-8916: Add support for 8916 family of SoCs
authorRajendra Nayak <rnayak@codeaurora.org>
Fri, 9 Oct 2015 09:41:04 +0000 (15:11 +0530)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Mon, 11 Jan 2016 09:54:52 +0000 (09:54 +0000)
commit072a135f619e176ee67da7c7dd76e550937311a5
tree56f4e8f206d7ccee6d04befe8e030f81b7b55b3b
parentded0a18e4121c5f547053db51d560a5ba9e14310
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>
drivers/thermal/qcom/Makefile
drivers/thermal/qcom/tsens-8916.c [new file with mode: 0644]
drivers/thermal/qcom/tsens-common.c [new file with mode: 0644]
drivers/thermal/qcom/tsens.c
drivers/thermal/qcom/tsens.h