[RESEND, v13 1/4] dt-bindings: spmi: modify the constraint of reg property
James Lo
james.lo at mediatek.com
Wed Nov 3 01:10:18 PDT 2021
The constraint of reg may larger than 1, so we modify to
'minItem: 1' and 'maxItem: 2'.
Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang at mediatek.com>
Acked-by: Rob Herring <robh at kernel.org>
---
Documentation/devicetree/bindings/spmi/spmi.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml
index 1d243faef2f8..f29183a45adc 100644
--- a/Documentation/devicetree/bindings/spmi/spmi.yaml
+++ b/Documentation/devicetree/bindings/spmi/spmi.yaml
@@ -25,7 +25,8 @@ properties:
pattern: "^spmi at .*"
reg:
- maxItems: 1
+ maxItems: 2
+ minItems: 1
"#address-cells":
const: 2
--
2.18.0
More information about the linux-arm-kernel
mailing list