]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-esdhc-imx: support 8bit mode
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 21 Jan 2013 11:02:28 +0000 (19:02 +0800)
committerChris Ball <cjb@laptop.org>
Mon, 11 Feb 2013 18:29:08 +0000 (13:29 -0500)
commitded86520327761c3b03e853c0f27955216e70692
tree937bb9166c549ab3ebfbdb19c8dc63e76f904584
parent7d90f1afad6beb32be8c79de9bdb2d39aac58966
mmc: sdhci-esdhc-imx: support 8bit mode

The i.MX esdhc has a nonstandard bit layout for the SDHCI_HOST_CONTROL
register. To support 8bit bus width on i.MX populate the platform_bus_width
callback. This is tested on an i.MX25, but should according to the datasheets
work on the other i.MX using this hardware aswell. The i.MX6, while having
a SDHCI_SPEC_300 controller, still uses the same nonstandard register layout.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Dirk Behme <dirk.behme@de.bosch.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c
include/linux/platform_data/mmc-esdhc-imx.h