]> git.dujemihanovic.xyz Git - u-boot.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)
commit2321a991bbb5f0de0781df09d332ee068426e264
treee02861e37fb6429c52c92ab62fccb2b06a55af19
parent9fe2e4ab93ea34706dad615084ba9699a81fbcf8
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