Files
linux-stable-mirror/include/linux
Rui Feng 8fc1e23381 misc: rtsx: Add SD Express mode support for RTS5261
[ Upstream commit 5afe802132 ]

RTS5261 support SD mode and PCIe/NVMe mode. The workflow is as follows.
1.RTS5261 work in SD mode and set MMC_CAPS2_SD_EXP flag.
2.If card is plugged in, Host send CMD8 to ask card's PCIe availability.
3.If the card has PCIe availability and WP is not set, init_sd_express() will be invoked,
RTS5261 switch to PCIe/NVMe mode.
4.Mmc driver handover it to NVMe driver.
5.If card is unplugged, RTS5261 will switch to SD mode.

Signed-off-by: Rui Feng <rui_feng@realsil.com.cn>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/1603936668-3363-1-git-send-email-rui_feng@realsil.com.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Stable-dep-of: aced969e9b ("mmc: rtsx_pci_sdmmc: increase power-on settling delay to 5ms")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:19:44 -05:00
..
2026-03-04 07:19:25 -05:00
2025-06-27 11:04:09 +01:00
2024-07-05 09:12:55 +02:00
2025-09-11 17:16:06 +02:00
2024-06-21 14:53:46 +02:00
2025-12-07 06:08:09 +09:00
2026-01-19 13:12:00 +01:00
2026-01-19 13:11:54 +01:00
2024-10-17 15:07:44 +02:00
2025-10-29 14:01:18 +01:00
2025-07-17 18:27:44 +02:00
2025-06-04 14:37:08 +02:00
2025-08-28 16:22:31 +02:00
2025-04-10 14:30:53 +02:00
2025-02-01 18:22:32 +01:00
2025-06-27 11:04:09 +01:00
2024-07-05 09:12:55 +02:00
2026-01-19 13:12:03 +01:00
2024-10-17 15:07:57 +02:00
2025-08-28 16:22:37 +02:00