aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/spi/omap-spi.txt
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2012-11-14 11:14:26 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-14 12:16:17 +0900
commit2cd451792db174382aaca96c75bc3bf47a6065fe (patch)
treea16e2eed2823febb9b8057d64c1d95716bc1e4f5 /Documentation/devicetree/bindings/spi/omap-spi.txt
parentspi/mcspi: allow configuration of pin directions (diff)
downloadlinux-dev-2cd451792db174382aaca96c75bc3bf47a6065fe.tar.xz
linux-dev-2cd451792db174382aaca96c75bc3bf47a6065fe.zip
spi/omap: fix D0/D1 direction confusion
0384e90b8 ("spi/mcspi: allow configuration of pin directions") did what it claimed to do the wrong way around. D0/D1 is configured as output by *clearing* the bits in the conf registers, hence also breaking the former default behaviour. Fix this before that change is merged to mainline. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/omap-spi.txt')
-rw-r--r--Documentation/devicetree/bindings/spi/omap-spi.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/devicetree/bindings/spi/omap-spi.txt b/Documentation/devicetree/bindings/spi/omap-spi.txt
index 2ef0a6b85653..938809c6829b 100644
--- a/Documentation/devicetree/bindings/spi/omap-spi.txt
+++ b/Documentation/devicetree/bindings/spi/omap-spi.txt
@@ -6,9 +6,9 @@ Required properties:
- "ti,omap4-spi" for OMAP4+.
- ti,spi-num-cs : Number of chipselect supported by the instance.
- ti,hwmods: Name of the hwmod associated to the McSPI
-- ti,pindir-d0-in-d1-out: Select the D0 pin as input and D1 as
- output. The default is D0 as output and
- D1 as input.
+- ti,pindir-d0-out-d1-in: Select the D0 pin as output and D1 as
+ input. The default is D0 as input and
+ D1 as output.
Example: