drivers: thermal: tsens: Add generic support for TSENS v1 IP
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 20 Mar 2019 13:18:00 +0000 (18:48 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 14:00:21 +0000 (07:00 -0700)
commite8c24c6f5d1c7a8e124d41e1c8f27dd494937320
treef5b7a152913e46cb71e9c4707bfcdf63432e284f
parenta9604f28087f3641bed923b455c7392cdf432cbf
drivers: thermal: tsens: Add generic support for TSENS v1 IP

qcs404 has a single TSENS IP block with 10 sensors. It uses version 1.4
of the TSENS IP, functionality for which is encapsulated inside the
qcom,tsens-v1 compatible.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/qcom/Makefile
drivers/thermal/qcom/tsens-v1.c [new file with mode: 0644]
drivers/thermal/qcom/tsens.c
drivers/thermal/qcom/tsens.h