diff mbox

[1/1] spi: samsung: Update binding documentation

Message ID 1405069863-17723-1-git-send-email-sachin.kamat@samsung.com (mailing list archive)
State Accepted
Commit 09a5ae80be1caf42418045448fb291388a1b16c6
Headers show

Commit Message

Sachin Kamat July 11, 2014, 9:11 a.m. UTC
Samsung SPI driver uses generic DMA bindings. Update the documentation
accordingly.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
---
 .../devicetree/bindings/spi/spi-samsung.txt        |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Comments

Mark Brown July 11, 2014, 1:02 p.m. UTC | #1
On Fri, Jul 11, 2014 at 02:41:03PM +0530, Sachin Kamat wrote:
> Samsung SPI driver uses generic DMA bindings. Update the documentation
> accordingly.

Applied, thanks.
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/spi/spi-samsung.txt b/Documentation/devicetree/bindings/spi/spi-samsung.txt
index fe6f9037b561..7f2d88d3fbe7 100644
--- a/Documentation/devicetree/bindings/spi/spi-samsung.txt
+++ b/Documentation/devicetree/bindings/spi/spi-samsung.txt
@@ -17,14 +17,11 @@  Required SoC Specific Properties:
 - interrupts: The interrupt number to the cpu. The interrupt specifier format
   depends on the interrupt controller.
 
-[PRELIMINARY: the dma channel allocation will change once there are
-official DMA bindings]
+- dmas : Two or more DMA channel specifiers following the convention outlined
+  in bindings/dma/dma.txt
 
-- tx-dma-channel: The dma channel specifier for tx operations. The format of
-  the dma specifier depends on the dma controller.
-
-- rx-dma-channel: The dma channel specifier for rx operations. The format of
-  the dma specifier depends on the dma controller.
+- dma-names: Names for the dma channels. There must be at least one channel
+  named "tx" for transmit and named "rx" for receive.
 
 Required Board Specific Properties:
 
@@ -73,8 +70,11 @@  Example:
 		compatible = "samsung,exynos4210-spi";
 		reg = <0x12d20000 0x100>;
 		interrupts = <0 66 0>;
-		tx-dma-channel = <&pdma0 5>;
-		rx-dma-channel = <&pdma0 4>;
+		dmas = <&pdma0 5
+			&pdma0 4>;
+		dma-names = "tx", "rx";
+		#address-cells = <1>;
+		#size-cells = <0>;
 	};
 
 - Board Specific Portion: