mmc: rtsx: Add test mode for RTS5261
authorRui Feng <rui_feng@realsil.com.cn>
Tue, 3 Nov 2020 09:54:29 +0000 (17:54 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Nov 2020 10:59:29 +0000 (11:59 +0100)
commit6b7b58f425c3359787483479d73c0bb98ffc65b8
tree27b6cbe16ea97245a86f5cd159158f194f09e211
parent13b4e1e92411d4f375c7ffe1b72abb162369ab53
mmc: rtsx: Add test mode for RTS5261

This patch add test mode for RTS5261.
If test mode is set, reader will switch to SD Express mode
mandatorily, and this mode is used by factory testing only.

Signed-off-by: Rui Feng <rui_feng@realsil.com.cn>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/1604397269-2780-1-git-send-email-rui_feng@realsil.com.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/misc/cardreader/rts5261.h
drivers/mmc/host/rtsx_pci_sdmmc.c
include/linux/rtsx_pci.h