dt-bindings: pinctrl: qcom: drop minItems equal to maxItems
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 16 Oct 2022 17:36:25 +0000 (13:36 -0400)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 19 Oct 2022 14:42:39 +0000 (10:42 -0400)
If minItems are missing, they are implicitly equal to maxItems.
Dropping redundant minItems simplifies a bit the binding.

Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Iskren Chernev <iskren.chernev@gmail.com>
Link: https://lore.kernel.org/r/20221016173625.53769-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Documentation/devicetree/bindings/pinctrl/qcom,sc7280-lpass-lpi-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/qcom,sm6115-tlmm.yaml

index 8270debd4f251c041b2397c1a514952f25174d89..f7ec8a4f664fe79471eb9cc0ae9c0303b5dcf567 100644 (file)
@@ -23,7 +23,6 @@ properties:
     type: boolean
 
   reg:
-    minItems: 2
     maxItems: 2
 
   gpio-controller: true
index 51bae1d3f15023fd38126d44beffd7100521139c..164f24db8b2b6521bcb4aeaec31ac999d29072c7 100644 (file)
@@ -18,7 +18,6 @@ properties:
     const: qcom,sm6115-tlmm
 
   reg:
-    minItems: 3
     maxItems: 3
 
   reg-names: