2024-05-21 08:30:42

by Krzysztof Kozlowski

[permalink] [raw]
Subject: [PATCH] dt-bindings: dma: fsl-edma: fix dma-channels constraints

dma-channels is a number, not a list. Apply proper constraints on the
actual number.

Fixes: 6eb439dff645 ("dt-bindings: fsl-dma: fsl-edma: add edma3 compatible string")
Cc: <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/dma/fsl,edma.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/dma/fsl,edma.yaml b/Documentation/devicetree/bindings/dma/fsl,edma.yaml
index 825f4715499e..9ef99eb54104 100644
--- a/Documentation/devicetree/bindings/dma/fsl,edma.yaml
+++ b/Documentation/devicetree/bindings/dma/fsl,edma.yaml
@@ -60,8 +60,8 @@ properties:
- 3

dma-channels:
- minItems: 1
- maxItems: 64
+ minimum: 1
+ maximum: 64

clocks:
minItems: 1
--
2.43.0



2024-05-21 08:33:40

by Peng Fan

[permalink] [raw]
Subject: RE: [PATCH] dt-bindings: dma: fsl-edma: fix dma-channels constraints

> Subject: [PATCH] dt-bindings: dma: fsl-edma: fix dma-channels constraints
>
> dma-channels is a number, not a list. Apply proper constraints on the actual
> number.
>
> Fixes: 6eb439dff645 ("dt-bindings: fsl-dma: fsl-edma: add edma3 compatible
> string")
> Cc: <[email protected]>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>

Reviewed-by: Peng Fan <[email protected]>

2024-05-21 14:39:29

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: dma: fsl-edma: fix dma-channels constraints


On Tue, 21 May 2024 10:30:02 +0200, Krzysztof Kozlowski wrote:
> dma-channels is a number, not a list. Apply proper constraints on the
> actual number.
>
> Fixes: 6eb439dff645 ("dt-bindings: fsl-dma: fsl-edma: add edma3 compatible string")
> Cc: <[email protected]>
> Signed-off-by: Krzysztof Kozlowski <[email protected]>
> ---
> Documentation/devicetree/bindings/dma/fsl,edma.yaml | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>

Acked-by: Rob Herring (Arm) <[email protected]>


2024-06-11 18:28:52

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: dma: fsl-edma: fix dma-channels constraints


On Tue, 21 May 2024 10:30:02 +0200, Krzysztof Kozlowski wrote:
> dma-channels is a number, not a list. Apply proper constraints on the
> actual number.
>
>

Applied, thanks!

[1/1] dt-bindings: dma: fsl-edma: fix dma-channels constraints
commit: 1345a13f18370ad9e5bc98995959a27f9bd71464

Best regards,
--
Vinod Koul <[email protected]>