dt-bindings: mmc: brcm,sdhci-brcmstb: correct number of reg entries
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 28 Apr 2022 08:18:16 +0000 (10:18 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 May 2022 10:07:05 +0000 (12:07 +0200)
The binding should not allow infinite number of 'reg' entries, so add
strict limit.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220428081817.35382-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml

index dccd5ad969817af30c38b1a886af2313a544b43e..54a0edab5f8c4436d7d114d73777e424dfca5015 100644 (file)
@@ -31,7 +31,7 @@ properties:
           - const: brcm,sdhci-brcmstb
 
   reg:
-    minItems: 2
+    maxItems: 2
 
   reg-names:
     items: