Commit 60b1e971 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown

spi: dt-bindings: Fix 'reg' child node schema

The schema for SPI child nodes' 'reg' property is not complete. 'reg' is
a matrix of cells. The schema needs to define both the number of 'reg'
entries and constraints on each entry.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220126231326.1636199-1-robh@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2cbd2726
...@@ -23,7 +23,8 @@ properties: ...@@ -23,7 +23,8 @@ properties:
minItems: 1 minItems: 1
maxItems: 256 maxItems: 256
items: items:
minimum: 0 items:
- minimum: 0
maximum: 256 maximum: 256
description: description:
Chip select used by the device. Chip select used by the device.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment