]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-pxav3: add support for the Armada 38x SDHCI controller
authorMarcin Wojtas <mw@semihalf.com>
Tue, 18 Feb 2014 15:08:29 +0000 (16:08 +0100)
committerChris Ball <chris@printf.net>
Sat, 29 Mar 2014 16:18:19 +0000 (12:18 -0400)
commit1058ef28c855cef80b3b3ab420c3b967b6d4197e
tree3c9f01acbd45734d0b5955b19cf7e554099cc06d
parent088ffab8c53204063e951177a4b7494a2890ad21
mmc: sdhci-pxav3: add support for the Armada 38x SDHCI controller

The SDHCI unit used on the Armada 380 and 385 Marvell SoC is similar
to the PXAv3 unit. The only difference is that on Armada 38x, the
PXAv3 unit accesses memory through MBus windows which must be
configured prior to using the device. Without this, DMA would not
work.

In order to achieve this, the sdhci-pxav3 driver is extended with an
additional compatible string "marvell,armada-380-sdhci". When this
compatible string is used, the MBus windows are initialized in a way
that is identical to what all other DMA-capable drivers for Marvell
EBU platforms do.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Chris Ball <chris@printf.net>
Documentation/devicetree/bindings/mmc/sdhci-pxa.txt
drivers/mmc/host/sdhci-pxav3.c