xref: /openbmc/linux/drivers/clk/rockchip/Kconfig (revision 4f3c8320)
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_RK3036
27	bool "Rockchip RK3036 clock controller support"
28	depends on (ARM || COMPILE_TEST)
29	default y
30	help
31	  Build the driver for RK3036 Clock Driver.
32
33config CLK_RK312X
34	bool "Rockchip RK312x clock controller support"
35	depends on (ARM || COMPILE_TEST)
36	default y
37	help
38	  Build the driver for RK312x Clock Driver.
39
40config CLK_RK3188
41	bool "Rockchip RK3188 clock controller support"
42	depends on (ARM || COMPILE_TEST)
43	default y
44	help
45	  Build the driver for RK3188 Clock Driver.
46
47config CLK_RK322X
48	bool "Rockchip RK322x clock controller support"
49	depends on (ARM || COMPILE_TEST)
50	default y
51	help
52	  Build the driver for RK322x Clock Driver.
53
54config CLK_RK3288
55	bool "Rockchip RK3288 clock controller support"
56	depends on (ARM || COMPILE_TEST)
57	default y
58	help
59	  Build the driver for RK3288 Clock Driver.
60
61config CLK_RK3308
62	bool "Rockchip RK3308 clock controller support"
63	depends on (ARM64 || COMPILE_TEST)
64	default y
65	help
66	  Build the driver for RK3308 Clock Driver.
67
68config CLK_RK3328
69	bool "Rockchip RK3328 clock controller support"
70	depends on (ARM64 || COMPILE_TEST)
71	default y
72	help
73	  Build the driver for RK3328 Clock Driver.
74
75config CLK_RK3368
76	bool "Rockchip RK3368 clock controller support"
77	depends on (ARM64 || COMPILE_TEST)
78	default y
79	help
80	  Build the driver for RK3368 Clock Driver.
81
82config CLK_RK3399
83	tristate "Rockchip RK3399 clock controller support"
84	depends on (ARM64 || COMPILE_TEST)
85	default y
86	help
87	  Build the driver for RK3399 Clock Driver.
88endif
89