Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: arm: keystone: ti,sci: Correct reg and mboxes constraints
@ 2026-10-02  6:30 Krzysztof Kozlowski
  2026-10-02 16:49 ` Conor Dooley
  2026-10-08 20:11 ` Rob Herring (Arm)
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2026-10-02  6:30 UTC (permalink / raw)
  To: Nishanth Menon, Tero Kristo, Santosh Shilimkar, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel, devicetree,
	linux-kernel
  Cc: Krzysztof Kozlowski

minItems does not impose any limit on actual maximum number of items in
a list, thus it needs maxItems.  maxItems on the other hand does imply
minItems.  Add missing upper bound on 'reg' and 'mboxes'.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index 25a2b42105e5..052e23966a8f 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -48,7 +48,7 @@ properties:
     const: debug_messages
 
   reg:
-    minItems: 1
+    maxItems: 1
 
   mbox-names:
     description: |
@@ -59,7 +59,7 @@ properties:
       - const: tx
 
   mboxes:
-    minItems: 2
+    maxItems: 2
 
   ti,host-id:
     $ref: /schemas/types.yaml#/definitions/uint32
-- 
2.53.0



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

* Re: [PATCH] dt-bindings: arm: keystone: ti,sci: Correct reg and mboxes constraints
  2026-10-02  6:30 [PATCH] dt-bindings: arm: keystone: ti,sci: Correct reg and mboxes constraints Krzysztof Kozlowski
@ 2026-10-02 16:49 ` Conor Dooley
  2026-10-08 20:11 ` Rob Herring (Arm)
  1 sibling, 0 replies; 3+ messages in thread
From: Conor Dooley @ 2026-10-02 16:49 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Nishanth Menon, Tero Kristo, Santosh Shilimkar, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, linux-arm-kernel, devicetree,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 52 bytes --]

Acked-by: Conor Dooley <conor.dooley@microchip.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* Re: [PATCH] dt-bindings: arm: keystone: ti,sci: Correct reg and mboxes constraints
  2026-10-02  6:30 [PATCH] dt-bindings: arm: keystone: ti,sci: Correct reg and mboxes constraints Krzysztof Kozlowski
  2026-10-02 16:49 ` Conor Dooley
@ 2026-10-08 20:11 ` Rob Herring (Arm)
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-10-08 20:11 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Conor Dooley, Tero Kristo, linux-kernel, Krzysztof Kozlowski,
	linux-arm-kernel, devicetree, Nishanth Menon, Santosh Shilimkar


On Fri, 02 Oct 2026 08:30:12 +0200, Krzysztof Kozlowski wrote:
> minItems does not impose any limit on actual maximum number of items in
> a list, thus it needs maxItems.  maxItems on the other hand does imply
> minItems.  Add missing upper bound on 'reg' and 'mboxes'.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
> ---
>  Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!



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

end of thread, other threads:[~2026-10-08 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-02  6:30 [PATCH] dt-bindings: arm: keystone: ti,sci: Correct reg and mboxes constraints Krzysztof Kozlowski
2026-10-02 16:49 ` Conor Dooley
2026-10-08 20:11 ` Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox