diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-26 11:21:01 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-26 11:21:01 -0400 |
commit | 1728ddb2ca726b150e7bf10cdd35b5c3fc5efcf3 (patch) | |
tree | 9abdf224254d340791f1d771c7304db4be96e19a /Documentation | |
parent | 13a621693ebc2276ea24850e62ba7f8a8fc6a617 (diff) | |
parent | 0b9e49e6704b81fd991827b0b60a0a6d56d06921 (diff) |
Merge remote-tracking branch 'spi/topic/omap' into spi-next
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/spi/omap-spi.txt | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/spi/omap-spi.txt b/Documentation/devicetree/bindings/spi/omap-spi.txt index 938809c6829b..4c85c4c69584 100644 --- a/Documentation/devicetree/bindings/spi/omap-spi.txt +++ b/Documentation/devicetree/bindings/spi/omap-spi.txt | |||
@@ -10,7 +10,18 @@ Required properties: | |||
10 | input. The default is D0 as input and | 10 | input. The default is D0 as input and |
11 | D1 as output. | 11 | D1 as output. |
12 | 12 | ||
13 | Example: | 13 | Optional properties: |
14 | - dmas: List of DMA specifiers with the controller specific format | ||
15 | as described in the generic DMA client binding. A tx and rx | ||
16 | specifier is required for each chip select. | ||
17 | - dma-names: List of DMA request names. These strings correspond | ||
18 | 1:1 with the DMA specifiers listed in dmas. The string naming | ||
19 | is to be "rxN" and "txN" for RX and TX requests, | ||
20 | respectively, where N equals the chip select number. | ||
21 | |||
22 | Examples: | ||
23 | |||
24 | [hwmod populated DMA resources] | ||
14 | 25 | ||
15 | mcspi1: mcspi@1 { | 26 | mcspi1: mcspi@1 { |
16 | #address-cells = <1>; | 27 | #address-cells = <1>; |
@@ -20,3 +31,17 @@ mcspi1: mcspi@1 { | |||
20 | ti,spi-num-cs = <4>; | 31 | ti,spi-num-cs = <4>; |
21 | }; | 32 | }; |
22 | 33 | ||
34 | [generic DMA request binding] | ||
35 | |||
36 | mcspi1: mcspi@1 { | ||
37 | #address-cells = <1>; | ||
38 | #size-cells = <0>; | ||
39 | compatible = "ti,omap4-mcspi"; | ||
40 | ti,hwmods = "mcspi1"; | ||
41 | ti,spi-num-cs = <2>; | ||
42 | dmas = <&edma 42 | ||
43 | &edma 43 | ||
44 | &edma 44 | ||
45 | &edma 45>; | ||
46 | dma-names = "tx0", "rx0", "tx1", "rx1"; | ||
47 | }; | ||