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

- From: Jon Hunter \<hidden\>
- Date: 2013-02-28 01:33:49 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2013/02/8068751
- Thread: https://ratatoskr.run/linux-devicetree/2013/02/8068751/t.md

```text

On 02/27/2013 06:57 PM, Rob Herring wrote:
> From: Rob Herring <redacted>
> 
> For controllers with no requests/clients (memory to memory only), the

Looks like the changelog got truncated.

> Signed-off-by: Rob Herring <redacted>
> Cc: Vinod Koul <redacted>
> Cc: Dan Williams <redacted>
> Cc: Grant Likely <redacted>
> ---
>  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.

Otherwise ...

Acked-by: Jon Hunter <redacted>

Cheers
Jon
```
