]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
thermal/drivers/qcom/lmh: Add support for sm8150
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 6 Jan 2022 17:31:36 +0000 (12:31 -0500)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 8 Mar 2022 20:26:09 +0000 (21:26 +0100)
commitcf0c54db636c9107b0c1f1b57ab7f18fa2fef478
tree0510c94b1679473e584e1779be15542f9ed779ae
parent8556e19d4939fbdb15aee9391f035453c5b2255a
thermal/drivers/qcom/lmh: Add support for sm8150

Add compatible to support LMh for sm8150 SoC.
sm8150 does not require explicit enabling for various LMh subsystems.
Add a variable indicating the same as match data which is set for sdm845.
Execute the piece of code enabling various LMh subsystems only if
enable algorithm match data is present.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220106173138.411097-2-thara.gopinath@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/qcom/lmh.c