]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8e562249cfdcb1bb4ece4e6a7f59214bd9508c35
treea1582bcb7f8833fd5ed8d254fb6eeb307fa3d1f0
parentf72076e713bdb0239cca1958ec6dc1054ce976c0
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]