Hi Jaehoon and Ulf, This a patchset going to support runtime PM for dw_mmc. Basically it is a prototype design with some redundant code there. But I think it's okay to send it out for sure I am not heading in the wrong direction. For v2, it could support to disable biu_clk and power-off genpd if we find the gpio cd is used. Shawn Lin (4): mmc: dw_mmc: add runtime PM callback mmc: dw_mmc-rockchip: add runtime PM support mmc: core: expose the capability of gpio card detect mmc: dw_mmc-rockchip: disable biu clk and genpd if possible drivers/mmc/core/slot-gpio.c | 8 +++++ drivers/mmc/host/dw_mmc-rockchip.c | 73 ++++++++++++++++++++++++++++++++++++-- drivers/mmc/host/dw_mmc.c | 60 +++++++++++++++++++++++++++++-- drivers/mmc/host/dw_mmc.h | 4 ++- include/linux/mmc/slot-gpio.h | 1 + 5 files changed, 140 insertions(+), 6 deletions(-) -- 2.3.7 -- 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