[PATCH 1/2] of: dma: make #dma-cells optional

Rob Herring robherring2 at gmail.com
Thu Feb 28 11:57:57 EST 2013


From: Rob Herring <rob.herring at calxeda.com>

For controllers with no requests/clients (memory to memory only), the

Signed-off-by: Rob Herring <rob.herring at calxeda.com>
Cc: Vinod Koul <vinod.koul at intel.com>
Cc: Dan Williams <djbw at fb.com>
Cc: Grant Likely <grant.likely at secretlab.ca>
---
 Documentation/devicetree/bindings/dma/dma.txt |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/devicetree/bindings/dma/dma.txt b/Documentation/devicetree/bindings/dma/dma.txt
index 8f504e6..d388f06 100644
--- a/Documentation/devicetree/bindings/dma/dma.txt
+++ b/Documentation/devicetree/bindings/dma/dma.txt
@@ -8,9 +8,10 @@ controller.
 * DMA controller
 
 Required property:
-- #dma-cells: 		Must be at least 1. Used to provide DMA controller
-			specific information. See DMA client binding below for
-			more details.
+- #dma-cells: 		Required for controllers with requests. Optional for
+			memory to memory only DMA controllers. Must be at least
+			1. Used to provide DMA controller specific information. 
+			See DMA client binding below for more details.
 
 Optional properties:
 - dma-channels: 	Number of DMA channels supported by the controller.
-- 
1.7.10.4



More information about the devicetree-discuss mailing list