diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2021-06-21 19:53:56 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-22 13:55:00 +0200 |
commit | d90609a4b72dbfe42da2a55f3078c35e669948e0 (patch) | |
tree | 98433c9f9ebd4fdce27f6e830b893ac1ac20c848 /Documentation/devicetree/bindings/spi | |
parent | spi: add ancillary device support (diff) | |
download | linux-d90609a4b72dbfe42da2a55f3078c35e669948e0.tar.xz linux-d90609a4b72dbfe42da2a55f3078c35e669948e0.zip |
spi: dt-bindings: support devices with multiple chipselects
Add binding support for devices, that have more than one
chip select. A typical example are SPI connected microcontroller,
that can also be programmed over SPI like NXP Kinetis or
chips with a configuration and a data chip select, such as
Microchip's MRF89XA transceiver.
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20210621175359.126729-3-sebastian.reichel@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-controller.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-controller.yaml b/Documentation/devicetree/bindings/spi/spi-controller.yaml index 0477396e4945..faef4f6f55b8 100644 --- a/Documentation/devicetree/bindings/spi/spi-controller.yaml +++ b/Documentation/devicetree/bindings/spi/spi-controller.yaml @@ -114,8 +114,11 @@ patternProperties: Compatible of the SPI device. reg: - minimum: 0 - maximum: 256 + minItems: 1 + maxItems: 256 + items: + minimum: 0 + maximum: 256 description: Chip select used by the device. |