xref: /openbmc/linux/drivers/clk/meson/Kconfig (revision 072a043f)
1# SPDX-License-Identifier: GPL-2.0-only
2config COMMON_CLK_MESON_INPUT
3	tristate
4
5config COMMON_CLK_MESON_REGMAP
6	tristate
7	select REGMAP
8
9config COMMON_CLK_MESON_DUALDIV
10	tristate
11	select COMMON_CLK_MESON_REGMAP
12
13config COMMON_CLK_MESON_MPLL
14	tristate
15	select COMMON_CLK_MESON_REGMAP
16
17config COMMON_CLK_MESON_PHASE
18	tristate
19	select COMMON_CLK_MESON_REGMAP
20
21config COMMON_CLK_MESON_PLL
22	tristate
23	select COMMON_CLK_MESON_REGMAP
24
25config COMMON_CLK_MESON_SCLK_DIV
26	tristate
27	select COMMON_CLK_MESON_REGMAP
28
29config COMMON_CLK_MESON_VID_PLL_DIV
30	tristate
31	select COMMON_CLK_MESON_REGMAP
32
33config COMMON_CLK_MESON_AO_CLKC
34	tristate
35	select COMMON_CLK_MESON_REGMAP
36	select RESET_CONTROLLER
37
38config COMMON_CLK_MESON_EE_CLKC
39	tristate
40	select COMMON_CLK_MESON_REGMAP
41	select COMMON_CLK_MESON_INPUT
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 MFD_SYSCON
106	help
107	  Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2
108	  devices, aka g12a. Say Y if you want peripherals to work.
109