dt-bindings: serial: uniphier: Use maxItems for a single clock
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Wed, 30 Mar 2022 05:15:37 +0000 (14:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Apr 2022 09:08:19 +0000 (11:08 +0200)
'maxItems' is preferred for a single entry, not 'minItems'.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Link: https://lore.kernel.org/r/1648617338-8600-2-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/socionext,uniphier-uart.yaml

index d490c7c..0635302 100644 (file)
@@ -20,7 +20,7 @@ properties:
     maxItems: 1
 
   clocks:
-    minItems: 1
+    maxItems: 1
 
   auto-flow-control:
     description: enable automatic flow control support.