2022-05-03 00:10:08

by Bjorn Andersson

[permalink] [raw]
Subject: [PATCH 1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible

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 <[email protected]>
---
drivers/thermal/qcom/lmh.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/thermal/qcom/lmh.c b/drivers/thermal/qcom/lmh.c
index c7f91cbdccc7..d3d9b9fa49e8 100644
--- 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", },
{}
--
2.35.1


2022-05-09 10:56:58

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [PATCH 1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible

On 02/05/2022 18:45, Bjorn Andersson wrote:
> 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 <[email protected]>
> ---

Applied, thanks

--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog