xref: /openbmc/linux/drivers/clk/meson/Kconfig (revision 4ec575b7)
1# SPDX-License-Identifier: GPL-2.0-only
2config COMMON_CLK_MESON_REGMAP
3	tristate
4	select REGMAP
5
6config COMMON_CLK_MESON_DUALDIV
7	tristate
8	select COMMON_CLK_MESON_REGMAP
9
10config COMMON_CLK_MESON_MPLL
11	tristate
12	select COMMON_CLK_MESON_REGMAP
13
14config COMMON_CLK_MESON_PHASE
15	tristate
16	select COMMON_CLK_MESON_REGMAP
17
18config COMMON_CLK_MESON_PLL
19	tristate
20	select COMMON_CLK_MESON_REGMAP
21
22config COMMON_CLK_MESON_SCLK_DIV
23	tristate
24	select COMMON_CLK_MESON_REGMAP
25
26config COMMON_CLK_MESON_VID_PLL_DIV
27	tristate
28	select COMMON_CLK_MESON_REGMAP
29
30config COMMON_CLK_MESON_AO_CLKC
31	tristate
32	select COMMON_CLK_MESON_REGMAP
33	select RESET_CONTROLLER
34
35config COMMON_CLK_MESON_EE_CLKC
36	tristate
37	select COMMON_CLK_MESON_REGMAP
38
39config COMMON_CLK_MESON_CPU_DYNDIV
40	tristate
41	select COMMON_CLK_MESON_REGMAP
42
43config COMMON_CLK_MESON8B
44	bool
45	depends on ARCH_MESON
46	select COMMON_CLK_MESON_REGMAP
47	select COMMON_CLK_MESON_MPLL
48	select COMMON_CLK_MESON_PLL
49	select MFD_SYSCON
50	select RESET_CONTROLLER
51	help
52	  Support for the clock controller on AmLogic S802 (Meson8),
53	  S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you
54	  want peripherals and CPU frequency scaling to work.
55
56config COMMON_CLK_GXBB
57	bool
58	depends on ARCH_MESON
59	select COMMON_CLK_MESON_REGMAP
60	select COMMON_CLK_MESON_DUALDIV
61	select COMMON_CLK_MESON_VID_PLL_DIV
62	select COMMON_CLK_MESON_MPLL
63	select COMMON_CLK_MESON_PLL
64	select COMMON_CLK_MESON_AO_CLKC
65	select COMMON_CLK_MESON_EE_CLKC
66	select MFD_SYSCON
67	help
68	  Support for the clock controller on AmLogic S905 devices, aka gxbb.
69	  Say Y if you want peripherals and CPU frequency scaling to work.
70
71config COMMON_CLK_AXG
72	bool
73	depends on ARCH_MESON
74	select COMMON_CLK_MESON_REGMAP
75	select COMMON_CLK_MESON_DUALDIV
76	select COMMON_CLK_MESON_MPLL
77	select COMMON_CLK_MESON_PLL
78	select COMMON_CLK_MESON_AO_CLKC
79	select COMMON_CLK_MESON_EE_CLKC
80	select MFD_SYSCON
81	help
82	  Support for the clock controller on AmLogic A113D devices, aka axg.
83	  Say Y if you want peripherals and CPU frequency scaling to work.
84
85config COMMON_CLK_AXG_AUDIO
86	tristate "Meson AXG Audio Clock Controller Driver"
87	depends on ARCH_MESON
88	select COMMON_CLK_MESON_REGMAP
89	select COMMON_CLK_MESON_PHASE
90	select COMMON_CLK_MESON_SCLK_DIV
91	select REGMAP_MMIO
92	help
93	  Support for the audio clock controller on AmLogic A113D devices,
94	  aka axg, Say Y if you want audio subsystem to work.
95
96config COMMON_CLK_G12A
97	bool
98	depends on ARCH_MESON
99	select COMMON_CLK_MESON_REGMAP
100	select COMMON_CLK_MESON_DUALDIV
101	select COMMON_CLK_MESON_MPLL
102	select COMMON_CLK_MESON_PLL
103	select COMMON_CLK_MESON_AO_CLKC
104	select COMMON_CLK_MESON_EE_CLKC
105	select COMMON_CLK_MESON_CPU_DYNDIV
106	select MFD_SYSCON
107	help
108	  Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2
109	  devices, aka g12a. Say Y if you want peripherals to work.
110