All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema
@ 2022-07-23  8:23 Krzysztof Kozlowski
  2022-07-23  8:23 ` [PATCH 2/2] dt-bindings: soc: qcom: smd-rpm: extend example Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-07-23  8:23 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

The child node of smd is an SMD edge representing remote subsystem.
Bring back missing reference from previously sent patch (disappeared
when applying).

Link: https://lore.kernel.org/r/20220517070113.18023-9-krzysztof.kozlowski@linaro.org
Fixes: 385fad1303af ("dt-bindings: remoteproc: qcom,smd-edge: define re-usable schema for smd-edge")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml
index 62bebb5f83bc..9b3efe97f47c 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml
@@ -21,7 +21,7 @@ properties:
 
 patternProperties:
   "^.*-edge|rpm$":
-    type: object
+    $ref: /schemas/remoteproc/qcom,smd-edge.yaml#
     description:
       Each subnode of the SMD node represents a remote subsystem or a remote
       processor of some sort - or in SMD language an "edge". The name of the
-- 
2.34.1


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

* [PATCH 2/2] dt-bindings: soc: qcom: smd-rpm: extend example
  2022-07-23  8:23 [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema Krzysztof Kozlowski
@ 2022-07-23  8:23 ` Krzysztof Kozlowski
  2022-07-25 19:18   ` Rob Herring
  2022-07-23  8:27 ` [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema Krzysztof Kozlowski
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-07-23  8:23 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel
  Cc: Krzysztof Kozlowski

Replace existing limited example with proper code for Qualcomm Resource
Power Manager (RPM) over SMD based on MSM8916.  This also fixes the
example's indentation.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 .../bindings/soc/qcom/qcom,smd-rpm.yaml       | 33 +++++++++++++++----
 1 file changed, 27 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
index 50f834563e19..09d5bfa920f2 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.yaml
@@ -92,12 +92,33 @@ examples:
             qcom,ipc = <&apcs 8 0>;
             qcom,smd-edge = <15>;
 
-                rpm-requests {
-                        compatible = "qcom,rpm-msm8974";
-                        qcom,smd-channels = "rpm_requests";
+            rpm-requests {
+                compatible = "qcom,rpm-msm8916";
+                qcom,smd-channels = "rpm_requests";
+
+                clock-controller {
+                    compatible = "qcom,rpmcc-msm8916", "qcom,rpmcc";
+                    #clock-cells = <1>;
+                    clocks = <&xo_board>;
+                    clock-names = "xo";
+                };
 
-                        /* Regulator nodes to follow */
+                power-controller {
+                    compatible = "qcom,msm8916-rpmpd";
+                    #power-domain-cells = <1>;
+                    operating-points-v2 = <&rpmpd_opp_table>;
+
+                    rpmpd_opp_table: opp-table {
+                        compatible = "operating-points-v2";
+
+                        opp-1 {
+                            opp-level = <1>;
+                        };
+                        opp-2 {
+                            opp-level = <2>;
+                        };
+                    };
                 };
             };
-     };
-...
+        };
+    };
-- 
2.34.1


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

* Re: [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema
  2022-07-23  8:23 [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema Krzysztof Kozlowski
  2022-07-23  8:23 ` [PATCH 2/2] dt-bindings: soc: qcom: smd-rpm: extend example Krzysztof Kozlowski
@ 2022-07-23  8:27 ` Krzysztof Kozlowski
  2022-07-25 19:17 ` Rob Herring
  2022-08-10 15:43 ` Bjorn Andersson
  3 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-07-23  8:27 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski, linux-arm-msm, devicetree, linux-kernel

On 23/07/2022 10:23, Krzysztof Kozlowski wrote:
> The child node of smd is an SMD edge representing remote subsystem.
> Bring back missing reference from previously sent patch (disappeared
> when applying).
> 
> Link: https://lore.kernel.org/r/20220517070113.18023-9-krzysztof.kozlowski@linaro.org
> Fixes: 385fad1303af ("dt-bindings: remoteproc: qcom,smd-edge: define re-usable schema for smd-edge")

To be clear:
This is a fix for above commit (which got changed after applying, maybe
because of merge conflict), so should go via the same tree - remoteproc.

Best regards,
Krzysztof

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

* Re: [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema
  2022-07-23  8:23 [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema Krzysztof Kozlowski
  2022-07-23  8:23 ` [PATCH 2/2] dt-bindings: soc: qcom: smd-rpm: extend example Krzysztof Kozlowski
  2022-07-23  8:27 ` [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema Krzysztof Kozlowski
@ 2022-07-25 19:17 ` Rob Herring
  2022-07-25 20:22   ` Krzysztof Kozlowski
  2022-08-10 15:43 ` Bjorn Andersson
  3 siblings, 1 reply; 7+ messages in thread
From: Rob Herring @ 2022-07-25 19:17 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Bjorn Andersson, Konrad Dybcio, linux-kernel,
	devicetree, Andy Gross, Krzysztof Kozlowski, linux-arm-msm

On Sat, 23 Jul 2022 10:23:57 +0200, Krzysztof Kozlowski wrote:
> The child node of smd is an SMD edge representing remote subsystem.
> Bring back missing reference from previously sent patch (disappeared
> when applying).
> 
> Link: https://lore.kernel.org/r/20220517070113.18023-9-krzysztof.kozlowski@linaro.org
> Fixes: 385fad1303af ("dt-bindings: remoteproc: qcom,smd-edge: define re-usable schema for smd-edge")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 2/2] dt-bindings: soc: qcom: smd-rpm: extend example
  2022-07-23  8:23 ` [PATCH 2/2] dt-bindings: soc: qcom: smd-rpm: extend example Krzysztof Kozlowski
@ 2022-07-25 19:18   ` Rob Herring
  0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2022-07-25 19:18 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Bjorn Andersson, linux-kernel, linux-arm-msm, Konrad Dybcio,
	Andy Gross, Rob Herring, Krzysztof Kozlowski, devicetree

On Sat, 23 Jul 2022 10:23:58 +0200, Krzysztof Kozlowski wrote:
> Replace existing limited example with proper code for Qualcomm Resource
> Power Manager (RPM) over SMD based on MSM8916.  This also fixes the
> example's indentation.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  .../bindings/soc/qcom/qcom,smd-rpm.yaml       | 33 +++++++++++++++----
>  1 file changed, 27 insertions(+), 6 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema
  2022-07-25 19:17 ` Rob Herring
@ 2022-07-25 20:22   ` Krzysztof Kozlowski
  0 siblings, 0 replies; 7+ messages in thread
From: Krzysztof Kozlowski @ 2022-07-25 20:22 UTC (permalink / raw)
  To: Rob Herring
  Cc: Rob Herring, Bjorn Andersson, Konrad Dybcio, linux-kernel,
	devicetree, Andy Gross, Krzysztof Kozlowski, linux-arm-msm

On 25/07/2022 21:17, Rob Herring wrote:
> On Sat, 23 Jul 2022 10:23:57 +0200, Krzysztof Kozlowski wrote:
>> The child node of smd is an SMD edge representing remote subsystem.
>> Bring back missing reference from previously sent patch (disappeared
>> when applying).
>>
>> Link: https://lore.kernel.org/r/20220517070113.18023-9-krzysztof.kozlowski@linaro.org
>> Fixes: 385fad1303af ("dt-bindings: remoteproc: qcom,smd-edge: define re-usable schema for smd-edge")
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>>  Documentation/devicetree/bindings/soc/qcom/qcom,smd.yaml | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
> 
> Acked-by: Rob Herring <robh@kernel.org>


Bjorn,

Can you take it for v5.20 via remote-proc?

Best regards,
Krzysztof

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

* Re: [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema
  2022-07-23  8:23 [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema Krzysztof Kozlowski
                   ` (2 preceding siblings ...)
  2022-07-25 19:17 ` Rob Herring
@ 2022-08-10 15:43 ` Bjorn Andersson
  3 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2022-08-10 15:43 UTC (permalink / raw)
  To: konrad.dybcio, krzysztof.kozlowski+dt, krzysztof.kozlowski,
	linux-kernel, robh+dt, linux-arm-msm, agross, devicetree

On Sat, 23 Jul 2022 10:23:57 +0200, Krzysztof Kozlowski wrote:
> The child node of smd is an SMD edge representing remote subsystem.
> Bring back missing reference from previously sent patch (disappeared
> when applying).
> 
> 

Applied, thanks!

[1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema
      commit: 568f83ffe69ba38cc10f36417d6cbb6eee4dc802
[2/2] dt-bindings: soc: qcom: smd-rpm: extend example
      commit: 56e07c0c9e4a4b59a47a848b021a42cf203c982c

Best regards,
-- 
Bjorn Andersson <bjorn.andersson@linaro.org>

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

end of thread, other threads:[~2022-08-10 15:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23  8:23 [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema Krzysztof Kozlowski
2022-07-23  8:23 ` [PATCH 2/2] dt-bindings: soc: qcom: smd-rpm: extend example Krzysztof Kozlowski
2022-07-25 19:18   ` Rob Herring
2022-07-23  8:27 ` [PATCH 1/2] dt-bindings: soc: qcom: smd: reference SMD edge schema Krzysztof Kozlowski
2022-07-25 19:17 ` Rob Herring
2022-07-25 20:22   ` Krzysztof Kozlowski
2022-08-10 15:43 ` Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.