Hi Wolfram, Hi Arnd, Hi all, the intention of this patch-set is to refactor the DMA support in the Renesas SDHI driver in order to make it easier to add support for using the SDHI hardware with different DMA implementations. This is based on earlier work, posted as "[PATCH/RFC v3 0/6] mmc: renesas_sdhi: add R-Car Gen-3 DMA support". It attempts to implement the reworking of the driver proposed by Arnd[1] in his review of that patch-set. [1] http://www.spinics.net/lists/linux-mmc/msg38004.html Unlike that patch-set this patch-set does not add support for R-Car Gen-3 DMA. Rather it focuses on refactoring the code. Simon Horman (5): mmc: renesas-sdhi, tmio: make dma more modular mmc: tmio: rename tmio_mmc_{pio => core}.c mmc: renesas-sdhi: rename tmio_mmc_dma.c => renesas_sdhi_sys_dmac.c mmc: renesas-sdhi: rename sh_mobile_sdhi.c => renesas_sdhi_core.c mmc: renesas-sdhi: make renesas_sdhi_sys_dmac main module file drivers/mmc/host/Kconfig | 4 +- drivers/mmc/host/Makefile | 4 +- drivers/mmc/host/renesas_sdhi.h | 39 ++++ .../host/{sh_mobile_sdhi.c => renesas_sdhi_core.c} | 229 +++++---------------- .../{tmio_mmc_dma.c => renesas_sdhi_sys_dmac.c} | 162 +++++++++++++-- drivers/mmc/host/tmio_mmc.c | 2 +- drivers/mmc/host/tmio_mmc.h | 46 ++--- .../mmc/host/{tmio_mmc_pio.c => tmio_mmc_core.c} | 45 +++- 8 files changed, 296 insertions(+), 235 deletions(-) create mode 100644 drivers/mmc/host/renesas_sdhi.h rename drivers/mmc/host/{sh_mobile_sdhi.c => renesas_sdhi_core.c} (68%) rename drivers/mmc/host/{tmio_mmc_dma.c => renesas_sdhi_sys_dmac.c} (58%) rename drivers/mmc/host/{tmio_mmc_pio.c => tmio_mmc_core.c} (97%) -- 2.1.4