dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
authorSamuel Holland <samuel@sholland.org>
Sat, 2 Jul 2022 03:19:02 +0000 (22:19 -0500)
committerVinod Koul <vkoul@kernel.org>
Wed, 6 Jul 2022 16:27:05 +0000 (21:57 +0530)
The conditional block for variants with a second clock should have set
minItems, not maxItems, which was already 2. Since clock-names requires
two items, this typo should not have caused any problems.

Fixes: edd14218bd66 ("dt-bindings: dmaengine: Convert Allwinner A31 and A64 DMA to a schema")
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220702031903.21703-1-samuel@sholland.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/dma/allwinner,sun50i-a64-dma.yaml

index ff0a5c5..e712444 100644 (file)
@@ -67,7 +67,7 @@ if:
 then:
   properties:
     clocks:
-      maxItems: 2
+      minItems: 2
 
   required:
     - clock-names