diff options
author | Torsten Fleischer <torfl6749@gmail.com> | 2014-11-03 19:17:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-04 22:57:25 +0300 |
commit | d1d81802522ade84128a2c66c0d500e372474dca (patch) | |
tree | 971fe9a68d1fcc2823d5ab6cf90b0e0c6d8a9eef /Documentation/devicetree/bindings/spi | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) | |
download | linux-d1d81802522ade84128a2c66c0d500e372474dca.tar.xz |
spi: spi-gpio: Add dt support for a single device with no chip select
In order to describe a single slave device that has no chip select line
the 'num-chipselects' property has to be <0> and the 'cs-gpios' property
doesn't need to be set.
Signed-off-by: Torsten Fleischer <torfl6749@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-gpio.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-gpio.txt b/Documentation/devicetree/bindings/spi/spi-gpio.txt index 8a824be15754..a95603bcf6ff 100644 --- a/Documentation/devicetree/bindings/spi/spi-gpio.txt +++ b/Documentation/devicetree/bindings/spi/spi-gpio.txt @@ -8,8 +8,10 @@ Required properties: - gpio-sck: GPIO spec for the SCK line to use - gpio-miso: GPIO spec for the MISO line to use - gpio-mosi: GPIO spec for the MOSI line to use - - cs-gpios: GPIOs to use for chipselect lines - - num-chipselects: number of chipselect lines + - cs-gpios: GPIOs to use for chipselect lines. + Not needed if num-chipselects = <0>. + - num-chipselects: Number of chipselect lines. Should be <0> if a single device + with no chip select is connected. Example: |