mmc: mmci: Add qcom dml support to the driver.
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 29 Jul 2014 02:50:30 +0000 (03:50 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:58:46 +0000 (13:58 +0200)
commit9cb15142d0e336874ecc753e9a4e5696c46a67d9
treea1582bcb7f8833fd5ed8d254fb6eeb307fa3d1f0
parent221414db1934c1c883501998f510bb75acfbaa51
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>
drivers/mmc/host/Kconfig
drivers/mmc/host/Makefile
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci_qcom_dml.c [new file with mode: 0644]
drivers/mmc/host/mmci_qcom_dml.h [new file with mode: 0644]
This page took 0.025503 seconds and 5 git commands to generate.