From: srinivas.kandagatla@linaro.org
To: agross@quicinc.com
Cc: linux-arm-msm@vger.kernel.org,
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Subject: [PATCH RFC 0/4] Add QCOM DML support to MMCI driver.
Date: Fri, 16 May 2014 20:45:00 +0100 [thread overview]
Message-ID: <1400269500-15408-1-git-send-email-srinivas.kandagatla@linaro.org> (raw)
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
next reply other threads:[~2014-05-16 19:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-16 19:45 srinivas.kandagatla [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1400269500-15408-1-git-send-email-srinivas.kandagatla@linaro.org \
--to=srinivas.kandagatla@linaro.org \
--cc=agross@quicinc.com \
--cc=linux-arm-msm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.