ARM: mvebu: set SW polling as SDHCI card detection on A388-GP
authorMarcin Wojtas <mw@semihalf.com>
Thu, 15 Oct 2015 16:25:44 +0000 (18:25 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 16 Oct 2015 17:17:57 +0000 (19:17 +0200)
commit6b61f2497852b7d27e1c024d966c09defbf99948
treefe94f65e50fefd5c4086ce2281d304df56b04a58
parent2b63821e5b213ed09a044bf944d91e380549b2da
ARM: mvebu: set SW polling as SDHCI card detection on A388-GP

The newest revisions of A388-GP (v1.5 and higher) support only
DAT3-based card detection. Revisions < v1.5 based on GPIO detection
via I2C expander, but this solution is supposed to be deprecated on
new boards. In order to satisfy all type of hardware this commit
changes card detection to use software polling mechanism. Also a
comment is added on possible card detection options in A388-GP
DT board file.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-388-gp.dts