diff options
author | Chris Morgan <macromorgan@hotmail.com> | 2023-12-04 12:57:16 -0600 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-12-05 10:45:55 +0100 |
commit | 721bf080f249ab2adcc4337abe164230bfb8594f (patch) | |
tree | 7c9b2a3421ee51e025fb8a0512e4ffb583465008 /drivers/clk/rockchip | |
parent | 685da6972647b486980c0cc8fd6bb5d3863fd6b7 (diff) | |
download | linux-721bf080f249ab2adcc4337abe164230bfb8594f.tar.gz linux-721bf080f249ab2adcc4337abe164230bfb8594f.tar.bz2 linux-721bf080f249ab2adcc4337abe164230bfb8594f.zip |
clk: rockchip: rk3568: Mark pclk_usb as critical
In the reference manual under "2.8.6 NIU Clock gating reliance"
it is stated that pclk_usb_niu has a dependency on hclk_usb_niu.
While the manual does not state that this is a bi-directional
relationship it was noted that the sdmmc2 failed to operate for me in
mmc mode if the pclk_usb was not marked as critical. The parent clock
of the hclk_sdmmc2 is hclk_usb.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20231204185719.569021-8-macroalpha82@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/clk/rockchip')
-rw-r--r-- | drivers/clk/rockchip/clk-rk3568.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk-rk3568.c b/drivers/clk/rockchip/clk-rk3568.c index 497a7e51ffda..feb9ae484387 100644 --- a/drivers/clk/rockchip/clk-rk3568.c +++ b/drivers/clk/rockchip/clk-rk3568.c @@ -1594,6 +1594,7 @@ static const char *const rk3568_cru_critical_clocks[] __initconst = { "hclk_php", "pclk_php", "hclk_usb", + "pclk_usb", "hclk_vo", }; |