linux/drivers/thermal/qcom
Amit Kucheria 67b0f5e064 thermal: tsens: Rename map field in order to add a second address map
The TSENS driver currently only uses a limited set of registers from the TM
address space. So it was ok to map just that set of registers and call it
"map".

We'd now like to map a second set: SROT registers to introduce new
functionality. Rename the "map" field to a more appropriate "tm_map".

The 8960 doesn't have a clear split between TM and SROT registers. To avoid
complicating the data structure, it will switchover to using tm_map for its
maps.

There is no functional change with this patch.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2018-10-22 17:33:23 -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: Add SPDX license identifiers 2018-10-22 17:32:03 -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: Add SPDX license identifiers 2018-10-22 17:32:03 -07:00
tsens-common.c thermal: tsens: Rename map field in order to add a second address map 2018-10-22 17:33:23 -07:00
tsens-v2.c thermal: tsens: Rename map field in order to add a second address map 2018-10-22 17:33:23 -07:00
tsens.c thermal: tsens: Get rid of dead code 2018-10-22 17:32:38 -07:00
tsens.h thermal: tsens: Rename map field in order to add a second address map 2018-10-22 17:33:23 -07:00