diff mbox series

[1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible

Message ID 20220502164504.3972938-1-bjorn.andersson@linaro.org
State Accepted
Commit ef6673e8363a61ef941bae05c7913a32a104e20b
Headers show
Series [1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible | expand

Commit Message

Bjorn Andersson May 2, 2022, 4:45 p.m. UTC
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>
---
 drivers/thermal/qcom/lmh.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Krzysztof Kozlowski May 3, 2022, 12:16 p.m. UTC | #1
On 02/05/2022 18:45, Bjorn Andersson wrote:
> Add compatible for the LMh blocks found in the Qualcomm sc8180x
> platform.
> 
> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
> ---
>  Documentation/devicetree/bindings/thermal/qcom-lmh.yaml | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof
Daniel Lezcano May 9, 2022, 10:02 a.m. UTC | #2
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 <bjorn.andersson@linaro.org>
> ---

Applied, thanks
diff mbox series

Patch

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", },
 	{}