Skip to content

dw_dmac: move to own folder and split

Andy Shevchenko lkml 1 version In review

Get series with b4
b4 am 1370349382-20914-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dw_dmac: don't check resource with devm_ioremap_resourcedrivers/dma/dw_dmac.c+1 -40 replies
2/4dma: move dw_dmac driver to an own directoryMAINTAINERS drivers/dma/Kconfig drivers/dma/Makefile +4 more+28 -230 replies
3/4dma: dw: split driver to library part and platform codedrivers/dma/Makefile drivers/dma/dw/Kconfig drivers/dma/dw/Makefile +4 more+428 -2802 replies
4/4dma: dw: add PCI part of the driverdrivers/dma/dw/Kconfig drivers/dma/dw/Makefile drivers/dma/dw/pci.c+113 -01 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchViresh KumarArnd Bergmann
SeriesA-b
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 0/4] dw_dmac: move to own folder and split

This is second attempt to do split as suggested by Arnd et al [1,2]. There are three most important patches:
2/4 moves driver to its own folder
3/4 does the actual split
4/4 introduces PCI part of the driver

During this files are renamed: mostly means that dw_dmac prefix is eliminated. I hope to get it ready to be included in v3.11.

[1] http://www.spinics.net/lists/kernel/msg1408174.html
[2] http://www.spinics.net/lists/kernel/msg1408495.html

P.S. Viresh, I didn't apply your Ack to the 3/4, because I amended it a bit: I moved dwc_get_{s,d}ms to the "internal.h" as it shared between core.c and platform.c.

Cnages v0->v1:
- apply Viresh's ACKs
- append PCI part of the driver
- test altogether on Intel Medfield
- add 1/4 to the series as it based on it, but Vinod didn't apply it yet to his tree.

Andy Shevchenko (4):
dw_dmac: don't check resource with devm_ioremap_resource
dma: move dw_dmac driver to an own directory
dma: dw: split driver to library part and platform code
dma: dw: add PCI part of the driver

 MAINTAINERS                               |   3 +-
 drivers/dma/Kconfig                       |  20 +-
 drivers/dma/Makefile                      |   2 +-
 drivers/dma/dw/Kconfig                    |  36 ++++
 drivers/dma/dw/Makefile                   |   8 +
 drivers/dma/{dw_dmac.c => dw/core.c}      | 314 ++++--------------------------
 drivers/dma/dw/internal.h                 |  74 +++++++
 drivers/dma/dw/pci.c                      | 101 ++++++++++
 drivers/dma/dw/platform.c                 | 308 +++++++++++++++++++++++++++++
 drivers/dma/{dw_dmac_regs.h => dw/regs.h} |   1 +
 10 files changed, 565 insertions(+), 302 deletions(-)
 create mode 100644 drivers/dma/dw/Kconfig
 create mode 100644 drivers/dma/dw/Makefile
 rename drivers/dma/{dw_dmac.c => dw/core.c} (85%)
 create mode 100644 drivers/dma/dw/internal.h
 create mode 100644 drivers/dma/dw/pci.c
 create mode 100644 drivers/dma/dw/platform.c
 rename drivers/dma/{dw_dmac_regs.h => dw/regs.h} (99%)
Signature · 1 line
1.8.2.rc0.22.gb3600c3