summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/spi-gpio.txt
diff options
context:
space:
mode:
authorTorsten Fleischer <torfl6749@gmail.com>2014-11-03 17:17:55 +0100
committerMark Brown <broonie@kernel.org>2014-11-04 19:57:25 +0000
commitd1d81802522ade84128a2c66c0d500e372474dca (patch)
tree971fe9a68d1fcc2823d5ab6cf90b0e0c6d8a9eef /Documentation/devicetree/bindings/spi/spi-gpio.txt
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
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/spi-gpio.txt')
-rw-r--r--Documentation/devicetree/bindings/spi/spi-gpio.txt6
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: