Subject: [PATCH v2 2/2] ARM: dts: at_xdmac: add bindings documentation

From: [email-masked] (Sergei Shtylyov)
Date: Fri, 04 Jul 2014 16:48:42 +0400

Hello.

On 07/04/2014 11:36 AM, Ludovic Desroches wrote:

> Add bindings documentation for the new Atmel DMA controller (XDMAC)
> introduced with SAMA5D4.

> Signed-off-by: Ludovic Desroches <[email-masked]>
> ---
>   .../devicetree/bindings/dma/atmel-xdma.txt         |   39 ++++++++++++++++++++
>   1 file changed, 39 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/dma/atmel-xdma.txt

> diff --git a/Documentation/devicetree/bindings/dma/atmel-xdma.txt b/Documentation/devicetree/bindings/dma/atmel-xdma.txt
> new file mode 100644
> index 0000000..1e09fda
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/dma/atmel-xdma.txt
[...]
> +DMA clients connected to the Atmel XDMA controller must use the format
> +described in the dma.txt file, using a three-cell specifier for each channel:
> +a phandle plus two integer cells.

    Specifiers do not include phandle.

> +The two cells in order are:

    s/two/three/?

> +
> +1. A phandle pointing to the DMA controller.
> +2. The memory interface (16 most significant bits), the peripheral interface
> +(16 less significant bits).
> +3. Channel configuration register. Configurable fields are:
> +  - bit 30-24: PERID, peripheral identifier.

WBR, Sergei