mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
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
This commit is contained in:
parent
67a066b357
commit
dc4014752e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user