]> git.baikalelectronics.ru Git - uboot.git/commit
clk: rockchip: rk3568: add more supported clk rates for sdmmc and emmc
authorVasily Khoruzhick <anarsoul@gmail.com>
Thu, 23 Feb 2023 21:03:32 +0000 (13:03 -0800)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 28 Feb 2023 10:07:29 +0000 (18:07 +0800)
commit197f90c3f9ff335e4d8ca69b022a265e28144454
treeb490ec92a80da9b4ac464f4c3250d98216a85140
parent30b33161ceeb92791df46abed1b6fae733a852be
clk: rockchip: rk3568: add more supported clk rates for sdmmc and emmc

SDHCI driver may attempt to set 26MHz clock, but clk_rk3568
will return error in this case. Apparently, SDHCI silently ignores the
error and as a result eMMC initialization fails.

Add 25 MHz and 26 MHz clk rates for sdmmc and emmc on rk3568 to fix that.

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