All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: Wolfram Sang <wsa+renesas@sang-engineering.com>,
	Ulf Hansson <ulf.hansson@linaro.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	linux-mmc@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	Simon Horman <horms+renesas@verge.net.au>
Subject: [PATCH/RFC 0/4] mmc: renesas_sdhi: add R-Car Gen-3 DMA support
Date: Wed, 15 Jun 2016 13:01:53 +0900	[thread overview]
Message-ID: <1465963317-28672-1-git-send-email-horms+renesas@verge.net.au> (raw)

Hi,

this short series adds support for  R-Car Gen-3 DMA to the SDHI driver.

The approach taken is as follows:

1. Rename sh_mobile_sdhi.c as renesas_sdhi.c
2. Refactor the TMIO DMA code so that it is provided by a set of callbacks
   rather than compiled-in function calls; Refactor the DMA SDHI to use this.
3. Rename tmio_mmc_dma.c as renesas_sdhi_dma.c which reflects more closely
   what it is is, particularly after step 2.
4. Add Gen3 DMA code as a separate set of callbacks

Please note that currently the DMA callbacks used are determined based
on the SDHI compat string in effect.

Based on mmc/next

Provided as:

git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git topic/sdhi-gen3-dma

Simon Horman (3):
  mmc: renesas_sdhi: rename sh_mobile_sdhi as renesas_sdhi
  mmc: renesas_sdhi, tmio: make dma more modular
  mmc: renesas_sdhi: rename DMA source file as renesas_sdhi_dma.c

Yoshihiro Shimoda (1):
  mmc: renesas_sdhi: add support for R-Car Gen3 SDHI DMAC

 drivers/mmc/host/Kconfig                           |  22 ++-
 drivers/mmc/host/Makefile                          |   5 +-
 .../mmc/host/{sh_mobile_sdhi.c => renesas_sdhi.c}  |  43 +++++
 .../host/{tmio_mmc_dma.c => renesas_sdhi_dma.c}    |  26 ++-
 drivers/mmc/host/renesas_sdhi_dma_gen3.c           | 190 +++++++++++++++++++++
 drivers/mmc/host/tmio_mmc.h                        |  39 +----
 drivers/mmc/host/tmio_mmc_pio.c                    |  47 +++++
 7 files changed, 333 insertions(+), 39 deletions(-)
 rename drivers/mmc/host/{sh_mobile_sdhi.c => renesas_sdhi.c} (93%)
 rename drivers/mmc/host/{tmio_mmc_dma.c => renesas_sdhi_dma.c} (92%)
 create mode 100644 drivers/mmc/host/renesas_sdhi_dma_gen3.c

-- 
2.1.4

             reply	other threads:[~2016-06-15  4:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-15  4:01 Simon Horman [this message]
2016-06-15  4:01 ` [PATCH/RFC 1/4] mmc: renesas_sdhi: rename sh_mobile_sdhi as renesas_sdhi Simon Horman
2016-06-22 14:11   ` Wolfram Sang
2016-06-15  4:01 ` [PATCH/RFC 2/4] mmc: renesas_sdhi, tmio: make dma more modular Simon Horman
2016-06-22 14:13   ` Wolfram Sang
2016-06-15  4:01 ` [PATCH/RFC 3/4] mmc: renesas_sdhi: rename DMA source file as renesas_sdhi_dma.c Simon Horman
2016-06-22 14:21   ` Wolfram Sang
2016-06-15  4:01 ` [PATCH/RFC 4/4] mmc: renesas_sdhi: add support for R-Car Gen3 SDHI DMAC Simon Horman
2016-06-27 12:18   ` Wolfram Sang
2016-06-27 12:17 ` [PATCH/RFC 0/4] mmc: renesas_sdhi: add R-Car Gen-3 DMA support Wolfram Sang

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=1465963317-28672-1-git-send-email-horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=ulf.hansson@linaro.org \
    --cc=wsa+renesas@sang-engineering.com \
    --cc=yoshihiro.shimoda.uh@renesas.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 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.