diff mbox series

[v6,1/4] dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems'

Message ID 1612675154-2747-2-git-send-email-hsin-hsiung.wang@mediatek.com
State Superseded
Headers show
Series [v6,1/4] dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems' | expand

Commit Message

Hsin-Hsiung Wang Feb. 7, 2021, 5:19 a.m. UTC
The constraint of 'maxItem: 1' might be larger than 1, so we modify it
to 'minItem: 1'.

Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
---
changes since v5:
- update the constraint of minItem to 1.
---
 Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rob Herring Feb. 10, 2021, 4:47 p.m. UTC | #1
On Sun, 07 Feb 2021 13:19:11 +0800, Hsin-Hsiung Wang wrote:
> The constraint of 'maxItem: 1' might be larger than 1, so we modify it

> to 'minItem: 1'.

> 

> Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>

> ---

> changes since v5:

> - update the constraint of minItem to 1.

> ---

>  Documentation/devicetree/bindings/spmi/spmi.yaml | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 


Acked-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml
index 173940930719..12dbf6567d16 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