From 8d74d6b7d3f5cdeccc51bcd26ea65ee93ac9ad3e Mon Sep 17 00:00:00 2001 From: Yifeng Zhao Date: Wed, 11 Nov 2020 18:54:40 +0800 Subject: [PATCH] drivers: mmc: rockchip: rk3568: config rx clock no inverter for hs200 Signed-off-by: Yifeng Zhao Change-Id: I426a5c3ee0899fbd54711e13550310f77f8abd3e --- drivers/mmc/rockchip_sdhci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/rockchip_sdhci.c b/drivers/mmc/rockchip_sdhci.c index c6f08f1041..375f3dfd9c 100644 --- a/drivers/mmc/rockchip_sdhci.c +++ b/drivers/mmc/rockchip_sdhci.c @@ -335,7 +335,8 @@ static int rk3568_sdhci_emmc_set_clock(struct sdhci_host *host, unsigned int clo timeout--; } - extra = DWCMSHC_EMMC_DLL_DLYENA; + extra = DWCMSHC_EMMC_DLL_DLYENA | + DLL_RXCLK_NO_INVERTER << DWCMSHC_EMMC_DLL_RXCLK_SRCSEL; sdhci_writel(host, extra, DWCMSHC_EMMC_DLL_RXCLK); extra = DWCMSHC_EMMC_DLL_DLYENA |