All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] bcm2835 SDHOST controller
@ 2016-02-26 23:05 ` Eric Anholt
  0 siblings, 0 replies; 40+ messages in thread
From: Eric Anholt @ 2016-02-26 23:05 UTC (permalink / raw)
  To: linux-rpi-kernel
  Cc: linux-arm-kernel, linux-kernel, Stephen Warren, Lee Jones,
	Florian Fainelli, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, devicetree, Ulf Hansson, linux-mmc,
	Eric Anholt

Here's a series to enable the SDHOST controller.  It gives us better
performance than our old sdhci-bcm2835.c.  The downstream Raspberry Pi
kernel appears to be using this controller by default at this point.

I've tried to do some testing on it (mounting filesystem,
reading/writing files, speed tests), but I'm not sure what a good
testing regimen for storage drivers would be.

Eric Anholt (4):
  dt-bindings: Add binding for brcm,bcm2835-sdhost.
  mmc: bcm2835-sdhost: Add new driver for the internal SD controller.
  ARM: bcm2835: Include SDHOST in the device tree.
  ARM: bcm2835: Enable SDHOST by default.

 .../bindings/mmc/brcm,bcm2835-sdhost.txt           |   25 +
 arch/arm/boot/dts/bcm2835-rpi.dtsi                 |   10 +-
 arch/arm/boot/dts/bcm283x.dtsi                     |    8 +
 drivers/mmc/host/Kconfig                           |    9 +
 drivers/mmc/host/Makefile                          |    1 +
 drivers/mmc/host/bcm2835-sdhost.c                  | 1652 ++++++++++++++++++++
 6 files changed, 1704 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt
 create mode 100644 drivers/mmc/host/bcm2835-sdhost.c

-- 
2.7.0

^ permalink raw reply	[flat|nested] 40+ messages in thread
* [PATCH 0/4] mmc: bcm2835: Add new driver for the internal SD controller.
@ 2017-01-27 11:36 Gerd Hoffmann
  2017-01-27 11:36   ` Gerd Hoffmann
  0 siblings, 1 reply; 40+ messages in thread
From: Gerd Hoffmann @ 2017-01-27 11:36 UTC (permalink / raw)
  To: linux-rpi-kernel
  Cc: ulf.hansson, robh+dt, mark.rutland, f.fainelli, rjui, sbranden,
	bcm-kernel-feedback-list, swarren, lee, eric, linux, linux-mmc,
	devicetree, linux-arm-kernel, linux-kernel, Gerd Hoffmann

  Hi,

Here comes the bcm2835 sdhost driver, with all cleanups squashed in, so
you see just the final result without all the inividual cleanup steps.

Patch #2 is the actual driver, commit message has some more info on the
driver.  Patches 1+3 add the device tree bits.

Patch #4 is the big red switch which activates the driver.

Tested on a rpi2 so far, and in PIO mode only.  Will looking at enabling
DMA next, and fixing whatever comes up in review of course.

please review & test,
  Gerd

Eric Anholt (2):
  dt-bindings: Add binding for brcm,bcm2835-sdhost.
  mmc: bcm2835: Add new driver for the internal SD controller.

Gerd Hoffmann (2):
  mmc: bcm2835: add internal SD controller to devicetree
  ARM: dts: bcm283x: switch from &sdhci to &sdhost

 .../bindings/mmc/brcm,bcm2835-sdhost.txt           |   24 +
 arch/arm/boot/dts/bcm2835-rpi.dtsi                 |    6 +
 arch/arm/boot/dts/bcm283x.dtsi                     |    8 +
 drivers/mmc/host/Kconfig                           |    9 +
 drivers/mmc/host/Makefile                          |    1 +
 drivers/mmc/host/bcm2835.c                         | 1495 ++++++++++++++++++++
 6 files changed, 1543 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mmc/brcm,bcm2835-sdhost.txt
 create mode 100644 drivers/mmc/host/bcm2835.c

-- 
1.8.3.1

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

end of thread, other threads:[~2017-02-01 15:54 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 23:05 [PATCH 0/4] bcm2835 SDHOST controller Eric Anholt
2016-02-26 23:05 ` Eric Anholt
2016-02-26 23:05 ` Eric Anholt
2016-02-26 23:05 ` [PATCH 1/4] dt-bindings: Add binding for brcm,bcm2835-sdhost Eric Anholt
2016-02-26 23:05   ` Eric Anholt
2016-02-26 23:05   ` Eric Anholt
2016-03-03 22:02   ` Rob Herring
2016-03-03 22:02     ` Rob Herring
2016-02-26 23:05 ` [PATCH 2/4] mmc: bcm2835-sdhost: Add new driver for the internal SD controller Eric Anholt
2016-02-26 23:05   ` Eric Anholt
2016-02-26 23:05   ` Eric Anholt
2016-02-26 23:05 ` [PATCH 3/4] ARM: bcm2835: Include SDHOST in the device tree Eric Anholt
2016-02-26 23:05   ` Eric Anholt
2016-02-26 23:05   ` Eric Anholt
2016-02-27 18:17   ` Sergei Shtylyov
2016-02-27 18:17     ` Sergei Shtylyov
2016-02-26 23:05 ` [PATCH 4/4] ARM: bcm2835: Enable SDHOST by default Eric Anholt
2016-02-26 23:05   ` Eric Anholt
2016-02-26 23:05   ` Eric Anholt
2016-02-29 10:09 ` [PATCH 0/4] bcm2835 SDHOST controller Martin Sperl
2016-02-29 10:09   ` Martin Sperl
2017-01-27 11:36 [PATCH 0/4] mmc: bcm2835: Add new driver for the internal SD controller Gerd Hoffmann
2017-01-27 11:36 ` [PATCH 1/4] dt-bindings: Add binding for brcm,bcm2835-sdhost Gerd Hoffmann
2017-01-27 11:36   ` Gerd Hoffmann
2017-01-27 11:36   ` Gerd Hoffmann
2017-01-30 21:37   ` Stefan Wahren
2017-01-30 21:37     ` Stefan Wahren
2017-01-30 21:37     ` Stefan Wahren
2017-01-31  8:10     ` Gerd Hoffmann
2017-01-31  8:10       ` Gerd Hoffmann
2017-01-31  8:10       ` Gerd Hoffmann
2017-01-31 18:40     ` Eric Anholt
2017-01-31 18:40       ` Eric Anholt
2017-01-31 18:40       ` Eric Anholt
2017-02-01 11:06       ` Gerd Hoffmann
2017-02-01 11:06         ` Gerd Hoffmann
2017-02-01 15:02   ` Rob Herring
2017-02-01 15:02     ` Rob Herring
2017-02-01 15:02     ` Rob Herring
2017-02-01 15:54     ` Gerd Hoffmann
2017-02-01 15:54       ` Gerd Hoffmann

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.