diff options
author | Rui Feng <rui_feng@realsil.com.cn> | 2020-10-29 04:58:23 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-11-16 13:59:28 +0300 |
commit | 9ff43c7be9b417ed712de0f6a0918974f60beacf (patch) | |
tree | 9cd7e9a445bb6fce2f1eb9d6e031ff9cad81edeb /drivers/memstick/host | |
parent | 5afe802132f242f5520d2acac09ea05d31e3c7cf (diff) | |
download | linux-9ff43c7be9b417ed712de0f6a0918974f60beacf.tar.xz |
mmc: rtsx_pci: Add SD Express mode support for RTS5261
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>
Link: https://lore.kernel.org/r/1603936703-3403-1-git-send-email-rui_feng@realsil.com.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/memstick/host')
0 files changed, 0 insertions, 0 deletions