All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 2/4] ARM: shmobile: kzm9g: enable DMAEngine on MMCIF
Date: Tue, 19 Jun 2012 04:36:39 +0000	[thread overview]
Message-ID: <4FE001D7.9070207@kmckk.co.jp> (raw)
In-Reply-To: <87aa00t4y2.wl%kuninori.morimoto.gx@renesas.com>

Hi, morimoto-san

After applying this patch, I can mount and read/write to eMMC.
Is it enough to test?
Or how do I know DMAEngine is working properly?


(2012/06/19 11:23), Kuninori Morimoto wrote:
> It is possible to reduce CPU load if MMCIF used DMAEngine.
> This patch enabled it.
>
> Signed-off-by: Kuninori Morimoto<kuninori.morimoto.gx@renesas.com>
> ---
>   arch/arm/mach-shmobile/board-kzm9g.c |    2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c
> index d2feee1..ba80e72 100644
> --- a/arch/arm/mach-shmobile/board-kzm9g.c
> +++ b/arch/arm/mach-shmobile/board-kzm9g.c
> @@ -197,6 +197,8 @@ static struct resource sh_mmcif_resources[] = {
>   static struct sh_mmcif_plat_data sh_mmcif_platdata = {
>   	.ocr		= MMC_VDD_165_195,
>   	.caps		= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE,
> +	.slave_id_tx	= SHDMA_SLAVE_MMCIF_TX,
> +	.slave_id_rx	= SHDMA_SLAVE_MMCIF_RX,
>   };
>
>   static struct platform_device mmc_device = {


  reply	other threads:[~2012-06-19  4:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-19  2:23 [PATCH 2/4] ARM: shmobile: kzm9g: enable DMAEngine on MMCIF Kuninori Morimoto
2012-06-19  4:36 ` Tetsuyuki Kobayashi [this message]
2012-06-19  4:59 ` Kuninori Morimoto
2012-06-19  8:26 ` Simon Horman

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=4FE001D7.9070207@kmckk.co.jp \
    --to=koba@kmckk.co.jp \
    --cc=linux-sh@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.