Rui Feng 5afe802132 misc: rtsx: 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>
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>
2020-11-16 11:59:28 +01:00
..
2020-10-22 12:41:00 -07:00
2020-10-24 10:44:18 -07:00
2020-10-23 11:17:56 -07:00
2020-10-24 10:33:08 -07:00
2020-10-28 09:14:49 -03:00
2020-10-23 16:19:02 -07:00
2020-10-24 10:39:22 -07:00
2020-11-13 10:55:50 -08:00
2020-10-25 10:55:35 -07:00