[PATCH/RFC 0/4] mmc: renesas_sdhi: add R-Car Gen-3 DMA support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

this short series adds support for  R-Car Gen-3 DMA to the SDHI driver.

The approach taken is as follows:

1. Rename sh_mobile_sdhi.c as renesas_sdhi.c
2. Refactor the TMIO DMA code so that it is provided by a set of callbacks
   rather than compiled-in function calls; Refactor the DMA SDHI to use this.
3. Rename tmio_mmc_dma.c as renesas_sdhi_dma.c which reflects more closely
   what it is is, particularly after step 2.
4. Add Gen3 DMA code as a separate set of callbacks

Please note that currently the DMA callbacks used are determined based
on the SDHI compat string in effect.

Based on mmc/next

Provided as:

git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/sdhi-gen3-dma

Simon Horman (3):
  mmc: renesas_sdhi: rename sh_mobile_sdhi as renesas_sdhi
  mmc: renesas_sdhi, tmio: make dma more modular
  mmc: renesas_sdhi: rename DMA source file as renesas_sdhi_dma.c

Yoshihiro Shimoda (1):
  mmc: renesas_sdhi: add support for R-Car Gen3 SDHI DMAC

 drivers/mmc/host/Kconfig                           |  22 ++-
 drivers/mmc/host/Makefile                          |   5 +-
 .../mmc/host/{sh_mobile_sdhi.c => renesas_sdhi.c}  |  43 +++++
 .../host/{tmio_mmc_dma.c => renesas_sdhi_dma.c}    |  26 ++-
 drivers/mmc/host/renesas_sdhi_dma_gen3.c           | 190 +++++++++++++++++++++
 drivers/mmc/host/tmio_mmc.h                        |  39 +----
 drivers/mmc/host/tmio_mmc_pio.c                    |  47 +++++
 7 files changed, 333 insertions(+), 39 deletions(-)
 rename drivers/mmc/host/{sh_mobile_sdhi.c => renesas_sdhi.c} (93%)
 rename drivers/mmc/host/{tmio_mmc_dma.c => renesas_sdhi_dma.c} (92%)
 create mode 100644 drivers/mmc/host/renesas_sdhi_dma_gen3.c

-- 
2.1.4




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux