Skip to contentSkip to conversation

clk: thead: Fix cpu2vp_clk for TH1520 AP_SUBSYS clocks

PATCH Applied Drew Fustini 3 participants 3 messages Dec 28, 2024 – Feb 3, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 drivers/clk/thead/clk-th1520-ap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/thead/clk-th1520-ap.c +1 -1
index 1015fab95251..cc81ce6bef64 100644
@@ -896,7 +896,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,
@@ -916,6 +915,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,
Signature · 1 line
2.40.1
maintainer Applied
#1 lore raw

Quoting Drew Fustini (2024-12-27 19:48:04)

Quoted 6 lines

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")

---

Applied to clk-next

#2 lore raw
In reply to Drew Fustini
This patch was applied to riscv/linux.git (fixes) by Stephen Boyd <[email protected]>:

Hello:

This patch was applied to riscv/linux.git (fixes)
by Stephen Boyd <[email protected]>:

Quoted 8 lines · On Fri, 27 Dec 2024 19:48:04 -0800 you wrote:

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")
---
 drivers/clk/thead/clk-th1520-ap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
- clk: thead: Fix cpu2vp_clk for TH1520 AP_SUBSYS clocks

    https://git.kernel.org/riscv/c/3a43cd19f1b8

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html