]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: qcom: sm8350: Add thermal zones and throttling support
authorRobert Foss <robert.foss@linaro.org>
Wed, 24 Mar 2021 12:43:10 +0000 (13:43 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 30 Mar 2021 03:46:55 +0000 (22:46 -0500)
commit54a9db878fbd3568f6cb308b0b0b4231fb883931
treebcd9e2af84b18c0eb2fc89a27510690a935971fc
parent911c6ce069b564b54c3368e377f88939255fc77a
arm64: dts: qcom: sm8350: Add thermal zones and throttling support

sm8350 has 29 thermal sensors split across two tsens controllers. Add
the thermal zones to expose them and wireup the cpus to throttle their
frequencies on crossing passive temperature thresholds.

Signed-off-by: Robert Foss <robert.foss@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20210324124308.1265626-2-robert.foss@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sm8350.dtsi