This series firstly does some cleanups, then add support of
device_prep_slave_sg and device_prep_dma_cyclic to DMA-350.
Lastly, add support for ARM DMA-250 IP. Compared with DMA-350, DMA-250
is a simplified version. They share many common parts, but they do
have difference. Add DMA-250 support by handling their difference by
using different device_prep_slave_sg, device_prep_dma_cyclic and
device_prep_dma_memcpy. DMA-250 doesn't support device_prep_dma_memset.
Jisheng Zhang (14):
dmaengine: dma350: Fix CH_CTRL_USESRCTRIGIN definition
dmaengine: dma350: Add missing dch->coherent setting
dmaengine: dma350: Check vchan_next_desc() return value
dmaengine: dma350: Check dma_cookie_status() ret code and txstate
dmaengine: dma350: Register the DMA controller to DT DMA helpers
dmaengine: dma350: Use dmaenginem_async_device_register
dmaengine: dma350: Remove redundant err msg if platform_get_irq()
fails
dt-bindings: dma: dma350: Document interrupt-names
dmaengine: dma350: Support dma-channel-mask
dmaengine: dma350: Alloc command[] from dma pool
dmaengine: dma350: Support device_prep_slave_sg
dmaengine: dma350: Support device_prep_dma_cyclic
dt-bindings: dma: dma350: Support ARM DMA-250
dmaengine: dma350: Support ARM DMA-250
.../devicetree/bindings/dma/arm,dma-350.yaml | 6 +
drivers/dma/arm-dma350.c | 909 ++++++++++++++++--
2 files changed, 852 insertions(+), 63 deletions(-)
--
2.50.0