mbox series

[v3,0/5] RZ/G2L DMAC enhancements

Message ID 20230412152445.117439-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series RZ/G2L DMAC enhancements | expand

Message

Biju Das April 12, 2023, 3:24 p.m. UTC
This patch series aims to add enhancement to RZ/G2L DMAC driver.
It is basically for supporting SCIF DMA.

It is based on a patch in the BSP by Long Luu which is similar to
rcar-dmac implementation.

v2->v3:
 * Updated commit description for patch#4 and patch#5.
 * Assign header after chcfg to make sure there is no code flow change.
v1->v2:
 * Updated commit description for patch#{1,2,3}
 * Introduced rz_dmac_invalidate_lmdesc(), so that same code is shared
   between rz_dmac_free_chan_resources() and rz_dmac_terminate_all()
   for invalidating hardware descriptors.
 * Replaced the loop for->for_each_sg and dropped sgl and sg_len variables
   from calculate_total_bytes_in_vd().
 * Added resume callback().
 * Added patch#4 trivial code clean-ups for rz_dmac_lmdesc_recycle() and
   rz_dmac_prep_slave_sg().
 * Added patch#5 for rz_dmac_prepare_descs_for_slave_sg() improvements.

Biju Das (5):
  dmaengine: sh: rz-dmac: Add rz_dmac_invalidate_lmdesc()
  dmaengine: sh: rz-dmac: Add device_tx_status() callback
  dmaengine: sh: rz-dmac: Add device_{pause,resume}() callbacks
  dmaengine: sh: rz-dmac: Trivial code clean-ups
  dmaengine: sh: rz-dmac: rz_dmac_prepare_descs_for_slave_sg()
    improvements

 drivers/dma/sh/rz-dmac.c | 246 +++++++++++++++++++++++++++++++++++----
 1 file changed, 222 insertions(+), 24 deletions(-)