All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-drivers-review] [PATCH V2 0/1] dmaengine: dw-axi-dmac: support parallel memory <--> peripheral transfers
@ 2021-07-09  9:50 pandith.n
  0 siblings, 0 replies; only message in thread
From: pandith.n @ 2021-07-09  9:50 UTC (permalink / raw)
  To: Eugeniy.Paltsev, vkoul, dmaengine
  Cc: lakshmi.bai.raja.subramanian, kris.pan,
	mallikarjunappa.sangannavar, Srikanth.Thokala, Pandith N

From: Pandith N <pandith.n@intel.com>

Added support for multiple DMA_MEM_TO_DEV, DMA_DEV_TO_MEM transfers in
parallel. Peripherals can use DMA for both transmit and receive
operations in parallel.

To setup DMA handshaking, the peripheral source number to be programmed
in respective channel select slot of AXIDMA_CTRL_DMA_HS_SEL. No need to
check for free slot in dw_axi_dma_set_hw_channel().
The channel slot used in AXIDMA_CTRL_DMA_HS_SEL needs to be set in
src_per/dst_per of CHx_CFG register.

The changes are validated with parallel SPI transmit and receive
transfers in dma mode.

Pandith N (1):
  dmaengine: dw-axi-dmac: support parallel memory <--> peripheral
    transfers

 .../dma/dw-axi-dmac/dw-axi-dmac-platform.c    | 56 +++++++++----------
 drivers/dma/dw-axi-dmac/dw-axi-dmac.h         |  4 ++
 2 files changed, 29 insertions(+), 31 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-09  9:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-09  9:50 [linux-drivers-review] [PATCH V2 0/1] dmaengine: dw-axi-dmac: support parallel memory <--> peripheral transfers pandith.n

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.