arm64: dts: qcom: pm8998: Add pm8998 thermal zone
authorMatthias Kaehlcke <mka@chromium.org>
Tue, 31 Jul 2018 18:59:17 +0000 (11:59 -0700)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 19:37:18 +0000 (14:37 -0500)
commit1b9d8bd69305d9020534e09f3f790e43d1393b03
treeb7c479b34d41ffdf553f29ec7179fe6cee641b60
parent104e6415bf5000ed37ed2765ff0c1619b426d84b
arm64: dts: qcom: pm8998: Add pm8998 thermal zone

The thermal zone uses spmi-temp-alarm as sensor, the trip points
correspond to the PMIC thermal stages 1 and 2. The critical trip
point at 125°C disables the partial PMIC shutdown at stage 2.

Without an IIO input the sensor only reports a limited number of
temperatures:

- 37°C for temperatures below 105°C
- 107°C for temperatures >= 105°C and < 125°C
- 127°C for temperatures >= 125°C

(the numbers correspond to a stage 1 threshold of 105°C)

Signed-off-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/pm8998.dtsi