Skip to content

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

[email protected] dmaengine 5 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest3 patches 1 replyApplied
  2. v43 patches 2 repliesSuperseded
  3. v33 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 2/21 patch3 repliesSuperseded
v2 posting 1/20 of 1 patch0 repliesSuperseded

Changes in v5 from the cover letter

Patch 1: Changed return type of dw_axi_dma_set_hw_channel(). Log dev_err in case of APB registers not initialized.

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/3dmaengine: dw-axi-dmac: Remove free slot check algorithm in dw_axi_dma_set_hw_channeldrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c drivers/dma/dw-axi-dmac/dw-axi-dmac.h+21 -300 replies
2/3dmaengine: dw-axi-dmac: support parallel memory <--> peripheral transfersdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c drivers/dma/dw-axi-dmac/dw-axi-dmac.h+6 -00 replies
3/3dmaengine: dw-axi-dmac: Burst length settingsdrivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c+2 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchPan Kris
1/3T-b
2/3T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH V5 0/3] dmaengine: dw-axi-dmac: support parallel memory <--> peripheral transfers

From: Pandith N <[email protected]>

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

Burst length, DMA HW capability set in dt-binding is now used in driver.

Changes since v1:
Added new macro, magic mask for HW handshake select. Typos in commit message are corrected

Changes since v2:
Split the patch as follows
Patch 1: Remove free slot check algorithm in dw_axi_dma_set_hw_channel() Patch 2: The channel slot used needs to be set in CHx_CFG src/dst_per Patch 3: Usage of burst length HW capability

Changes since v3:
Patch 1: Added description for hardware handshake settings

Changes since v4:
Patch 1: Changed return type of dw_axi_dma_set_hw_channel(). Log dev_err in case of APB registers not initialized.

Pandith N (3):
dmaengine: dw-axi-dmac: Remove free slot check algorithm in
dw_axi_dma_set_hw_channel
dmaengine: dw-axi-dmac: support parallel memory <--> peripheral
transfers
dmaengine: dw-axi-dmac: Burst length settings

 .../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(-)
Signature · 1 line
2.17.1