Skip to content

Commit cc40f5b

Browse files
Elaine Zhangmmind
authored andcommitted
clk: rockchip: Add clock controller for the RK3576
Add the clock and reset tree definitions for the new RK3576 SoC. As opposed to the other rockchip CRU drivers, the GRF node is looked up via compatible instead of a phandle, which simplifies the device tree bindings. Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Signed-off-by: YouMin Chen <cym@rock-chips.com> Signed-off-by: Liang Chen <cl@rock-chips.com> Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com> Reviewed-by: Elaine Zhang <zhangqing@rock-chips.com> Tested-by: Shawn Lin <shawn.lin@rock-chips.com> Acked-by: Dragan Simic <dsimic@manjaro.org> Link: https://lore.kernel.org/r/0102019199a7781a-888440f0-a3f7-4a7d-a831-491260cbdfe7-000000@eu-west-1.amazonses.com [dropped additional blank line at EOF in rst-rk3576.c dropped the whole (non-)working as module part] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent e781bff commit cc40f5b

5 files changed

Lines changed: 2532 additions & 0 deletions

File tree

drivers/clk/rockchip/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ config CLK_RK3568
100100
help
101101
Build the driver for RK3568 Clock Driver.
102102

103+
config CLK_RK3576
104+
bool "Rockchip RK3576 clock controller support"
105+
depends on ARM64 || COMPILE_TEST
106+
default y
107+
help
108+
Build the driver for RK3576 Clock Driver.
109+
103110
config CLK_RK3588
104111
bool "Rockchip RK3588 clock controller support"
105112
depends on ARM64 || COMPILE_TEST

drivers/clk/rockchip/Makefile

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

0 commit comments

Comments
 (0)