Skip to content

Commit 2408ab5

Browse files
openedevmmind
authored andcommitted
clk: rockchip: Add clock controller support for RV1126 SoC
Clock & Reset Unit (CRU) in RV1126 support clocks for CRU and CRU_PMU blocks. This patch is trying to add minimal Clock-Architecture Diagram's inferred from [1] authored by Finley Xiao. [1] https://github.com/rockchip-linux/kernel/blob/develop-4.19/drivers/clk/rockchip/clk-rv1126.c Cc: [email protected] Cc: Michael Turquette <[email protected]> Cc: Stephen Boyd <[email protected]> Signed-off-by: Finley Xiao <[email protected]> Signed-off-by: Jagan Teki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent a1f65e6 commit 2408ab5

File tree

4 files changed

+1165
-0
lines changed

4 files changed

+1165
-0
lines changed

drivers/clk/rockchip/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ config CLK_RV110X
2323
help
2424
Build the driver for RV110x Clock Driver.
2525

26+
config CLK_RV1126
27+
bool "Rockchip RV1126 clock controller support"
28+
depends on ARM || COMPILE_TEST
29+
default y
30+
help
31+
Build the driver for RV1126 Clock Driver.
32+
2633
config CLK_RK3036
2734
bool "Rockchip RK3036 clock controller support"
2835
depends on ARM || COMPILE_TEST

drivers/clk/rockchip/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ clk-rockchip-$(CONFIG_RESET_CONTROLLER) += softrst.o
1717

1818
obj-$(CONFIG_CLK_PX30) += clk-px30.o
1919
obj-$(CONFIG_CLK_RV110X) += clk-rv1108.o
20+
obj-$(CONFIG_CLK_RV1126) += clk-rv1126.o
2021
obj-$(CONFIG_CLK_RK3036) += clk-rk3036.o
2122
obj-$(CONFIG_CLK_RK312X) += clk-rk3128.o
2223
obj-$(CONFIG_CLK_RK3188) += clk-rk3188.o

0 commit comments

Comments
 (0)