]> asedeno.scripts.mit.edu Git - linux.git/commit
arm64: dts: msm8996: thermal: Initialise via DT and add second controller
authorAmit Kucheria <amit.kucheria@linaro.org>
Wed, 18 Jul 2018 06:43:10 +0000 (12:13 +0530)
committerAndy Gross <andy.gross@linaro.org>
Thu, 2 Aug 2018 21:33:36 +0000 (16:33 -0500)
commitf35c11b03b44d68d7d0688e30f4a9a18a3a334d5
tree4590686070be5b66cc62bd093234dd48e5d75e60
parent7a0d5009dbb73bcecc199151e6a126aa3630d820
arm64: dts: msm8996: thermal: Initialise via DT and add second controller

We also split up the regmap address space into two, for the TM and SROT
registers. This was required to deal with different address offsets for the
TM and SROT registers across different SoC families.

8996 has two TSENS IP blocks, initialise the second one too.

Since tsens-common.c/init_common() currently only registers one address
space, the order is important (TM before SROT). This is OK since the code
doesn't really use the SROT functionality yet.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi