mbox series

[v3,0/7] dmaengine: dw: Big refactoring and enhancement

Message ID 20190107110741.15831-1-andriy.shevchenko@linux.intel.com (mailing list archive)
Headers show
Series dmaengine: dw: Big refactoring and enhancement | expand

Message

Andy Shevchenko Jan. 7, 2019, 11:07 a.m. UTC
Here are clean up and big refactoring against Synopsys DesignWare DMA driver.

Some fixes are related to Intel iDMA 32-bit type of controller
which has been tested on Intel Merrifield platform.

The big refactoring splits out specific DW and iDMA 32-bit parts
for better maintenance.

Changelog v3:
- rebase on top of v5.0-rc1
- drop Fixes tag from patch 1, it's simple an enhancement (Vinod)
- use proper format for SPDX for header files (Vinod)
- add Greg KH's ACK

Changelog v2:
- rebase on top of topic/dw branch of dmaengine subsystem
- append few more patches, especially one that removes is_private property
- fix code kbuild bot complains about
- fix some typos which slipped during refactoring and haven't been noticed
  during test

Andy Shevchenko (7):
  dmaengine: dw: Add missed multi-block support for iDMA 32-bit
  dmaengine: dw: Remove misleading is_private property
  dmaengine: dw: Remove unused internal property
  dmaengine: dw: Split DW and iDMA 32-bit operations
  dmaengine: dw: Reset DRAIN bit when resume the channel
  dmaengine: dw: Don't pollute CTL_LO on iDMA 32-bit
  dmaengine: dw: convert to SPDX identifiers

 .../devicetree/bindings/dma/snps-dma.txt      |   2 -
 drivers/dma/dw/Kconfig                        |   2 +
 drivers/dma/dw/Makefile                       |   2 +-
 drivers/dma/dw/core.c                         | 244 ++++--------------
 drivers/dma/dw/dw.c                           | 138 ++++++++++
 drivers/dma/dw/idma32.c                       | 160 ++++++++++++
 drivers/dma/dw/internal.h                     |  15 +-
 drivers/dma/dw/pci.c                          |  53 ++--
 drivers/dma/dw/platform.c                     |  22 +-
 drivers/dma/dw/regs.h                         |  30 ++-
 drivers/tty/serial/8250/8250_lpss.c           |   1 -
 include/linux/dma/dw.h                        |   9 +-
 include/linux/platform_data/dma-dw.h          |  12 +-
 13 files changed, 425 insertions(+), 265 deletions(-)
 create mode 100644 drivers/dma/dw/dw.c
 create mode 100644 drivers/dma/dw/idma32.c

Comments

Vinod Koul Jan. 7, 2019, 12:31 p.m. UTC | #1
On 07-01-19, 13:07, Andy Shevchenko wrote:
> Here are clean up and big refactoring against Synopsys DesignWare DMA driver.
> 
> Some fixes are related to Intel iDMA 32-bit type of controller
> which has been tested on Intel Merrifield platform.
> 
> The big refactoring splits out specific DW and iDMA 32-bit parts
> for better maintenance.

Applied, thanks