]> git.baikalelectronics.ru Git - kernel.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>
Thu, 6 Dec 2012 18:55:14 +0000 (13:55 -0500)
commiteed786c6fe690cd04921894980740a4889cf8928
tree02387f2ac18412ca5e388f81690175f4bbd5749d
parent6fcc1527abfa4e148e1e1415965dc3fcaead971a
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