|
|
Log in / Subscribe / Register

mmc: bcm2835: Add new driver for the internal SD controller.

From:  Gerd Hoffmann <kraxel-AT-redhat.com>
To:  linux-rpi-kernel-AT-lists.infradead.org
Subject:  [PATCH 0/4] mmc: bcm2835: Add new driver for the internal SD controller.
Date:  Fri, 27 Jan 2017 12:36:25 +0100
Message-ID:  <1485516989-1072-1-git-send-email-kraxel@redhat.com>
Cc:  ulf.hansson-AT-linaro.org, robh+dt-AT-kernel.org, mark.rutland-AT-arm.com, f.fainelli-AT-gmail.com, rjui-AT-broadcom.com, sbranden-AT-broadcom.com, bcm-kernel-feedback-list-AT-broadcom.com, swarren-AT-wwwdotorg.org, lee-AT-kernel.org, eric-AT-anholt.net, linux-AT-armlinux.org.uk, linux-mmc-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org, Gerd Hoffmann <kraxel-AT-redhat.com>

  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



Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds