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

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.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2cbd2726
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -23,7 +23,8 @@ properties:
    minItems: 1
    maxItems: 256
    items:
      minimum: 0
      items:
        - minimum: 0
          maximum: 256
    description:
      Chip select used by the device.