2022-04-15 15:32:51

by Radhey Shyam Pandey

[permalink] [raw]
Subject: [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description

MCDMA IP provides up to 16 multiple channels of data movement each on
MM2S and S2MM paths. Inline with implementation, in the binding add
description for the channel ID start index and mention that it's fixed
irrespective of the MCDMA IP configuration(number of read/write channels).

Signed-off-by: Radhey Shyam Pandey <[email protected]>
---
Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
index 325aca52cd43..d1700a5c36bf 100644
--- a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
+++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt
@@ -110,7 +110,11 @@ axi_vdma_0: axivdma@40030000 {
Required properties:
- dmas: a list of <[Video DMA device phandle] [Channel ID]> pairs,
where Channel ID is '0' for write/tx and '1' for read/rx
- channel.
+ channel. For MCMDA, MM2S channel(write/tx) ID start from
+ '0' and is in [0-15] range. S2MM channel(read/rx) ID start
+ from '16' and is in [16-31] range. These channels ID are
+ fixed irrespective of IP configuration.
+
- dma-names: a list of DMA channel names, one per "dmas" entry

Example:
--
2.7.4


2022-04-20 00:44:26

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description

On Thu, 14 Apr 2022 17:54:21 +0530, Radhey Shyam Pandey wrote:
> MCDMA IP provides up to 16 multiple channels of data movement each on
> MM2S and S2MM paths. Inline with implementation, in the binding add
> description for the channel ID start index and mention that it's fixed
> irrespective of the MCDMA IP configuration(number of read/write channels).
>
> Signed-off-by: Radhey Shyam Pandey <[email protected]>
> ---
> Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>

Acked-by: Rob Herring <[email protected]>

2022-04-21 02:16:05

by Vinod Koul

[permalink] [raw]
Subject: Re: [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description

On 14-04-22, 17:54, Radhey Shyam Pandey wrote:
> MCDMA IP provides up to 16 multiple channels of data movement each on
> MM2S and S2MM paths. Inline with implementation, in the binding add
> description for the channel ID start index and mention that it's fixed
> irrespective of the MCDMA IP configuration(number of read/write channels).

Applied, thanks

--
~Vinod