[PATCH v2 0/5] dmaengine: ti: k3-udma: cleanups for 5.8

Peter Ujfalusi
2020-07-07T10:22:55Z

Hi Vinod,

Changes since v1:
- drop the check against NULL for uc in the IO functions as pointed out by
Grygorii

Tested on top of linux-next, but they apply (with offsets) on top of
dmaengine/next.

Few patches to clean up the code mostly with the exception of removing the use
of ring_get_occ() from udma_pop_from_ring().

This series should not conflict with Grygorii's ringacc update patch, they touch
the code in different areas.

Regards,
Peter
---
Peter Ujfalusi (5):
dmaengine: ti: k3-udma: Remove dma_sync_single calls for descriptors
dmaengine: ti: k3-udma: Do not use ring_get_occ in udma_pop_from_ring
dmaengine: ti: k3-udma: Use common defines for TCHANRT/RCHANRT
registers
dmaengine: ti: k3-udma-private: Use udma_read/write for register
access
dmaengine: ti: k3-udma: Use udma_chan instead of tchan/rchan for IO
functions

drivers/dma/ti/k3-udma-glue.c | 79 +++++------
drivers/dma/ti/k3-udma-private.c | 8 +-
drivers/dma/ti/k3-udma.c | 236 +++++++++++++------------------
drivers/dma/ti/k3-udma.h | 61 +++-----
4 files changed, 161 insertions(+), 223 deletions(-)