mmc: core: add eMMC hardware reset support
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 29 Aug 2011 13:42:11 +0000 (16:42 +0300)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:05 +0000 (16:32 -0400)
commitb2499518b5ad7e28bb3ed348fd3f370eeb1e36c0
treec4c9597d0631554bffeecbcc6a2a7ec3037ea78c
parent8e3336b1e4378f7d205af9b25dcc9e645c8a9609
mmc: core: add eMMC hardware reset support

eMMC's may have a hardware reset line.  This patch provides a
host controller operation to implement hardware reset and
a function to reset and reinitialize the card.  Also, for MMC,
the reset is always performed before initialization.

The host must set the new host capability MMC_CAP_HW_RESET
to enable hardware reset.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
drivers/mmc/core/mmc.c
include/linux/mmc/card.h
include/linux/mmc/core.h
include/linux/mmc/host.h
include/linux/mmc/mmc.h