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

From: Krzysztof Kozlowski
Date: Tue May 21 2024 - 04:30:41 EST


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: <stable@xxxxxxxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
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