linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/4] Add QCOM DML support to MMCI driver.
@ 2014-05-16 19:45 srinivas.kandagatla
  2014-05-16 19:45 ` [PATCH RFC 1/4] ARM: DT: QCOM: apq8064: fix the memory range for sdcc node srinivas.kandagatla
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: srinivas.kandagatla @ 2014-05-16 19:45 UTC (permalink / raw)
  To: agross; +Cc: linux-arm-msm, Srinivas Kandagatla

From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-16 19:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 19:45 [PATCH RFC 0/4] Add QCOM DML support to MMCI driver srinivas.kandagatla
2014-05-16 19:45 ` [PATCH RFC 1/4] ARM: DT: QCOM: apq8064: fix the memory range for sdcc node srinivas.kandagatla
2014-05-16 19:45 ` [PATCH RFC 2/4] ARM: DT: QCOM: apq8064: Add dma support " srinivas.kandagatla
2014-05-16 19:47   ` Srinivas Kandagatla
2014-05-16 19:46 ` [PATCH RFC 3/4] mmc: mmci: Add qcom dml support to the driver srinivas.kandagatla
2014-05-16 19:46 ` [PATCH RFC 4/4] mmc: mmci: do an EOT for write DMA requests srinivas.kandagatla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).