arm64: dts: msm8996: thermal: Add temperature sensors near major peripherals
authorAmit Kucheria <amit.kucheria@linaro.org>
Fri, 29 Mar 2019 10:12:10 +0000 (15:42 +0530)
committerAndy Gross <agross@kernel.org>
Wed, 10 Apr 2019 04:08:17 +0000 (23:08 -0500)
commit0f5f91f01cad1c8ab2ba81e4c6c805608bab3cd5
tree96787d0adfc8c0fbce9a0dc7793e1141859402f6
parentf2e8b07c1b7265bd862d00a2fbb1e8b729f9eb16
arm64: dts: msm8996: thermal: Add temperature sensors near major peripherals

msm8996 has a total of 21 temperature sensors. Populate DT with
information about them.

There are 2 sensors on each of the cpus - one on the top, the other
below (we only expose one on the top in DT for now). For the GPU, we
expose both, the one on the top and the one below.

Depending on the version of the silicon, sensor 2 is either placed near
the L3 cache or the venus video decoder. It would've been nice to be
able to be version-specific but we don't have DTs that differentiate the
two versions of silicon yet.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Andy Gross <agross@kernel.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi