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