summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-06-15 20:20:24 +0300
committerRob Herring <robh@kernel.org>2021-06-21 22:56:46 +0300
commitdc4014752eb7489eff43d426bf6b1caeb4092699 (patch)
tree1f00eb5f0b067e28afec94442faca553aea87006 /Documentation/devicetree/bindings
parent67a066b35765d13a55a56edd9b1f54dee9e441e1 (diff)
downloadlinux-dc4014752eb7489eff43d426bf6b1caeb4092699.tar.xz
dt-bindings: spmi: Correct 'reg' schema
'reg' is defined to be N address entries of M cells each. For SPMI, N is 1 and M is 1 or 2. The schema fails to define the number of entries as it only specifies the inner cell(s). To fix, add an outer items list with 1 entry. Cc: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210615172024.856360-1-robh@kernel.org
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/spmi/spmi.yaml15
1 files changed, 8 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/spmi/spmi.yaml b/Documentation/devicetree/bindings/spmi/spmi.yaml
index 173940930719..1d243faef2f8 100644
--- a/Documentation/devicetree/bindings/spmi/spmi.yaml
+++ b/Documentation/devicetree/bindings/spmi/spmi.yaml
@@ -40,14 +40,15 @@ patternProperties:
properties:
reg:
- minItems: 1
- maxItems: 2
items:
- - minimum: 0
- maximum: 0xf
- - enum: [ 0 ]
- description: |
- 0 means user ID address. 1 is reserved for group ID address.
+ - minItems: 1
+ items:
+ - minimum: 0
+ maximum: 0xf
+ - enum: [ 0 ]
+ description:
+ 0 means user ID address. 1 is reserved for group ID
+ address.
required:
- reg