Skip to content

Commit

Permalink
mmc: add DMA support to tmio_mmc driver, when used on SuperH
Browse files Browse the repository at this point in the history
SDHI controllers on SuperH, served by the tmio_mmc driver, can use slave DMA
for data transfer. This patch adds support for the dmaengine API to the
tmio_mmc driver.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Ian Molton <ian@mnementh.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Guennadi Liakhovetski authored and Paul Mundt committed May 22, 2010
1 parent 056676d commit 311f3ac
Show file tree
Hide file tree
Showing 3 changed files with 348 additions and 30 deletions.
6 changes: 6 additions & 0 deletions drivers/mfd/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ config MFD_SH_MOBILE_SDHI
bool "Support for SuperH Mobile SDHI"
depends on SUPERH || ARCH_SHMOBILE
select MFD_CORE
select TMIO_MMC_DMA
---help---
This driver supports the SDHI hardware block found in many
SuperH Mobile SoCs.
Expand Down Expand Up @@ -162,6 +163,11 @@ config MFD_TMIO
bool
default n

config TMIO_MMC_DMA
bool
select DMA_ENGINE
select DMADEVICES

config MFD_T7L66XB
bool "Support Toshiba T7L66XB"
depends on ARM && HAVE_CLK
Expand Down
Loading

0 comments on commit 311f3ac

Please sign in to comment.