linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas
@ 2024-04-25 19:14 Luca Weiss
  2024-04-25 19:14 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated Luca Weiss
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Luca Weiss @ 2024-04-25 19:14 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
	Mathieu Poirier, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Konrad Dybcio, Andy Gross
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	Krzysztof Kozlowski, Luca Weiss

The mboxes property has been supported in those bindings since a while
and was always meant to the replace qcom,ipc properties, so let's mark
qcom,ipc as deprecated - and update the examples to use mboxes.

Related:
https://lore.kernel.org/linux-arm-msm/20240424-apcs-mboxes-v1-0-6556c47cb501@z3ntu.xyz/

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
Luca Weiss (2):
      dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated
      dt-bindings: soc: qcom,smp2p: Mark qcom,ipc as deprecated

 Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml | 3 ++-
 Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
base-commit: a59668a9397e7245b26e9be85d23f242ff757ae8
change-id: 20240425-qcom-ipc-deprecate-37afbe33cadc

Best regards,
-- 
Luca Weiss <luca@z3ntu.xyz>


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

* [PATCH 1/2] dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated
  2024-04-25 19:14 [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas Luca Weiss
@ 2024-04-25 19:14 ` Luca Weiss
  2024-04-29 16:01   ` Rob Herring
  2024-04-25 19:14 ` [PATCH 2/2] dt-bindings: soc: qcom,smp2p: " Luca Weiss
  2024-05-07 14:11 ` (subset) [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Luca Weiss @ 2024-04-25 19:14 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
	Mathieu Poirier, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Konrad Dybcio, Andy Gross
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	Krzysztof Kozlowski, Luca Weiss

Deprecate the qcom,ipc way of accessing the mailbox in favor of the
'mboxes' property.

Update the example to use mboxes.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml
index 02c85b420c1a..63500b1a0f6f 100644
--- a/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml
+++ b/Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml
@@ -61,6 +61,7 @@ properties:
     description:
       Three entries specifying the outgoing ipc bit used for signaling the
       remote processor.
+    deprecated: true
 
   qcom,smd-edge:
     $ref: /schemas/types.yaml#/definitions/uint32
@@ -111,7 +112,7 @@ examples:
         smd-edge {
             interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
 
-            qcom,ipc = <&apcs 8 8>;
+            mboxes = <&apcs 8>;
             qcom,smd-edge = <1>;
         };
     };

-- 
2.44.0


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

* [PATCH 2/2] dt-bindings: soc: qcom,smp2p: Mark qcom,ipc as deprecated
  2024-04-25 19:14 [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas Luca Weiss
  2024-04-25 19:14 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated Luca Weiss
@ 2024-04-25 19:14 ` Luca Weiss
  2024-04-29 16:01   ` Rob Herring
  2024-05-07 14:11 ` (subset) [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Luca Weiss @ 2024-04-25 19:14 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Bjorn Andersson,
	Mathieu Poirier, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Konrad Dybcio, Andy Gross
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	Krzysztof Kozlowski, Luca Weiss

Deprecate the qcom,ipc way of accessing the mailbox in favor of the
'mboxes' property.

Update the example to use mboxes.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml
index 58500529b90f..141d666dc3f7 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml
@@ -41,6 +41,7 @@ properties:
     description:
       Three entries specifying the outgoing ipc bit used for signaling the
       remote end of the smp2p edge.
+    deprecated: true
 
   qcom,local-pid:
     $ref: /schemas/types.yaml#/definitions/uint32
@@ -128,7 +129,7 @@ examples:
         compatible = "qcom,smp2p";
         qcom,smem = <431>, <451>;
         interrupts = <GIC_SPI 143 IRQ_TYPE_EDGE_RISING>;
-        qcom,ipc = <&apcs 8 18>;
+        mboxes = <&apcs 18>;
         qcom,local-pid = <0>;
         qcom,remote-pid = <4>;
 

-- 
2.44.0


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

* Re: [PATCH 2/2] dt-bindings: soc: qcom,smp2p: Mark qcom,ipc as deprecated
  2024-04-25 19:14 ` [PATCH 2/2] dt-bindings: soc: qcom,smp2p: " Luca Weiss
@ 2024-04-29 16:01   ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2024-04-29 16:01 UTC (permalink / raw)
  To: Luca Weiss
  Cc: Conor Dooley, phone-devel, Konrad Dybcio, Mathieu Poirier,
	linux-kernel, linux-remoteproc, Krzysztof Kozlowski,
	Krzysztof Kozlowski, ~postmarketos/upstreaming, Bjorn Andersson,
	Andy Gross, linux-arm-msm, devicetree


On Thu, 25 Apr 2024 21:14:31 +0200, Luca Weiss wrote:
> Deprecate the qcom,ipc way of accessing the mailbox in favor of the
> 'mboxes' property.
> 
> Update the example to use mboxes.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
>  Documentation/devicetree/bindings/soc/qcom/qcom,smp2p.yaml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: [PATCH 1/2] dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated
  2024-04-25 19:14 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated Luca Weiss
@ 2024-04-29 16:01   ` Rob Herring
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Herring @ 2024-04-29 16:01 UTC (permalink / raw)
  To: Luca Weiss
  Cc: Bjorn Andersson, Krzysztof Kozlowski, linux-arm-msm, phone-devel,
	Mathieu Poirier, Konrad Dybcio, linux-kernel,
	Krzysztof Kozlowski, Conor Dooley, Andy Gross,
	~postmarketos/upstreaming, linux-remoteproc, devicetree


On Thu, 25 Apr 2024 21:14:30 +0200, Luca Weiss wrote:
> Deprecate the qcom,ipc way of accessing the mailbox in favor of the
> 'mboxes' property.
> 
> Update the example to use mboxes.
> 
> Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
> ---
>  Documentation/devicetree/bindings/remoteproc/qcom,smd-edge.yaml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>


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

* Re: (subset) [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas
  2024-04-25 19:14 [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas Luca Weiss
  2024-04-25 19:14 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated Luca Weiss
  2024-04-25 19:14 ` [PATCH 2/2] dt-bindings: soc: qcom,smp2p: " Luca Weiss
@ 2024-05-07 14:11 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2024-05-07 14:11 UTC (permalink / raw)
  To: ~postmarketos/upstreaming, phone-devel, Mathieu Poirier,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio,
	Andy Gross, Luca Weiss
  Cc: linux-arm-msm, linux-remoteproc, devicetree, linux-kernel,
	Krzysztof Kozlowski


On Thu, 25 Apr 2024 21:14:29 +0200, Luca Weiss wrote:
> The mboxes property has been supported in those bindings since a while
> and was always meant to the replace qcom,ipc properties, so let's mark
> qcom,ipc as deprecated - and update the examples to use mboxes.
> 
> Related:
> https://lore.kernel.org/linux-arm-msm/20240424-apcs-mboxes-v1-0-6556c47cb501@z3ntu.xyz/
> 
> [...]

Applied, thanks!

[1/2] dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated
      commit: 335617f0d502f80c9b9410c518222b2cb33878e8

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

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

end of thread, other threads:[~2024-05-07 14:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 19:14 [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas Luca Weiss
2024-04-25 19:14 ` [PATCH 1/2] dt-bindings: remoteproc: qcom,smd-edge: Mark qcom,ipc as deprecated Luca Weiss
2024-04-29 16:01   ` Rob Herring
2024-04-25 19:14 ` [PATCH 2/2] dt-bindings: soc: qcom,smp2p: " Luca Weiss
2024-04-29 16:01   ` Rob Herring
2024-05-07 14:11 ` (subset) [PATCH 0/2] Mark qcom,ipc as deprecated in two schemas Bjorn Andersson

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