ARM: 7218/1: mmc: mmci: Provide option to configure bus signal direction
commit4d1a3a0dc551cfa7304ca46e014231500f3b81a6
authorUlf Hansson <ulf.hansson@stericsson.com>
Tue, 13 Dec 2011 15:57:07 +0000 (13 16:57 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 20 Jan 2012 00:00:56 +0000 (20 00:00 +0000)
tree6ff7bfe536c5335b4821a2100d898861284ae8b2
parent7d72a1d48af95211677ea83157945a8ef76b0751
ARM: 7218/1: mmc: mmci: Provide option to configure bus signal direction

The ST Micro variant supports bus signal direction indication. A new
member in the variant struct is added for this.

Moreover the actual signal direction configuration is board specific,
thus the amba mmci platform data is extended with a new member to be
able provide mmci with these specific board configurations.

This patch is based upon a patch from Sebastian Rasmussen.

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com>
Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h
include/linux/amba/mmci.h