]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: sdhci: rk3568: bypass DLL when clk <= 52 MHz
authorVasily Khoruzhick <anarsoul@gmail.com>
Thu, 9 Mar 2023 01:28:30 +0000 (17:28 -0800)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 19 Mar 2023 06:12:00 +0000 (14:12 +0800)
commit337bd1a0f9d4870924132d692b358214afaf9e71
treee02861e37fb6429c52c92ab62fccb2b06a55af19
parent5c3e972f1ae8b7823f86cca3afc240dc5cf824c0
rockchip: sdhci: rk3568: bypass DLL when clk <= 52 MHz

For Rockchip platform, DLL bypass bit and start bit need to be set if
DLL is not locked.

With this change applied eMMC in my NanoPi R5S can run at 52 MHz.

Based on linux commit b75a52b0dda3 ("mmc: sdhci-of-dwcmshc: Update DLL
and pre-change delay for rockchip platform")

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/mmc/rockchip_sdhci.c