dt-bindings: clock: drop minItems equal to maxItems
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 25 Aug 2022 11:33:32 +0000 (14:33 +0300)
committerStephen Boyd <sboyd@kernel.org>
Tue, 30 Aug 2022 22:07:08 +0000 (15:07 -0700)
minItems, if missing, are implicitly equal to maxItems, so drop
redundant piece to reduce size of code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220825113334.196908-3-krzysztof.kozlowski@linaro.org
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Documentation/devicetree/bindings/clock/cirrus,cs2000-cp.yaml
Documentation/devicetree/bindings/clock/renesas,rcar-usb2-clock-sel.yaml
Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml

index 0abd6ba..8283608 100644 (file)
@@ -23,7 +23,6 @@ properties:
   clocks:
     description:
       Common clock binding for CLK_IN, XTI/REF_CLK
-    minItems: 2
     maxItems: 2
 
   clock-names:
index 6eaabb4..81f09df 100644 (file)
@@ -47,7 +47,6 @@ properties:
     maxItems: 1
 
   clocks:
-    minItems: 4
     maxItems: 4
 
   clock-names:
@@ -64,7 +63,6 @@ properties:
     maxItems: 1
 
   resets:
-    minItems: 2
     maxItems: 2
 
   reset-names:
index 9248bfc..d5296e6 100644 (file)
@@ -34,7 +34,6 @@ properties:
     const: 1
 
   clock-output-names:
-    minItems: 3
     maxItems: 3
     description: Names for AP, CP and BT clocks.