linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] mmc: sdhci-iproc: add bcm2835 support
@ 2016-01-27 22:25 Stefan Wahren
  2016-01-27 22:25 ` [PATCH 1/3] mmc: sdhci-iproc: define MMC caps in platform data Stefan Wahren
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Stefan Wahren @ 2016-01-27 22:25 UTC (permalink / raw)
  To: Scott Branden, Ray Jui, Jon Mason, Stephen Warren, Lee Jones,
	Eric Anholt
  Cc: Rob Herring, Mark Rutland, Arnd Bergmann, Ulf Hansson, kernel,
	devicetree, linux-rpi-kernel, linux-mmc, jszhang, shawn.lin,
	bcm-kernel-feedback-list, Stefan Wahren

This patch series based on the suggestion of Scott Branden to implement
bcm2835 support into sdhci-iproc [1].

These changes provide the following advantages:
  * no need to maintain a separate driver for bcm2835
  * improve support and test coverage of bcm2835 mmc support
  * get the rid of SDHCI_CAPABILITIES hack in bcm2835_sdhci_readl
  * increase write performance by avoiding delays in write ops

Patch 1 prepare sdhci-iproc for another platform. Patch 2 and 3
are the actually changes for bcm2835 support.

These series has been tested on Raspberry Pi B with dd (direct I/O):

sdhci-bcm2835

378 kB/s WRITE
10,6 MB/s READ

sdhci-iproc (after applying patch series)

881 kB/s WRITE
10,8 MB/s READ

Changes since RFC:
  * drop patch which tries to add quirks for bcm2835 in DT and define all
    quirks in driver instead to keep old DTs working with sdhci-iproc
    (suggestion by Stephen Warren)
  * define MMC caps in shdci-iproc platform data to make adding new
    platforms more easily (suggestion by Stephen Warren)

[1] - https://lkml.org/lkml/2015/12/22/525

Stefan Wahren (3):
  mmc: sdhci-iproc: define MMC caps in platform data
  mmc: sdhci-iproc: add bcm2835 support
  DT: sdhci-iproc: add bcm2835 compatible

 .../devicetree/bindings/mmc/brcm,sdhci-iproc.txt   |    5 ++++-
 drivers/mmc/host/Kconfig                           |    6 +++---
 drivers/mmc/host/sdhci-iproc.c                     |   20 ++++++++++++++++++--
 3 files changed, 25 insertions(+), 6 deletions(-)

-- 
1.7.9.5


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-29 11:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-27 22:25 [PATCH 0/3] mmc: sdhci-iproc: add bcm2835 support Stefan Wahren
2016-01-27 22:25 ` [PATCH 1/3] mmc: sdhci-iproc: define MMC caps in platform data Stefan Wahren
2016-01-27 22:25 ` [PATCH 2/3] mmc: sdhci-iproc: add bcm2835 support Stefan Wahren
2016-01-27 22:25 ` [PATCH 3/3] DT: sdhci-iproc: add bcm2835 compatible Stefan Wahren
2016-01-28  0:36 ` [PATCH 0/3] mmc: sdhci-iproc: add bcm2835 support Scott Branden
     [not found] ` <1453933542-30287-1-git-send-email-stefan.wahren-eS4NqCHxEME@public.gmane.org>
2016-01-29  5:10   ` Stephen Warren
2016-01-29 11:41 ` Ulf Hansson

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).