linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
To: "linux-sh@vger.kernel.org" <linux-sh@vger.kernel.org>
Cc: linux-mmc@vger.kernel.org,
	Dan Williams <dan.j.williams@intel.com>,
	Ian Molton <ian@mnementh.co.uk>,
	Magnus Damm <magnus.damm@gmail.com>
Subject: [PATCH 5/9 v2] SH: Add SDHI DMA support to ecovec
Date: Tue, 4 May 2010 16:06:35 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.64.1005041413000.4925@axis700.grange> (raw)
In-Reply-To: <Pine.LNX.4.64.1005041318200.4925@axis700.grange>

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---

v1 -> v2:

asm/dmaengine.h is now gone.

 arch/sh/boards/mach-ecovec24/setup.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index 0e36b04..37d9efc 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -11,6 +11,7 @@
 #include <linux/init.h>
 #include <linux/device.h>
 #include <linux/platform_device.h>
+#include <linux/mfd/sh_mobile_sdhi.h>
 #include <linux/mtd/physmap.h>
 #include <linux/gpio.h>
 #include <linux/interrupt.h>
@@ -442,7 +443,9 @@ static void sdhi0_set_pwr(struct platform_device *pdev, int state)
 }
 
 static struct sh_mobile_sdhi_info sdhi0_info = {
-	.set_pwr = sdhi0_set_pwr,
+	.dma_slave_tx	= SHDMA_SLAVE_SDHI0_TX,
+	.dma_slave_rx	= SHDMA_SLAVE_SDHI0_RX,
+	.set_pwr	= sdhi0_set_pwr,
 };
 
 static struct resource sdhi0_resources[] = {
@@ -478,7 +481,9 @@ static void sdhi1_set_pwr(struct platform_device *pdev, int state)
 }
 
 static struct sh_mobile_sdhi_info sdhi1_info = {
-	.set_pwr = sdhi1_set_pwr,
+	.dma_slave_tx	= SHDMA_SLAVE_SDHI1_TX,
+	.dma_slave_rx	= SHDMA_SLAVE_SDHI1_RX,
+	.set_pwr	= sdhi1_set_pwr,
 };
 
 static struct resource sdhi1_resources[] = {
-- 
1.6.2.4


  parent reply	other threads:[~2010-05-04 14:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-04 14:06 [PATCH 0/9 v2] add DMA support to tmio_mmc, using dmaengine API, use it on SH Guennadi Liakhovetski
2010-05-04 14:06 ` [PATCH 1/9 v2] sh: define DMA slaves per CPU type, remove now redundant header Guennadi Liakhovetski
2010-05-06  4:41   ` Magnus Damm
2010-05-04 14:06 ` [PATCH 2/9 v2] SH: add DMA slaves for two SDHI controllers to sh7722 Guennadi Liakhovetski
2010-05-04 14:06 ` [PATCH 3/9 v2] SH: add DMA slave definitions to sh7724 Guennadi Liakhovetski
2010-05-04 14:06 ` [PATCH 4/9 v2] MMC: add DMA support to tmio_mmc driver, when used on SuperH Guennadi Liakhovetski
2010-05-04 14:06 ` Guennadi Liakhovetski [this message]
2010-05-04 14:06 ` [PATCH 6/9 v2] SH: Add SDHI DMA support to ms7724se Guennadi Liakhovetski
2010-05-04 14:06 ` [PATCH 7/9 v2] SH: Add SDHI DMA support to kfr2r09 Guennadi Liakhovetski
2010-05-04 14:06 ` [PATCH 8/9 v2] SH: Add SDHI DMA support to migor Guennadi Liakhovetski
2010-05-04 14:07 ` [PATCH 9/9] ARM: add DMA support to sh7372, enable DMA for SDHI Guennadi Liakhovetski
2010-05-12 22:52   ` Andrew Morton
2010-05-13  6:57     ` Guennadi Liakhovetski
2010-05-26 21:12       ` Andrew Morton
2010-05-26 21:23         ` Guennadi Liakhovetski
2010-05-23 13:49   ` [PATCH 9/9 v2] ARM: mach-shmobile: " Guennadi Liakhovetski
2010-05-31  4:50     ` Paul Mundt

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=Pine.LNX.4.64.1005041413000.4925@axis700.grange \
    --to=g.liakhovetski@gmx.de \
    --cc=dan.j.williams@intel.com \
    --cc=ian@mnementh.co.uk \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.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;
as well as URLs for NNTP newsgroup(s).