xref: /openbmc/linux/drivers/clk/meson/Kconfig (revision b8d312aa)
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 COMMON_CLK_MESON_INPUT
37	select RESET_CONTROLLER
38
39config COMMON_CLK_MESON_EE_CLKC
40	tristate
41	select COMMON_CLK_MESON_REGMAP
42	select COMMON_CLK_MESON_INPUT
43
44config COMMON_CLK_MESON8B
45	bool
46	depends on ARCH_MESON
47	select COMMON_CLK_MESON_REGMAP
48	select COMMON_CLK_MESON_MPLL
49	select COMMON_CLK_MESON_PLL
50	select MFD_SYSCON
51	select RESET_CONTROLLER
52	help
53	  Support for the clock controller on AmLogic S802 (Meson8),
54	  S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you
55	  want peripherals and CPU frequency scaling to work.
56
57config COMMON_CLK_GXBB
58	bool
59	depends on ARCH_MESON
60	select COMMON_CLK_MESON_REGMAP
61	select COMMON_CLK_MESON_DUALDIV
62	select COMMON_CLK_MESON_VID_PLL_DIV
63	select COMMON_CLK_MESON_MPLL
64	select COMMON_CLK_MESON_PLL
65	select COMMON_CLK_MESON_AO_CLKC
66	select COMMON_CLK_MESON_EE_CLKC
67	select MFD_SYSCON
68	help
69	  Support for the clock controller on AmLogic S905 devices, aka gxbb.
70	  Say Y if you want peripherals and CPU frequency scaling to work.
71
72config COMMON_CLK_AXG
73	bool
74	depends on ARCH_MESON
75	select COMMON_CLK_MESON_REGMAP
76	select COMMON_CLK_MESON_DUALDIV
77	select COMMON_CLK_MESON_MPLL
78	select COMMON_CLK_MESON_PLL
79	select COMMON_CLK_MESON_AO_CLKC
80	select COMMON_CLK_MESON_EE_CLKC
81	select MFD_SYSCON
82	help
83	  Support for the clock controller on AmLogic A113D devices, aka axg.
84	  Say Y if you want peripherals and CPU frequency scaling to work.
85
86config COMMON_CLK_AXG_AUDIO
87	tristate "Meson AXG Audio Clock Controller Driver"
88	depends on ARCH_MESON
89	select COMMON_CLK_MESON_INPUT
90	select COMMON_CLK_MESON_REGMAP
91	select COMMON_CLK_MESON_PHASE
92	select COMMON_CLK_MESON_SCLK_DIV
93	select REGMAP_MMIO
94	help
95	  Support for the audio clock controller on AmLogic A113D devices,
96	  aka axg, Say Y if you want audio subsystem to work.
97
98config COMMON_CLK_G12A
99	bool
100	depends on ARCH_MESON
101	select COMMON_CLK_MESON_REGMAP
102	select COMMON_CLK_MESON_DUALDIV
103	select COMMON_CLK_MESON_MPLL
104	select COMMON_CLK_MESON_PLL
105	select COMMON_CLK_MESON_AO_CLKC
106	select COMMON_CLK_MESON_EE_CLKC
107	select MFD_SYSCON
108	help
109	  Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2
110	  devices, aka g12a. Say Y if you want peripherals to work.
111