mmc: host: sdhci-esdhc-imx: add wakeup feature for GPIO CD pin
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 27 May 2020 02:39:35 +0000 (10:39 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 29 May 2020 10:38:00 +0000 (12:38 +0200)
commitf61404626113080863c904a459576ba0c03a49ba
treea9062a0802f2cd5364b372639a6f0b327b0b5946
parent942d5e7bae36153a232102809bdf8b0a5ab110dc
mmc: host: sdhci-esdhc-imx: add wakeup feature for GPIO CD pin

When use the specific GPIO to detect the card insert/remove, we can
also add the GPIO as a wakeup source. When system suspend, insert or
remove the card can wakeup the system.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/1590547175-15070-1-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c