]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: dma: fsl-edma: fix dma-channels constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 21 May 2024 08:30:02 +0000 (10:30 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 11 Jun 2024 18:01:45 +0000 (23:31 +0530)
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@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>
Documentation/devicetree/bindings/dma/fsl,edma.yaml

index acfb4b2ee7a960dfae3ac24a81ba0d01a6bc5230..d54140f18d34056b04253c1592c22e2b0ee3ccab 100644 (file)
@@ -59,8 +59,8 @@ properties:
       - 3
 
   dma-channels:
-    minItems: 1
-    maxItems: 64
+    minimum: 1
+    maximum: 64
 
   clocks:
     minItems: 1