diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2014-07-28 22:50:30 -0400 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2014-09-09 07:58:46 -0400 |
commit | 9cb15142d0e336874ecc753e9a4e5696c46a67d9 (patch) | |
tree | a1582bcb7f8833fd5ed8d254fb6eeb307fa3d1f0 /drivers/mmc/host/Kconfig | |
parent | 221414db1934c1c883501998f510bb75acfbaa51 (diff) |
mmc: mmci: Add qcom dml support to the driver.
On Qualcomm APQ8064 SOCs, SD card controller has an additional glue
called DML (Data Mover Local/Lite) to assist dma transfers.
This hardware needs to be setup before any dma transfer is requested.
DML itself is not a DMA engine, its just a gule between the SD card
controller and dma controller.
Most of this code has been ported from qualcomm's 3.4 kernel.
This patch adds the code necessary to intialize the hardware and setup
before doing any dma transfers.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/Kconfig')
-rw-r--r-- | drivers/mmc/host/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 451135822464..58aedcc900d1 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig | |||
@@ -14,6 +14,17 @@ config MMC_ARMMMCI | |||
14 | 14 | ||
15 | If unsure, say N. | 15 | If unsure, say N. |
16 | 16 | ||
17 | config MMC_QCOM_DML | ||
18 | tristate "Qualcomm Data Mover for SD Card Controller" | ||
19 | depends on MMC_ARMMMCI && QCOM_BAM_DMA | ||
20 | default y | ||
21 | help | ||
22 | This selects the Qualcomm Data Mover lite/local on SD Card controller. | ||
23 | This option will enable the dma to work correctly, if you are using | ||
24 | Qcom SOCs and MMC, you would probably need this option to get DMA working. | ||
25 | |||
26 | if unsure, say N. | ||
27 | |||
17 | config MMC_PXA | 28 | config MMC_PXA |
18 | tristate "Intel PXA25x/26x/27x Multimedia Card Interface support" | 29 | tristate "Intel PXA25x/26x/27x Multimedia Card Interface support" |
19 | depends on ARCH_PXA | 30 | depends on ARCH_PXA |