From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx> DML hardware is a glue in between SD Card Controller and DMA engine, this hardware needs to be setup before and during any dma transfers. This patchset adds DML support to the mmci driver. This patchset is a very early version of adding Qualcomm DMA support to generic mmci driver. There are two bits of changes which are done in a bit of hacky way. First one: Is DML code as part of MMCI driver? Second one: Accessing BAM specific functions from generic mmci driver. Ideally BAM descriptor flags need to be exposed in more generic way so that generic drivers could use it without much dependency on SOC specifics. Having said this, these patches are published on request by Andy Gross for testing purpose only. This patches are tested on IFC8064 board with both eMMC and external SD card. I would appreciate any feedback/suggestions on the overall approach. Srinivas Kandagatla (4): ARM: DT: QCOM: apq8064: fix the memory range for sdcc node. ARM: DT: QCOM: apq8064: Add dma support for sdcc node mmc: mmci: Add qcom dml support to the driver. mmc: mmci: do an EOT for write DMA requests. arch/arm/boot/dts/qcom-apq8064.dtsi | 30 ++++++- drivers/mmc/host/Kconfig | 11 +++ drivers/mmc/host/Makefile | 1 + drivers/mmc/host/mmci.c | 16 ++++ drivers/mmc/host/qcom_dml.c | 170 ++++++++++++++++++++++++++++++++++++ drivers/mmc/host/qcom_dml.h | 17 ++++ 6 files changed, 243 insertions(+), 2 deletions(-) create mode 100644 drivers/mmc/host/qcom_dml.c create mode 100644 drivers/mmc/host/qcom_dml.h -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html