[PATCH 0/4] dmaengine: dw-axi-dmac: Refactor descriptor and channel management

Sia Jee Heng
2020-09-04T10:07:19Z

The below patch series are to support AxiDMA running on Intel KeemBay SoC.
The base driver is dw-axi-dmac but code refactoring is needed to improve
the descriptor management by replacing Linked List Item (LLI) with
virtual descriptor management, only allocate hardware LLI memories from
DMA memory pool, manage DMA memory pool alloc/destroy based on channel
activity and to support device_sync callback.

Note: Intel KeemBay AxiDMA related changes and other DMA features are
to be submitted as we need to get the fundamental changes approved first
prior to add additional DMA features on top.

This patch series are tested on Intel KeemBay platform.

Sia Jee Heng (4):
dt-bindings: dma: Add YAML schemas for dw-axi-dmac
dmaengine: dw-axi-dmac: simplify descriptor management
dmaengine: dw-axi-dmac: move dma_pool_create() to
alloc_chan_resources()
dmaengine: dw-axi-dmac: Add device_synchronize() callback

.../devicetree/bindings/dma/snps,dw-axi-dmac.txt | 39 -----
.../devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 124 ++++++++++++++
drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 190 ++++++++++++---------
drivers/dma/dw-axi-dmac/dw-axi-dmac.h | 11 +-
4 files changed, 245 insertions(+), 119 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.txt
create mode 100644 Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml

--
1.9.1