1# SPDX-License-Identifier: GPL-2.0
2# common clock support for ROCKCHIP SoC family.
3
4config COMMON_CLK_ROCKCHIP
5	bool "Rockchip clock controller common support"
6	depends on ARCH_ROCKCHIP
7	default ARCH_ROCKCHIP
8	help
9	  Say y here to enable common clock controller for Rockchip platforms.
10
11if COMMON_CLK_ROCKCHIP
12config CLK_PX30
13	bool "Rockchip PX30 clock controller support"
14	depends on ARM64 || COMPILE_TEST
15	default y
16	help
17	  Build the driver for PX30 Clock Driver.
18
19config CLK_RV110X
20	bool "Rockchip RV110x clock controller support"
21	depends on ARM || COMPILE_TEST
22	default y
23	help
24	  Build the driver for RV110x Clock Driver.
25
26config 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
33config CLK_RK3036
34	bool "Rockchip RK3036 clock controller support"
35	depends on ARM || COMPILE_TEST
36	default y
37	help
38	  Build the driver for RK3036 Clock Driver.
39
40config CLK_RK312X
41	bool "Rockchip RK312x clock controller support"
42	depends on ARM || COMPILE_TEST
43	default y
44	help
45	  Build the driver for RK312x Clock Driver.
46
47config CLK_RK3188
48	bool "Rockchip RK3188 clock controller support"
49	depends on ARM || COMPILE_TEST
50	default y
51	help
52	  Build the driver for RK3188 Clock Driver.
53
54config CLK_RK322X
55	bool "Rockchip RK322x clock controller support"
56	depends on ARM || COMPILE_TEST
57	default y
58	help
59	  Build the driver for RK322x Clock Driver.
60
61config CLK_RK3288
62	bool "Rockchip RK3288 clock controller support"
63	depends on ARM || COMPILE_TEST
64	default y
65	help
66	  Build the driver for RK3288 Clock Driver.
67
68config CLK_RK3308
69	bool "Rockchip RK3308 clock controller support"
70	depends on ARM64 || COMPILE_TEST
71	default y
72	help
73	  Build the driver for RK3308 Clock Driver.
74
75config CLK_RK3328
76	bool "Rockchip RK3328 clock controller support"
77	depends on ARM64 || COMPILE_TEST
78	default y
79	help
80	  Build the driver for RK3328 Clock Driver.
81
82config CLK_RK3368
83	bool "Rockchip RK3368 clock controller support"
84	depends on ARM64 || COMPILE_TEST
85	default y
86	help
87	  Build the driver for RK3368 Clock Driver.
88
89config CLK_RK3399
90	bool "Rockchip RK3399 clock controller support"
91	depends on ARM64 || COMPILE_TEST
92	default y
93	help
94	  Build the driver for RK3399 Clock Driver.
95
96config CLK_RK3568
97	bool "Rockchip RK3568 clock controller support"
98	depends on ARM64 || COMPILE_TEST
99	default y
100	help
101	  Build the driver for RK3568 Clock Driver.
102
103config 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
110config CLK_RK3588
111	bool "Rockchip RK3588 clock controller support"
112	depends on ARM64 || COMPILE_TEST
113	default y
114	help
115	  Build the driver for RK3588 Clock Driver.
116
117endif
118