summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/spi/spi-bus.txt
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-12-06 16:55:33 +0100
committerGrant Likely <grant.likely@secretlab.ca>2012-12-07 13:13:56 +0000
commitc20151dff8a6d503c0d0cc4387c33a618cdabcb7 (patch)
tree79eddf6e2d19950611613ce62d56db9a00e865fd /Documentation/devicetree/bindings/spi/spi-bus.txt
parent5323f49853ba5f37d9975fe6bd13546c2ec790c8 (diff)
downloadlinux-c20151dff8a6d503c0d0cc4387c33a618cdabcb7.tar.gz
linux-c20151dff8a6d503c0d0cc4387c33a618cdabcb7.tar.bz2
linux-c20151dff8a6d503c0d0cc4387c33a618cdabcb7.zip
spi: Add support for specifying 3-wire mode via device tree
This patch allows to specify that a SPI device is connected in 3-wire mode via device tree. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-bus.txt')
-rw-r--r--Documentation/devicetree/bindings/spi/spi-bus.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-bus.txt b/Documentation/devicetree/bindings/spi/spi-bus.txt
index 77a8b0d39b54..296015e3c632 100644
--- a/Documentation/devicetree/bindings/spi/spi-bus.txt
+++ b/Documentation/devicetree/bindings/spi/spi-bus.txt
@@ -53,6 +53,8 @@ contain the following properties.
shifted clock phase (CPHA) mode
- spi-cs-high - (optional) Empty property indicating device requires
chip select active high
+- spi-3wire - (optional) Empty property indicating device requires
+ 3-wire mode.
If a gpio chipselect is used for the SPI slave the gpio number will be passed
via the cs_gpio