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

From: Rob Herring
Date: Wed Feb 27 2013 - 19:58:29 EST


From: Rob Herring <rob.herring@xxxxxxxxxxx>

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

Signed-off-by: Rob Herring <rob.herring@xxxxxxxxxxx>
Cc: Vinod Koul <vinod.koul@xxxxxxxxx>
Cc: Dan Williams <djbw@xxxxxx>
Cc: Grant Likely <grant.likely@xxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/