mmc: sdhci-xenon: Add Xenon SDHCI specific system-level PM support
authorHu Ziji <huziji@marvell.com>
Wed, 12 Jul 2017 22:16:19 +0000 (15:16 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:57 +0000 (14:01 +0200)
commita0fd95b30edb12d8be714674dbd5377b0441786b
treea38718df166481f875cafcffd857926863446bb7
parent03de19212ea3bce221e0e79dba8752ddc5b350cb
mmc: sdhci-xenon: Add Xenon SDHCI specific system-level PM support

Add Xenon specific system-level suspend and resume support.
Especially during resume, re-configure Xenon specific registers
since registers setting will be lost in suspend if Xenon is power off.

Signed-off-by: Hu Ziji <huziji@marvell.com>
Signed-off-by: Zhoujie Wu <zjwu@marvell.com>
Tested-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-xenon.c