Skip to content

Commit 43167bb

Browse files
robherringbroonie
authored andcommitted
spi: dt-bindings: spi-controller: remove unnecessary 'maxItems: 1' from reg
Mixing array constraints like 'maxItems' and string or integer value constraints like 'minimum' don't make sense. Also, with only value constraints, it is implied we have a single value. So lets remove 'maxItems: 1'. Cc: Mark Brown <[email protected]> Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8cc7720 commit 43167bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Documentation/devicetree/bindings/spi/spi-controller.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ patternProperties:
7373
Compatible of the SPI device.
7474

7575
reg:
76-
maxItems: 1
7776
minimum: 0
7877
maximum: 256
7978
description:

0 commit comments

Comments
 (0)