[PATCH 0/3] sdhci-dove GPIO support for card detection

Russell King - ARM Linux
2012-11-22T23:55:57Z

The following three patches allow sdhci-dove to use a GPIO for card
presence detection. This is a three stage process:

1. Clean up error paths by using devm_clk_get().
2. Use the two-stage sdhci initialization.
3. Implement the GPIO card detection support.

A very similar patch has been tested by Sebastian on the cubox; since
that version, I've changed the error printing slightly and dropped the
non-DT support for this feature as mainline doesn't have non-DT cubox
support.

drivers/mmc/host/sdhci-dove.c | 108 +++++++++++++++++++++++++++++++++--------
1 files changed, 88 insertions(+), 20 deletions(-)