diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-08-06 08:59:02 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-08-16 18:14:09 -0400 |
commit | e825b8dd2b363e9134006fb141825518a11b2bf4 (patch) | |
tree | 0a472255d8315b5d230e4eed4ee75410738f798d /Documentation/devicetree | |
parent | a30b95a7d81cfc3442beb5a9635f22b19c97bbfc (diff) |
spi: rspi: Add DT support to DMA setup
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/spi/spi-rspi.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-rspi.txt b/Documentation/devicetree/bindings/spi/spi-rspi.txt index d57d82a74054..f9929aceeacc 100644 --- a/Documentation/devicetree/bindings/spi/spi-rspi.txt +++ b/Documentation/devicetree/bindings/spi/spi-rspi.txt | |||
@@ -30,6 +30,9 @@ Required properties: | |||
30 | 30 | ||
31 | Optional properties: | 31 | Optional properties: |
32 | - clocks : Must contain a reference to the functional clock. | 32 | - clocks : Must contain a reference to the functional clock. |
33 | - dmas : Must contain a list of two references to DMA specifiers, | ||
34 | one for transmission, and one for reception. | ||
35 | - dma-names : Must contain a list of two DMA names, "tx" and "rx". | ||
33 | 36 | ||
34 | Pinctrl properties might be needed, too. See | 37 | Pinctrl properties might be needed, too. See |
35 | Documentation/devicetree/bindings/pinctrl/renesas,*. | 38 | Documentation/devicetree/bindings/pinctrl/renesas,*. |
@@ -58,4 +61,6 @@ Examples: | |||
58 | num-cs = <1>; | 61 | num-cs = <1>; |
59 | #address-cells = <1>; | 62 | #address-cells = <1>; |
60 | #size-cells = <0>; | 63 | #size-cells = <0>; |
64 | dmas = <&dmac0 0x17>, <&dmac0 0x18>; | ||
65 | dma-names = "tx", "rx"; | ||
61 | }; | 66 | }; |