]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mmc: sdhci-of-dwcmshc: Add command queue support for rockchip SOCs
authorSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 31 Oct 2025 15:58:23 +0000 (16:58 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 11 Nov 2025 16:45:36 +0000 (17:45 +0100)
commitfda1e0af7c28f96d4f33e57cf51565b0e9c14e63
treebe5bc13dc94e5a992d49778ae28ab01d8ab5cb66
parenteadea8e134d4fc0d770ae14132d8b0e48f8c429d
mmc: sdhci-of-dwcmshc: Add command queue support for rockchip SOCs

This adds CQE support for the Rockchip RK3588 and RK3576 platform. To
be functional, the eMMC device-tree node must have a 'supports-cqe;'
flag property.

As the RK3576 device-tree has been upstreamed with the 'supports-cqe;'
property set by default, the kernel already tried to use CQE, which
results in system hang during suspend. This fixes the issue.

Co-developed-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c