Skip to content

Commit 1345a13

Browse files
krzkvinodkoul
authored andcommitted
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: 6eb439d ("dt-bindings: fsl-dma: fsl-edma: add edma3 compatible string") Cc: stable@vger.kernel.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Peng Fan <peng.fan@nxp.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240521083002.23262-1-krzysztof.kozlowski@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent fa555b5 commit 1345a13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/dma/fsl,edma.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ properties:
5959
- 3
6060

6161
dma-channels:
62-
minItems: 1
63-
maxItems: 64
62+
minimum: 1
63+
maximum: 64
6464

6565
clocks:
6666
minItems: 1

0 commit comments

Comments
 (0)