projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d37f5c
)
thermal/drivers/qcom/lmh: Add sc8180x compatible
author
Bjorn Andersson
<bjorn.andersson@linaro.org>
Mon, 2 May 2022 16:45:03 +0000
(09:45 -0700)
committer
Daniel Lezcano
<daniel.lezcano@linaro.org>
Thu, 19 May 2022 10:11:52 +0000
(12:11 +0200)
The LMh instances in the Qualcomm SC8180X platform looks to behave
similar to those in SM8150, add additional compatibles to allow
platform specific behavior to be added if needed.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link:
https://lore.kernel.org/r/20220502164504.3972938-1-bjorn.andersson@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/qcom/lmh.c
patch
|
blob
|
history
diff --git
a/drivers/thermal/qcom/lmh.c
b/drivers/thermal/qcom/lmh.c
index c7f91cbdccc7b4974d16624dda37c1127f0ff19f..d3d9b9fa49e8191d7bcd8a4a506ea82f02db2685 100644
(file)
--- a/
drivers/thermal/qcom/lmh.c
+++ b/
drivers/thermal/qcom/lmh.c
@@
-220,6
+220,7
@@
static int lmh_probe(struct platform_device *pdev)
}
static const struct of_device_id lmh_table[] = {
+ { .compatible = "qcom,sc8180x-lmh", },
{ .compatible = "qcom,sdm845-lmh", .data = (void *)LMH_ENABLE_ALGOS},
{ .compatible = "qcom,sm8150-lmh", },
{}