From: Matt Porter <mporter@ti.com>
To: vinod.koul@intel.com, dan.j.williams@intel.com, cjb@laptop.org,
grant.likely@secretlab.ca
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux ARM Kernel List <linux-arm-kernel@lists.infradead.org>,
Linux MMC List <linux-mmc@vger.kernel.org>,
Linux SPI Devel List <spi-devel-general@lists.sourceforge.net>,
Linux DaVinci Kernel List
<davinci-linux-open-source@linux.davincidsp.com>,
Sekhar Nori <nsekhar@ti.com>
Subject: [PATCH 0/3] DaVinci DMA engine conversion
Date: Thu, 16 Aug 2012 17:44:28 -0400 [thread overview]
Message-ID: <1345153471-22757-1-git-send-email-mporter@ti.com> (raw)
This series begins the conversion of the DaVinci private
EDMA API implementation to a DMA engine driver and
converts two of the three in-kernel users of the private
EDMA API to DMA engine.
The approach taken is similar to the recent OMAP DMA
Engine conversion. The EDMA DMA Engine driver is a
wrapper around the existing private EDMA implementation
and registers the platform device within the driver.
This allows the conversion series to stand alone with
just the drivers and no changes to platform code. It
also allows peripheral drivers to continue to use the
private EDMA implementation until they are converted.
The EDMA DMA Engine driver supports slave transfers only
at this time. It is planned to add cyclic transfers in
support of audio peripherals.
There are three users of the private EDMA API in the
kernel now: davinci_mmc, spi-davinci, and davinci-mcasp.
This series provides DMA Engine conversions for the
davinci_mmc and spi-davinci drivers which use the
supported slave transfers.
This series has been tested on an AM18x EVM and
performance is comparable with the private EDMA
API implementations. I do not have a Wifi module
for the AM18x EVM to test the MMC1 instance which
has DMA channels on the second EDMA channel controller
instance. Testing is needed on all DaVinci platforms
including DM355/365, DM644x/6x, DA830/OMAP-L137/AM17x,
and DA850/OMAP-L138/AM18x.
After this series, the current plan is to complete
the mcasp driver conversion which includes adding
cyclic dma support. This will then enable the
removal and refactoring of the private EDMA API
functionality into the EDMA DMA Engine driver.
Since EDMA is also used on the AM33xx family of
parts in mach-omap2/, the plan is to enable this
driver on that platform as well.
Matt Porter (3):
dmaengine: add TI EDMA DMA engine driver
mmc: davinci_mmc: convert to DMA engine API
spi: spi-davinci: convert to DMA engine API
drivers/dma/Kconfig | 9 +
drivers/dma/Makefile | 1 +
drivers/dma/edma.c | 729 ++++++++++++++++++++++++++++++++++++++++
drivers/mmc/host/davinci_mmc.c | 271 +++++----------
drivers/spi/spi-davinci.c | 292 +++++++---------
include/linux/edma.h | 29 ++
6 files changed, 980 insertions(+), 351 deletions(-)
create mode 100644 drivers/dma/edma.c
create mode 100644 include/linux/edma.h
--
1.7.9.5
next reply other threads:[~2012-08-16 21:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-16 21:44 Matt Porter [this message]
2012-08-16 21:44 ` [PATCH 1/3] dmaengine: add TI EDMA DMA engine driver Matt Porter
2012-08-16 22:29 ` Russell King - ARM Linux
2012-08-20 14:17 ` Matt Porter
2012-08-21 18:20 ` Matt Porter
2012-08-16 21:44 ` [PATCH 2/3] mmc: davinci_mmc: convert to DMA engine API Matt Porter
2012-08-16 21:44 ` [PATCH 3/3] spi: spi-davinci: " Matt Porter
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=1345153471-22757-1-git-send-email-mporter@ti.com \
--to=mporter@ti.com \
--cc=cjb@laptop.org \
--cc=dan.j.williams@intel.com \
--cc=davinci-linux-open-source@linux.davincidsp.com \
--cc=grant.likely@secretlab.ca \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=nsekhar@ti.com \
--cc=spi-devel-general@lists.sourceforge.net \
--cc=vinod.koul@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome