[PATCH v6 1/4] dt-bindings: spmi: modify the constraint 'maxItems' to 'minItems'
Hsin-Hsiung Wang
hsin-hsiung.wang at mediatek.com
Sun Feb 7 00:19:11 EST 2021
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 at 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(-)
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 at .*"
reg:
- maxItems: 1
+ minItems: 1
"#address-cells":
const: 2
--
2.18.0
More information about the linux-arm-kernel
mailing list