mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
arm64: dts: rockchip: rk3588: Set SDHCI core clk to 200MHz
As we mask our SDHCI controller as SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN, host->max_clk is derived from core clock in the first place. Then f_max works together with it. If we adjust loader's core clk setting, such as 50MHz, we will get 50MHz for host->max_clk, because .get_max_clock() reads core clk when probing driver. That will lead f_max be set to 50MHz as well, no matter if max-frequency is set higher than 50MHz. We can simple solve this problem by assigning core clk as 200MHz in the first place and then let max-frequency property takes over it. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Change-Id: I25986720fa441da3786ca0904a2d4b1a5b0568e5
This commit is contained in:
@@ -2912,8 +2912,8 @@
|
||||
compatible = "rockchip,rk3588-dwcmshc", "rockchip,dwcmshc-sdhci";
|
||||
reg = <0x0 0xfe2e0000 0x0 0x10000>;
|
||||
interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
|
||||
assigned-clocks = <&cru BCLK_EMMC>, <&cru TMCLK_EMMC>;
|
||||
assigned-clock-rates = <200000000>, <24000000>;
|
||||
assigned-clocks = <&cru BCLK_EMMC>, <&cru TMCLK_EMMC>, <&cru CCLK_EMMC>;
|
||||
assigned-clock-rates = <200000000>, <24000000>, <200000000>;
|
||||
clocks = <&cru CCLK_EMMC>, <&cru HCLK_EMMC>,
|
||||
<&cru ACLK_EMMC>, <&cru BCLK_EMMC>,
|
||||
<&cru TMCLK_EMMC>;
|
||||
|
||||
Reference in New Issue
Block a user