mmc: dw_mmc: Add external dma interface support
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 16 Sep 2015 06:41:23 +0000 (14:41 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Oct 2015 15:00:16 +0000 (16:00 +0100)
commit3fc7eaef44dbcbcd602b6bcd0ac6efba7a30b108
treea3e33791bb0ed5bd2fd328f7e5204584cbb47eaf
parent9e4703df3aa9829a84d6ccf19c6062ba19a8de71
mmc: dw_mmc: Add external dma interface support

DesignWare MMC Controller can supports two types of DMA
mode: external dma and internal dma. We get a RK312x platform
integrated dw_mmc and ARM pl330 dma controller. This patch add
edmac ops to support these platforms. I've tested it on RK31xx
platform with edmac mode and RK3288 platform with idmac mode.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/Kconfig
drivers/mmc/host/dw_mmc-pltfm.c
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h
include/linux/mmc/dw_mmc.h