linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] mmc: msm_sdcc: Use SPS BAM as DMA engine
@ 2011-03-18 13:24 Subhash Jadavani
  2011-03-18 13:24 ` Subhash Jadavani
  0 siblings, 1 reply; 7+ messages in thread
From: Subhash Jadavani @ 2011-03-18 13:24 UTC (permalink / raw)
  To: cjb; +Cc: linux-mmc, linux-arm-msm, davidb, dwalker, bryanh, linux-kernel

On recent MSMs, ADM (Data Mover) HW is not present
which means existing SDCC driver can perform data
transfer in PIO (peripheral IO) mode only.
But PIO mode requires lot of CPU attention which
would mean consuming extra CPU MIPS.

As a replacement on these recent MSMs, there is
a new DMA HW engine named SPS-BAM (as part of
Smart Peripheral System of MSM) is added for
data movement between SDCC core and system memory.

This patch has done changes in existing MSM SDCC
driver for using SPS-BAM as DMA engine.

This patch is just for early review.

This patch is dependent on following 2 patches:
https://patchwork.kernel.org/patch/586271/
http://www.spinics.net/lists/arm-kernel/msg118467.html

Subhash Jadavani (1):
  mmc: msm_sdcc: Use SPS BAM as DMA engine

 drivers/mmc/host/Kconfig        |   10 +
 drivers/mmc/host/Makefile       |    1 +
 drivers/mmc/host/msm_sdcc.c     |  929 +++++++++++++++++++++++++++++++++++++--
 drivers/mmc/host/msm_sdcc.h     |   47 ++
 drivers/mmc/host/msm_sdcc_dml.c |  303 +++++++++++++
 drivers/mmc/host/msm_sdcc_dml.h |  120 +++++
 6 files changed, 1374 insertions(+), 36 deletions(-)
 create mode 100644 drivers/mmc/host/msm_sdcc_dml.c
 create mode 100644 drivers/mmc/host/msm_sdcc_dml.h

--
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.

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

end of thread, other threads:[~2011-03-29  4:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-18 13:24 [RFC] mmc: msm_sdcc: Use SPS BAM as DMA engine Subhash Jadavani
2011-03-18 13:24 ` Subhash Jadavani
2011-03-23 13:05   ` Daniel Walker
2011-03-24  7:32     ` Subhash Jadavani
2011-03-24 22:45       ` David Brown
2011-03-29  4:30         ` Koul, Vinod
2011-03-24  7:37     ` Subhash Jadavani

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).