mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
mmc: add DMA support to tmio_mmc driver, when used on SuperH
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 <[email protected]> Acked-by: Ian Molton <[email protected]> Signed-off-by: Paul Mundt <[email protected]>
This commit is contained in:
parent
056676dabd
commit
311f3ac768
3 changed files with 348 additions and 30 deletions
|
|
@ -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.
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue