Skip to content

Commit 5d0eb37

Browse files
ziyao233mmind
authored andcommitted
clk: rockchip: Add clock controller driver for RK3528 SoC
Add clock tree definition for RK3528. Similar to previous Rockchip SoCs, clock controller of RK3528 is combined with the reset controller. We omit the reset part for now since it's hard to test it without support for other basic peripherals. Signed-off-by: Yao Zi <ziyao@disroot.org> Link: https://lore.kernel.org/r/20250217061142.38480-8-ziyao@disroot.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 651aabc commit 5d0eb37

File tree

4 files changed

+1142
-0
lines changed

4 files changed

+1142
-0
lines changed

drivers/clk/rockchip/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ config CLK_RK3399
9393
help
9494
Build the driver for RK3399 Clock Driver.
9595

96+
config CLK_RK3528
97+
bool "Rockchip RK3528 clock controller support"
98+
depends on ARM64 || COMPILE_TEST
99+
default y
100+
help
101+
Build the driver for RK3528 Clock Controller.
102+
96103
config CLK_RK3568
97104
bool "Rockchip RK3568 clock controller support"
98105
depends on ARM64 || COMPILE_TEST

drivers/clk/rockchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ obj-$(CONFIG_CLK_RK3308) += clk-rk3308.o
2828
obj-$(CONFIG_CLK_RK3328) += clk-rk3328.o
2929
obj-$(CONFIG_CLK_RK3368) += clk-rk3368.o
3030
obj-$(CONFIG_CLK_RK3399) += clk-rk3399.o
31+
obj-$(CONFIG_CLK_RK3528) += clk-rk3528.o
3132
obj-$(CONFIG_CLK_RK3568) += clk-rk3568.o
3233
obj-$(CONFIG_CLK_RK3576) += clk-rk3576.o rst-rk3576.o
3334
obj-$(CONFIG_CLK_RK3588) += clk-rk3588.o rst-rk3588.o

0 commit comments

Comments
 (0)