With this patch-set, both sd card and mmc can be setup. This patch-set was verified on Unisoc's Whale2 and another mobile phone platform SC9863A. Changes from v1: - Added Reviewed-by and Tested-by of Baolin; - Added fixes tag for all patches in this series. Chunyan Zhang (5): mmc: sdhci-sprd: fixed incorrect clock divider mmc: sdhci-sprd: add get_ro hook function mmc: sdhci-sprd: add SDHCI_QUIRK2_PRESET_VALUE_BROKEN mms: sdhci-sprd: add SDHCI_QUIRK_BROKEN_CARD_DETECTION mmc: sdhci-sprd: clear the UHS-I modes read from registers drivers/mmc/host/sdhci-sprd.c | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) -- 2.20.1