xref: /openbmc/linux/drivers/clk/meson/Kconfig (revision 3557b3fd)
1config COMMON_CLK_MESON_INPUT
2	tristate
3
4config COMMON_CLK_MESON_REGMAP
5	tristate
6	select REGMAP
7
8config COMMON_CLK_MESON_DUALDIV
9	tristate
10	select COMMON_CLK_MESON_REGMAP
11
12config COMMON_CLK_MESON_MPLL
13	tristate
14	select COMMON_CLK_MESON_REGMAP
15
16config COMMON_CLK_MESON_PHASE
17	tristate
18	select COMMON_CLK_MESON_REGMAP
19
20config COMMON_CLK_MESON_PLL
21	tristate
22	select COMMON_CLK_MESON_REGMAP
23
24config COMMON_CLK_MESON_SCLK_DIV
25	tristate
26	select COMMON_CLK_MESON_REGMAP
27
28config COMMON_CLK_MESON_VID_PLL_DIV
29	tristate
30	select COMMON_CLK_MESON_REGMAP
31
32config COMMON_CLK_MESON_AO_CLKC
33	tristate
34	select COMMON_CLK_MESON_REGMAP
35	select COMMON_CLK_MESON_INPUT
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_INPUT
89	select COMMON_CLK_MESON_REGMAP
90	select COMMON_CLK_MESON_PHASE
91	select COMMON_CLK_MESON_SCLK_DIV
92	select REGMAP_MMIO
93	help
94	  Support for the audio clock controller on AmLogic A113D devices,
95	  aka axg, Say Y if you want audio subsystem to work.
96
97config COMMON_CLK_G12A
98	bool
99	depends on ARCH_MESON
100	select COMMON_CLK_MESON_REGMAP
101	select COMMON_CLK_MESON_DUALDIV
102	select COMMON_CLK_MESON_MPLL
103	select COMMON_CLK_MESON_PLL
104	select COMMON_CLK_MESON_AO_CLKC
105	select COMMON_CLK_MESON_EE_CLKC
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