linux/drivers/thermal/qcom
Amit Kucheria c130a7602e thermal: tsens: Pass register offsets as private data
Registers have moved around across TSENS generations. For example, the
CTRL register was at offset 0x0 in the SROT region on msm8916 but is at
offset 0x4 in newer v2 based TSENS HW blocks.

Allow passing offsets of important registers so that we can continue to
use common functions.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2018-10-22 17:34:33 -07:00
..
Kconfig
Makefile thermal: tsens: Rename tsens-8996 to tsens-v2 for reuse 2018-07-27 15:08:10 -07:00
tsens-8916.c thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00
tsens-8960.c thermal: tsens: Rename map field in order to add a second address map 2018-10-22 17:33:23 -07:00
tsens-8974.c thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00
tsens-common.c thermal: tsens: Add the SROT address map 2018-10-22 17:33:48 -07:00
tsens-v2.c thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00
tsens.c thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00
tsens.h thermal: tsens: Pass register offsets as private data 2018-10-22 17:34:33 -07:00