xref: /linux/drivers/clk/hisilicon/Kconfig (revision 502d45774af09f1c681c754c4b7cdfb5d7f72fd9)
1# SPDX-License-Identifier: GPL-2.0-only
2config COMMON_CLK_HISI
3	bool
4	default ARCH_HISI
5
6config COMMON_CLK_HI3516CV300
7	tristate "HI3516CV300 Clock Driver"
8	depends on ARCH_HISI || COMPILE_TEST
9	select RESET_HISI
10	select COMMON_CLK_HISI
11	default ARCH_HISI
12	help
13	  Build the clock driver for hi3516cv300.
14
15config COMMON_CLK_HI3519
16	tristate "Hi3519 Clock Driver"
17	depends on ARCH_HISI || COMPILE_TEST
18	select RESET_HISI
19	select COMMON_CLK_HISI
20	default ARCH_HISI
21	help
22	  Build the clock driver for hi3519.
23
24config COMMON_CLK_HI3559A
25	bool "Hi3559A Clock Driver"
26	depends on ARCH_HISI || COMPILE_TEST
27	select RESET_HISI
28	select COMMON_CLK_HISI
29	default ARCH_HISI
30	help
31	  Build the clock driver for hi3559a.
32
33config COMMON_CLK_HI3660
34	bool "Hi3660 Clock Driver"
35	depends on ARCH_HISI || COMPILE_TEST
36	select COMMON_CLK_HISI
37	default ARCH_HISI
38	help
39	  Build the clock driver for hi3660.
40
41config COMMON_CLK_HI3670
42	bool "Hi3670 Clock Driver"
43	depends on ARCH_HISI || COMPILE_TEST
44	select COMMON_CLK_HISI
45	default ARCH_HISI
46	help
47	  Build the clock driver for hi3670.
48
49config COMMON_CLK_HI3798CV200
50	tristate "Hi3798CV200 Clock Driver"
51	depends on ARCH_HISI || COMPILE_TEST
52	select RESET_HISI
53	select COMMON_CLK_HISI
54	default ARCH_HISI
55	help
56	  Build the clock driver for hi3798cv200.
57
58config COMMON_CLK_HI6220
59	bool "Hi6220 Clock Driver"
60	depends on ARCH_HISI || COMPILE_TEST
61	select COMMON_CLK_HISI
62	default ARCH_HISI
63	help
64	  Build the Hisilicon Hi6220 clock driver based on the common clock framework.
65
66config RESET_HISI
67	bool "HiSilicon Reset Controller Driver"
68	depends on ARCH_HISI || COMPILE_TEST
69	select COMMON_CLK_HISI
70	select RESET_CONTROLLER
71	help
72	  Build reset controller driver for HiSilicon device chipsets.
73
74config STUB_CLK_HI6220
75	bool "Hi6220 Stub Clock Driver" if EXPERT
76	depends on (COMMON_CLK_HI6220 || COMPILE_TEST)
77	depends on MAILBOX
78	select COMMON_CLK_HISI
79	default COMMON_CLK_HI6220
80	help
81	  Build the Hisilicon Hi6220 stub clock driver.
82
83config STUB_CLK_HI3660
84	bool "Hi3660 Stub Clock Driver" if EXPERT
85	depends on (COMMON_CLK_HI3660 || COMPILE_TEST)
86	depends on MAILBOX
87	select COMMON_CLK_HISI
88	default COMMON_CLK_HI3660
89	help
90	  Build the Hisilicon Hi3660 stub clock driver.
91