[PATCH v10 1/5] dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems'

From
Hsin-Hsiung Wang <hidden>
Date
2021-08-03 06:34:35
Also in
linux-arm-kernel, linux-mediatek, lkml
Reply to
Hsin-Hsiung Wang, 2021-08-03
The constraint of 'maxItem: 1' might be larger than 1, so we modify it
to 'minItem: 1'.

Signed-off-by: Hsin-Hsiung Wang <redacted>
Acked-by: Rob Herring <robh@kernel.org>
---
changes since v9:
- No change.
---
 Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml
index 1d243faef2f8..5938d807674f 100644
--- a/Documentation/devicetree/bindings/spmi/spmi.yaml
+++ b/Documentation/devicetree/bindings/spmi/spmi.yaml
@@ -25,7 +25,7 @@ properties:
     pattern: "^spmi@.*"
 
   reg:
-    maxItems: 1
+    minItems: 1
 
   "#address-cells":
     const: 2
-- 
2.18.0
Thread (11 messages) 11 messages, 2 authors, last reply 2021-08-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help