sdhci: Add support for hosts that are only capable of 1-bit transfers
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 17 Jun 2009 20:14:08 +0000 (00:14 +0400)
committerPierre Ossman <pierre@ossman.eu>
Sun, 21 Jun 2009 19:00:59 +0000 (21:00 +0200)
commit5fe23c7f51def59f66bc6aeee988ef1a467a2c8c
tree6d10aa3966cf105a8c6d6b758660fa6f00a49896
parent04ac2f46d6ecb995f78c9ae4e2e4707d00b5339f
sdhci: Add support for hosts that are only capable of 1-bit transfers

Some hosts (hardware configurations, or particular SD/MMC slots) may
not support 4-bit bus. For example, on MPC8569E-MDS boards we can
switch between serial (1-bit only) and nibble (4-bit) modes, thought
we have to disable more peripherals to work in 4-bit mode.

Along with some small core changes, this patch modifies sdhci-of
driver, so that now it looks for "sdhci,1-bit-only" property in the
device-tree, and if specified we enable a proper quirk.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
Documentation/powerpc/dts-bindings/fsl/esdhc.txt
drivers/mmc/host/sdhci-of.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h