]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 6 Apr 2018 06:06:53 +0000 (06:06 +0000)
commit083c63be9fae20a2ce30e9d3f83fa7dcd1c29ffc
tree56432828f6bbb63641fdc8933cf68f2d3fbed41c
parent233ca9a5b58234ba534a868162d560a5dde65adc
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