summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Fustini <dfustini@tenstorrent.com>2024-12-28 06:48:04 +0300
committerStephen Boyd <sboyd@kernel.org>2025-01-14 00:38:17 +0300
commit3a43cd19f1b8d3f57f835ae50cc869f07902c062 (patch)
treee4ad9b85ed4b9e41e8d3560a309719624a099220
parent037705e94bf6e1810b7f9dc077d0e23292229e74 (diff)
downloadlinux-3a43cd19f1b8d3f57f835ae50cc869f07902c062.tar.xz
clk: thead: Fix cpu2vp_clk for TH1520 AP_SUBSYS clocks
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>
-rw-r--r--drivers/clk/thead/clk-th1520-ap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/thead/clk-th1520-ap.c b/drivers/clk/thead/clk-th1520-ap.c
index dc36613ba5ea..86dba3c672d4 100644
--- a/drivers/clk/thead/clk-th1520-ap.c
+++ b/drivers/clk/thead/clk-th1520-ap.c
@@ -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,