linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: mmc: brcm,sdhci-brcmstb: correct number of reg entries
@ 2022-04-28  8:18 Krzysztof Kozlowski
  2022-04-28  8:18 ` [PATCH 2/2] dt-bindings: mmc: brcm,sdhci-brcmstb: cleanup example Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-28  8:18 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Krzysztof Kozlowski, Florian Fainelli,
	Broadcom Kernel Team, Al Cooper, linux-mmc, devicetree,
	linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

The binding should not allow infinite number of 'reg' entries, so add
strict limit.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml
index dccd5ad96981..54a0edab5f8c 100644
--- a/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml
+++ b/Documentation/devicetree/bindings/mmc/brcm,sdhci-brcmstb.yaml
@@ -31,7 +31,7 @@ properties:
           - const: brcm,sdhci-brcmstb
 
   reg:
-    minItems: 2
+    maxItems: 2
 
   reg-names:
     items:
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-04 10:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28  8:18 [PATCH 1/2] dt-bindings: mmc: brcm,sdhci-brcmstb: correct number of reg entries Krzysztof Kozlowski
2022-04-28  8:18 ` [PATCH 2/2] dt-bindings: mmc: brcm,sdhci-brcmstb: cleanup example Krzysztof Kozlowski
2022-04-28 15:00   ` Florian Fainelli
2022-05-04 10:37   ` Ulf Hansson
2022-04-28 15:00 ` [PATCH 1/2] dt-bindings: mmc: brcm,sdhci-brcmstb: correct number of reg entries Florian Fainelli
2022-05-04 10:37 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).