Please find a simple sdhci runtime_pm implementation that uses clock gating fw as a tip to know when our chip is idle. Previous version was RFC and untested, This version has been tested on intel medfield platform. Pierre Tardy (2): mmc: put the led blinking code after clock ungating sdhci:v2:use ios->clock to know when sdhci is idle Yunpeng Gao (1): sdhci-pci : Enable runtime PM support drivers/mmc/core/core.c | 3 +- drivers/mmc/host/sdhci-pci.c | 124 ++++++++++++++++++++++++++++++++++++++++++ drivers/mmc/host/sdhci.c | 60 ++++++++++++++++++++ drivers/mmc/host/sdhci.h | 5 ++ include/linux/mmc/sdhci.h | 1 + 5 files changed, 191 insertions(+), 2 deletions(-) -- 1.7.2.3 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html