]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
clk: thead: Fix cpu2vp_clk for TH1520 AP_SUBSYS clocks
authorDrew Fustini <dfustini@tenstorrent.com>
Sat, 28 Dec 2024 03:48:04 +0000 (19:48 -0800)
committerStephen Boyd <sboyd@kernel.org>
Mon, 13 Jan 2025 21:38:17 +0000 (13:38 -0800)
cpu2vp_clk is a gate but was mistakenly in th1520_div_clks[] instead
of th1520_gate_clks[].

Fixes: ae81b69fd2b1 ("clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks")
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
Link: https://lore.kernel.org/r/20241228034802.1573554-1-dfustini@tenstorrent.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/thead/clk-th1520-ap.c

index dc36613ba5ea29b9b36b2647e19ad73f73687661..86dba3c672d4a4cf934d1426bebd3da8e46eca32 100644 (file)
@@ -889,7 +889,6 @@ static struct ccu_common *th1520_div_clks[] = {
        &vo_axi_clk.common,
        &vp_apb_clk.common,
        &vp_axi_clk.common,
-       &cpu2vp_clk.common,
        &venc_clk.common,
        &dpu0_clk.common,
        &dpu1_clk.common,
@@ -909,6 +908,7 @@ static struct ccu_common *th1520_gate_clks[] = {
        &bmu_clk.common,
        &cpu2aon_x2h_clk.common,
        &cpu2peri_x2h_clk.common,
+       &cpu2vp_clk.common,
        &perisys_apb1_hclk.common,
        &perisys_apb2_hclk.common,
        &perisys_apb3_hclk.common,