]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: sdhci-dove: allow GPIOs to be used for card detection on Dove
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Nov 2012 23:55:51 +0000 (23:55 +0000)
committerChris Ball <cjb@laptop.org>
Tue, 4 Dec 2012 18:43:45 +0000 (13:43 -0500)
commita3fdd46f079abe84d4fca283ad2cda1983f3dc97
tree561d3ccd6f8156018e4deb24e82a34b2d8930589
parentf2337fd9cfc12ce54c6b2cbaed7cc5cc1224e309
mmc: sdhci-dove: allow GPIOs to be used for card detection on Dove

This commit taken from Rabeeh's Cubox kernel and re-worked for DT;
Sebastian Hasselbrath is believed to be the original author.

Some Cuboxes require a GPIO for card detection; this implements the
optional GPIO support for card detection.  This GPIO is logic 0 for
card inserted.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-dove.c