]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mmc: dw_mmc-rockchip: Fix runtime PM support for internal phase support
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 16 Jan 2026 00:55:30 +0000 (08:55 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Feb 2026 11:05:20 +0000 (12:05 +0100)
commit6465a8bbb0f6ad98aeb66dc9ea19c32c193a610b
tree9326676d2062f5e449564cad4f55ea05b23cd68a
parentaf12e64ae0661546e8b4f5d30d55c5f53a11efe7
mmc: dw_mmc-rockchip: Fix runtime PM support for internal phase support

RK3576 is the first platform to introduce internal phase support, and
subsequent platforms are expected to adopt a similar design. In this
architecture, runtime suspend powers off the attached power domain, which
resets registers, including vendor-specific ones such as SDMMC_TIMING_CON0,
SDMMC_TIMING_CON1, and SDMMC_MISC_CON. These registers must be saved and
restored, a requirement that falls outside the scope of the dw_mmc core.

Fixes: 59903441f5e4 ("mmc: dw_mmc-rockchip: Add internal phase support")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Tested-by: Marco Schirrmeister <mschirrmeister@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc-rockchip.c