Re: [PATCH v1] mmc: mmci: Add qcom dml support to the driver.

From: Srinivas Kandagatla
Date: Thu Jul 17 2014 - 15:41:17 EST



On 17/07/14 20:36, Srinivas Kandagatla wrote:
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.

Tested-by: Prakash Burla <prakash.burla@xxxxxxxxxxxxxxx>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
---

Here is the change log which I forgot in the original patch

Changes since RFC:
- Moved qcom_dml.* to mmci_qcom_dml.* as suggested by Linus W.
- added BAM DMA dependency in Kconfig as suggested by Linus W



drivers/mmc/host/Kconfig | 11 +++
drivers/mmc/host/Makefile | 1 +
drivers/mmc/host/mmci.c | 19 ++++-
drivers/mmc/host/mmci_qcom_dml.c | 171 +++++++++++++++++++++++++++++++++++++++
drivers/mmc/host/mmci_qcom_dml.h | 17 ++++
5 files changed, 218 insertions(+), 1 deletion(-)
create mode 100644 drivers/mmc/host/mmci_qcom_dml.c
create mode 100644 drivers/mmc/host/mmci_qcom_dml.h



thanks,
srini
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/