aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMaksim Kiselev <[email protected]>2024-12-10 08:30:27 +0000
committerStephen Boyd <[email protected]>2024-12-17 20:17:50 +0000
commitf4bf0b909a6bf64a2220a42a7c8b8c2ee1b77b89 (patch)
tree0ccaf5a8891cf7562e883270e459ef6fadf7cd69 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentclk: en7523: Initialize num before accessing hws in en7523_register_clocks() (diff)
downloadkernel-f4bf0b909a6bf64a2220a42a7c8b8c2ee1b77b89.tar.gz
kernel-f4bf0b909a6bf64a2220a42a7c8b8c2ee1b77b89.zip
clk: thead: Fix TH1520 emmc and shdci clock rate
In accordance with LicheePi 4A BSP the clock that comes to emmc/sdhci is 198Mhz which is got through frequency division of source clock VIDEO PLL by 4 [1]. But now the AP_SUBSYS driver sets the CLK EMMC SDIO to the same frequency as the VIDEO PLL, equal to 792 MHz. This causes emmc/sdhci to work 4 times slower. Let's fix this issue by adding fixed factor clock that divides VIDEO PLL by 4 for emmc/sdhci. Link: https://github.com/revyos/thead-kernel/blob/7563179071a314f41cdcdbfd8cf6e101e73707f3/drivers/clk/thead/clk-light-fm.c#L454 Fixes: ae81b69fd2b1 ("clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks") Signed-off-by: Maksim Kiselev <[email protected]> Link: https://lore.kernel.org/r/[email protected] Tested-by: Xi Ruoyao <[email protected]> Reviewed-by: Drew Fustini <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions