Commit 6e9cdca7 authored by Alexander Kochetkov's avatar Alexander Kochetkov Committed by Kamal Mostafa

clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks

commit e8b63288 upstream.

hclk_cpubus needs to keep running because it is needed for devices like
the rom, i2s0 or spdif to be accessible via cpu. Without that all
accesses to devices (readl/writel) return wrong data. So add it
to the list of critical clocks.

Fixes: 78eaf609 ("clk: rockchip: disable unused clocks")
Signed-off-by: default avatarAlexander Kochetkov <al.kochet@gmail.com>
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarKamal Mostafa <kamal@canonical.com>
parent 62c5e2e0
...@@ -710,6 +710,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { ...@@ -710,6 +710,7 @@ static const char *const rk3188_critical_clocks[] __initconst = {
"hclk_peri", "hclk_peri",
"pclk_cpu", "pclk_cpu",
"pclk_peri", "pclk_peri",
"hclk_cpubus"
}; };
static void __init rk3188_common_clk_init(struct device_node *np) static void __init rk3188_common_clk_init(struct device_node *np)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment