dmaengine: dw-axi-dmac: support parallel memory <--> peripheral transfers

Started by unknown sender on Jul 9, 2021

DORMANTno replies SUPERSEDED

Status: Superseded by v5 (posted 2021-08-02). [go to v5]

Revision v2 (4 revisions archived).

Revisions (4)
  1. v2 current
  2. v3 [diff against previous]
  3. v4 [diff against previous]
  4. v5 [diff against previous]

open the first message on its own page

Message details and related content
From: Pandith N <redacted>

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
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help