2021-06-17 21:32:45

by Olivier Dautricourt

[permalink] [raw]
Subject: [PATCH 1/2] dt-bindings: dma: altera-msgdma: make response port optional

Response port is not required in some configuration of the IP core.

Signed-off-by: Olivier Dautricourt <[email protected]>
---
Documentation/devicetree/bindings/dma/altr,msgdma.yaml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/dma/altr,msgdma.yaml b/Documentation/devicetree/bindings/dma/altr,msgdma.yaml
index a4f9fe23dcd9..b193ee2db4a7 100644
--- a/Documentation/devicetree/bindings/dma/altr,msgdma.yaml
+++ b/Documentation/devicetree/bindings/dma/altr,msgdma.yaml
@@ -24,13 +24,15 @@ properties:
items:
- description: Control and Status Register Slave Port
- description: Descriptor Slave Port
- - description: Response Slave Port
+ - description: Response Slave Port (Optional)
+ minItems: 2

reg-names:
items:
- const: csr
- const: desc
- const: resp
+ minItems: 2

interrupts:
maxItems: 1
--
2.31.0.rc2


2021-06-18 06:21:43

by Stefan Roese

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: dma: altera-msgdma: make response port optional

On 17.06.21 21:52, Olivier Dautricourt wrote:
> Response port is not required in some configuration of the IP core.
>
> Signed-off-by: Olivier Dautricourt <[email protected]>

Reviewed-by: Stefan Roese <[email protected]>

Thanks,
Stefan

> ---
> Documentation/devicetree/bindings/dma/altr,msgdma.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/dma/altr,msgdma.yaml b/Documentation/devicetree/bindings/dma/altr,msgdma.yaml
> index a4f9fe23dcd9..b193ee2db4a7 100644
> --- a/Documentation/devicetree/bindings/dma/altr,msgdma.yaml
> +++ b/Documentation/devicetree/bindings/dma/altr,msgdma.yaml
> @@ -24,13 +24,15 @@ properties:
> items:
> - description: Control and Status Register Slave Port
> - description: Descriptor Slave Port
> - - description: Response Slave Port
> + - description: Response Slave Port (Optional)
> + minItems: 2
>
> reg-names:
> items:
> - const: csr
> - const: desc
> - const: resp
> + minItems: 2
>
> interrupts:
> maxItems: 1
> --
> 2.31.0.rc2
>


Viele Grüße,
Stefan

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]

2021-06-24 21:36:29

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH 1/2] dt-bindings: dma: altera-msgdma: make response port optional

On Thu, 17 Jun 2021 21:52:32 +0200, Olivier Dautricourt wrote:
> Response port is not required in some configuration of the IP core.
>
> Signed-off-by: Olivier Dautricourt <[email protected]>
> ---
> Documentation/devicetree/bindings/dma/altr,msgdma.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>

Reviewed-by: Rob Herring <[email protected]>