[PATCHv2 0/4] dw_dmac: split the driver and introduce PCI part

From: Andy Shevchenko
Date: Wed Sep 26 2012 - 08:40:37 EST


This patchset is dedicated to support different platform devices via the same
core driver. In our case the dw_dmac could be used as a PCI device, regular
embedded device or something else. This split allows to support the controller
connected to any bus by adding a little piece of code without duplicating a
core driver functionality.

Since v1:
- indentation fix in MAINTAINERS is droped away to separate patch (not related
to this series)
- CLK framework uses stubs for platforms w/o it, in the result it eliminates 3
patches and produces 1
- driver files are moved to an own folder

Andy Shevchenko (2):
dma: move dw_dmac driver to an own directory
MAINTAINERS: add recently created files to dw_dmac section

Heikki Krogerus (2):
dmaengine: dw_dmac: convert to platform driver
dmaengine: dw_dmac: Add PCI part of the driver

MAINTAINERS | 4 +-
drivers/dma/Kconfig | 11 +-
drivers/dma/Makefile | 2 +-
drivers/dma/dw/Makefile | 2 +
drivers/dma/dw/dw_dmac.c | 1720 ++++++++++++++++++++++++++++++++++++++++
drivers/dma/dw/dw_dmac_pci.c | 127 +++
drivers/dma/dw/dw_dmac_regs.h | 294 +++++++
drivers/dma/dw_dmac.c | 1727 -----------------------------------------
drivers/dma/dw_dmac_regs.h | 294 -------
9 files changed, 2155 insertions(+), 2026 deletions(-)
create mode 100644 drivers/dma/dw/Makefile
create mode 100644 drivers/dma/dw/dw_dmac.c
create mode 100644 drivers/dma/dw/dw_dmac_pci.c
create mode 100644 drivers/dma/dw/dw_dmac_regs.h
delete mode 100644 drivers/dma/dw_dmac.c
delete mode 100644 drivers/dma/dw_dmac_regs.h

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/