summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-01-27 00:13:26 +0100
committerMark Brown <broonie@kernel.org>2022-01-28 14:05:21 +0100
commit60b1e97140a487608b7cbde774b3cff1b5a99c00 (patch)
treeff408d797a97f04575b61093ae7486ea380f33bb /Documentation
parentspi: bcm-qspi: check for valid cs before applying chip select (diff)
downloadlinux-60b1e97140a487608b7cbde774b3cff1b5a99c00.tar.xz
linux-60b1e97140a487608b7cbde774b3cff1b5a99c00.zip
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
index 5dd209206e88..3ec2d7b83775 100644
--- a/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-peripheral-props.yaml
@@ -23,8 +23,9 @@ properties:
minItems: 1
maxItems: 256
items:
- minimum: 0
- maximum: 256
+ items:
+ - minimum: 0
+ maximum: 256
description:
Chip select used by the device.