All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description
@ 2022-04-14 12:24 Radhey Shyam Pandey
  2022-04-19 17:56 ` Rob Herring
  2022-04-20 10:14 ` Vinod Koul
  0 siblings, 2 replies; 3+ messages in thread
From: Radhey Shyam Pandey @ 2022-04-14 12:24 UTC (permalink / raw)
  To: vkoul, robh+dt, krzk+dt
  Cc: michal.simek, radhey.shyam.pandey, dmaengine, devicetree,
	linux-kernel, git

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 <radhey.shyam.pandey@xilinx.com>
---
 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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description
  2022-04-14 12:24 [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description Radhey Shyam Pandey
@ 2022-04-19 17:56 ` Rob Herring
  2022-04-20 10:14 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2022-04-19 17:56 UTC (permalink / raw)
  To: Radhey Shyam Pandey
  Cc: devicetree, krzk+dt, dmaengine, michal.simek, vkoul, robh+dt,
	git, linux-kernel

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 <radhey.shyam.pandey@xilinx.com>
> ---
>  Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description
  2022-04-14 12:24 [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description Radhey Shyam Pandey
  2022-04-19 17:56 ` Rob Herring
@ 2022-04-20 10:14 ` Vinod Koul
  1 sibling, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2022-04-20 10:14 UTC (permalink / raw)
  To: Radhey Shyam Pandey
  Cc: robh+dt, krzk+dt, michal.simek, dmaengine, devicetree, linux-kernel, git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-20 10:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-14 12:24 [PATCH] dt-bindings: dmaengine: xilinx_dma: Add MCMDA channel ID index description Radhey Shyam Pandey
2022-04-19 17:56 ` Rob Herring
2022-04-20 10:14 ` Vinod Koul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.