diff options
author | Icenowy Zheng <uwu@icenowy.me> | 2025-08-16 16:44:44 +0800 |
---|---|---|
committer | Drew Fustini <fustini@kernel.org> | 2025-08-18 14:54:38 -0700 |
commit | aaa75cbd5d4f63e4edf8b74118d367361dcf92f7 (patch) | |
tree | 6adfbb0d68f8dfbd85ed75ad8a222f8b4a9e021e /rust/kernel/processor.rs | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
clk: thead: th1520-ap: describe gate clocks with clk_gate
Similar to previous situation of mux clocks, the gate clocks of
clk-th1520-ap drivers are also using a helper that creates a temporary
struct clk_hw and abandons the struct clk_hw in struct ccu_common, which
prevents clock gates to be clock parents.
Do the similar refactor of dropping struct ccu_common and directly use
struct clk_gate here.
This patch mimics the refactor done on struct ccu_mux in 54edba916e29
("clk: thead: th1520-ap: Describe mux clocks with clk_mux").
Fixes: ae81b69fd2b1 ("clk: thead: Add support for T-Head TH1520 AP_SUBSYS clocks")
Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
Reviewed-by: Drew Fustini <fustini@kernel.org>
Signed-off-by: Drew Fustini <fustini@kernel.org>
Diffstat (limited to 'rust/kernel/processor.rs')
0 files changed, 0 insertions, 0 deletions