linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible
@ 2022-05-02 16:45 Bjorn Andersson
  2022-05-02 16:45 ` [PATCH 2/2] dt-bindings: thermal: lmh: Add Qualcomm " Bjorn Andersson
  2022-05-09 10:02 ` [PATCH 1/2] thermal/drivers/qcom/lmh: Add " Daniel Lezcano
  0 siblings, 2 replies; 4+ messages in thread
From: Bjorn Andersson @ 2022-05-02 16:45 UTC (permalink / raw)
  To: Amit Kucheria, Thara Gopinath, Daniel Lezcano
  Cc: Rafael J. Wysocki, Zhang Rui, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, linux-pm, linux-kernel

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(+)

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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] dt-bindings: thermal: lmh: Add Qualcomm sc8180x compatible
  2022-05-02 16:45 [PATCH 1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible Bjorn Andersson
@ 2022-05-02 16:45 ` Bjorn Andersson
  2022-05-03 12:16   ` Krzysztof Kozlowski
  2022-05-09 10:02 ` [PATCH 1/2] thermal/drivers/qcom/lmh: Add " Daniel Lezcano
  1 sibling, 1 reply; 4+ messages in thread
From: Bjorn Andersson @ 2022-05-02 16:45 UTC (permalink / raw)
  To: Amit Kucheria, Thara Gopinath, Daniel Lezcano, Rob Herring,
	Krzysztof Kozlowski
  Cc: Rafael J. Wysocki, Zhang Rui, linux-arm-msm, linux-pm, linux-kernel

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(+)

diff --git a/Documentation/devicetree/bindings/thermal/qcom-lmh.yaml b/Documentation/devicetree/bindings/thermal/qcom-lmh.yaml
index a9b7388ca9ac..e1587ddf7de3 100644
--- a/Documentation/devicetree/bindings/thermal/qcom-lmh.yaml
+++ b/Documentation/devicetree/bindings/thermal/qcom-lmh.yaml
@@ -18,6 +18,7 @@ description:
 properties:
   compatible:
     enum:
+      - qcom,sc8180x-lmh
       - qcom,sdm845-lmh
       - qcom,sm8150-lmh
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] dt-bindings: thermal: lmh: Add Qualcomm sc8180x compatible
  2022-05-02 16:45 ` [PATCH 2/2] dt-bindings: thermal: lmh: Add Qualcomm " Bjorn Andersson
@ 2022-05-03 12:16   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2022-05-03 12:16 UTC (permalink / raw)
  To: Bjorn Andersson, Amit Kucheria, Thara Gopinath, Daniel Lezcano,
	Rob Herring, Krzysztof Kozlowski
  Cc: Rafael J. Wysocki, Zhang Rui, linux-arm-msm, linux-pm, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible
  2022-05-02 16:45 [PATCH 1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible Bjorn Andersson
  2022-05-02 16:45 ` [PATCH 2/2] dt-bindings: thermal: lmh: Add Qualcomm " Bjorn Andersson
@ 2022-05-09 10:02 ` Daniel Lezcano
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Lezcano @ 2022-05-09 10:02 UTC (permalink / raw)
  To: Bjorn Andersson, Amit Kucheria, Thara Gopinath
  Cc: Rafael J. Wysocki, Zhang Rui, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, linux-pm, linux-kernel

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

-- 
<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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-09 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 16:45 [PATCH 1/2] thermal/drivers/qcom/lmh: Add sc8180x compatible Bjorn Andersson
2022-05-02 16:45 ` [PATCH 2/2] dt-bindings: thermal: lmh: Add Qualcomm " Bjorn Andersson
2022-05-03 12:16   ` Krzysztof Kozlowski
2022-05-09 10:02 ` [PATCH 1/2] thermal/drivers/qcom/lmh: Add " Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).