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 0abd6ba82dfd9fe51e6b8f36c51139859afd1a2a..82836086cac1492e808a9043d8d2aa40bb7c1780 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 6eaabb4d82ec21cbb9bd939dc32a2c1b24d54e7f..81f09df7147ec31c7dd0941f70b4e0146b2d9bd8 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 9248bfc16d484a12b2a8fb37ab87f11a15833a42..d5296e6053a1881650b8e8ff2524ea01689b7395 100644 (file)
@@ -34,7 +34,6 @@ properties:
     const: 1
 
   clock-output-names:
-    minItems: 3
     maxItems: 3
     description: Names for AP, CP and BT clocks.