[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200922233327.GA3474555@bogus>
Date: Tue, 22 Sep 2020 17:33:27 -0600
From: Rob Herring <robh@...nel.org>
To: Eugen Hristev <eugen.hristev@...rochip.com>
Cc: vkoul@...nel.org, tudor.ambarus@...rochip.com,
ludovic.desroches@...rochip.com, dmaengine@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, nicolas.ferre@...rochip.com
Subject: Re: [PATCH 6/7] dt-bindings: dmaengine: at_xdmac: add optional
microchip,m2m property
On Mon, Sep 14, 2020 at 05:09:55PM +0300, Eugen Hristev wrote:
> Add optional microchip,m2m property that specifies if a controller is
> dedicated to memory to memory operations only.
>
> Signed-off-by: Eugen Hristev <eugen.hristev@...rochip.com>
> ---
> Documentation/devicetree/bindings/dma/atmel-xdma.txt | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/dma/atmel-xdma.txt b/Documentation/devicetree/bindings/dma/atmel-xdma.txt
> index 510b7f25ba24..642da6b95a29 100644
> --- a/Documentation/devicetree/bindings/dma/atmel-xdma.txt
> +++ b/Documentation/devicetree/bindings/dma/atmel-xdma.txt
> @@ -15,6 +15,12 @@ the dmas property of client devices.
> interface identifier,
> - bit 30-24: PERID, peripheral identifier.
>
> +Optional properties:
> +- microchip,m2m: this controller is connected on AXI only to memory and it's
> + dedicated to memory to memory DMA operations. If this option is
> + missing, it's assumed that the DMA controller is connected to
> + peripherals, thus it's a per2mem and mem2per.
Wouldn't 'dma-requests = <0>' cover this case?
Rob
Powered by blists - more mailing lists