aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@samsung.com>2014-07-11 05:11:03 -0400
committerMark Brown <broonie@linaro.org>2014-07-11 09:02:23 -0400
commit09a5ae80be1caf42418045448fb291388a1b16c6 (patch)
treecf0690d300d663bf5a6c28f7a15e9a379c51bc31
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
spi: samsung: Update binding documentation
Samsung SPI driver uses generic DMA bindings. Update the documentation accordingly. Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/spi/spi-samsung.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt
index 86aa061f069f..655b6654dc45 100644
--- a/Documentation/devicetree/bindings/spi/spi-samsung.txt
+++ b/Documentation/devicetree/bindings/spi/spi-samsung.txt
@@ -18,14 +18,11 @@ Required SoC Specific Properties:
18- interrupts: The interrupt number to the cpu. The interrupt specifier format 18- interrupts: The interrupt number to the cpu. The interrupt specifier format
19 depends on the interrupt controller. 19 depends on the interrupt controller.
20 20
21[PRELIMINARY: the dma channel allocation will change once there are 21- dmas : Two or more DMA channel specifiers following the convention outlined
22official DMA bindings] 22 in bindings/dma/dma.txt
23 23
24- tx-dma-channel: The dma channel specifier for tx operations. The format of 24- dma-names: Names for the dma channels. There must be at least one channel
25 the dma specifier depends on the dma controller. 25 named "tx" for transmit and named "rx" for receive.
26
27- rx-dma-channel: The dma channel specifier for rx operations. The format of
28 the dma specifier depends on the dma controller.
29 26
30Required Board Specific Properties: 27Required Board Specific Properties:
31 28
@@ -74,8 +71,11 @@ Example:
74 compatible = "samsung,exynos4210-spi"; 71 compatible = "samsung,exynos4210-spi";
75 reg = <0x12d20000 0x100>; 72 reg = <0x12d20000 0x100>;
76 interrupts = <0 66 0>; 73 interrupts = <0 66 0>;
77 tx-dma-channel = <&pdma0 5>; 74 dmas = <&pdma0 5
78 rx-dma-channel = <&pdma0 4>; 75 &pdma0 4>;
76 dma-names = "tx", "rx";
77 #address-cells = <1>;
78 #size-cells = <0>;
79 }; 79 };
80 80
81- Board Specific Portion: 81- Board Specific Portion: