Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+8 -7
+8 -7
Documentation/devicetree/bindings/spmi/spmi.yaml
··· 40 40 41 41 properties: 42 42 reg: 43 - minItems: 1 44 - maxItems: 2 45 43 items: 46 - - minimum: 0 47 - maximum: 0xf 48 - - enum: [ 0 ] 49 - description: | 50 - 0 means user ID address. 1 is reserved for group ID address. 44 + - minItems: 1 45 + items: 46 + - minimum: 0 47 + maximum: 0xf 48 + - enum: [ 0 ] 49 + description: 50 + 0 means user ID address. 1 is reserved for group ID 51 + address. 51 52 52 53 required: 53 54 - reg