Skip to content

Commit 60b1e97

Browse files
robherringbroonie
authored andcommitted
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: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20220126231326.1636199-1-robh@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 2cbd272 commit 60b1e97

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ properties:
2323
minItems: 1
2424
maxItems: 256
2525
items:
26-
minimum: 0
27-
maximum: 256
26+
items:
27+
- minimum: 0
28+
maximum: 256
2829
description:
2930
Chip select used by the device.
3031

0 commit comments

Comments
 (0)