tested-by: Prakash Burla <prakash.bu...@smartplayin.com>
This driver is tested on IFC6410.

>
> From: Srinivas Kandagatla <srinivas.kandaga...@linaro.org>
> Date: Fri, Jul 11, 2014 at 5:18 PM
> Subject: [RFC PATCH] mmc: mmci: Add qcom dml support to the driver.
> To: linux-mmc@vger.kernel.org
> Cc: Linus Walleij <linus.wall...@linaro.org>, Chris Ball
> <ch...@printf.net>, Ulf Hansson <ulf.hans...@linaro.org>, Russell King
> <li...@arm.linux.org.uk>, linux-ker...@vger.kernel.org, Srinivas
> Kandagatla <srinivas.kandaga...@linaro.org>
>
>
> 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.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandaga...@linaro.org>
> ---
>
> Hi All,
>
> DMA support for Qualcomm SD card controller is missing in my last patchset, 
> the
> reason to post this patch separately is because of the unusual glue logic
> between card controller and the dma-controller. This glue logic is called DML
> (Data mover local/lite).
>
> DML assists dma transfers between sd card controller and dma-controller. As 
> this
> DML gule is part of SD controller IP and needs configuring for every transfer,
> So I thought of keeping it close to driver in drivers/mmc/ directory is more
> usefull, than trying to find a infrastructure to fit it. DML itself is not a 
> DMA
> controller but an logic present on SD card controller and it resides in SD 
> card
> controller IP.
>
> I would like to get your opnion on overall correctness of the approch.
>
> Thanks in advance.
> srini
>
>
>  drivers/mmc/host/Kconfig    |  11 +++
>  drivers/mmc/host/Makefile   |   1 +
>  drivers/mmc/host/mmci.c     |  19 ++++-
>  drivers/mmc/host/qcom_dml.c | 171 
> ++++++++++++++++++++++++++++++++++++++++++++
>  drivers/mmc/host/qcom_dml.h |  17 +++++
>  5 files changed, 218 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/mmc/host/qcom_dml.c
>  create mode 100644 drivers/mmc/host/qcom_dml.h
>
.
[SNIP]
.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to