1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Clock support for Amlogic platforms"
3 depends on ARCH_MESON || COMPILE_TEST
5 config COMMON_CLK_MESON_REGMAP
9 config COMMON_CLK_MESON_DUALDIV
11 select COMMON_CLK_MESON_REGMAP
13 config COMMON_CLK_MESON_MPLL
15 select COMMON_CLK_MESON_REGMAP
17 config COMMON_CLK_MESON_PHASE
19 select COMMON_CLK_MESON_REGMAP
21 config COMMON_CLK_MESON_PLL
23 select COMMON_CLK_MESON_REGMAP
25 config COMMON_CLK_MESON_SCLK_DIV
27 select COMMON_CLK_MESON_REGMAP
29 config COMMON_CLK_MESON_VID_PLL_DIV
31 select COMMON_CLK_MESON_REGMAP
33 config COMMON_CLK_MESON_AO_CLKC
35 select COMMON_CLK_MESON_REGMAP
36 select RESET_CONTROLLER
38 config COMMON_CLK_MESON_EE_CLKC
40 select COMMON_CLK_MESON_REGMAP
42 config COMMON_CLK_MESON_CPU_DYNDIV
44 select COMMON_CLK_MESON_REGMAP
46 config COMMON_CLK_MESON8B
47 bool "Meson8 SoC Clock controller support"
50 select COMMON_CLK_MESON_REGMAP
51 select COMMON_CLK_MESON_MPLL
52 select COMMON_CLK_MESON_PLL
54 select RESET_CONTROLLER
56 Support for the clock controller on AmLogic S802 (Meson8),
57 S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you
58 want peripherals and CPU frequency scaling to work.
60 config COMMON_CLK_GXBB
61 tristate "GXBB and GXL SoC clock controllers support"
64 select COMMON_CLK_MESON_REGMAP
65 select COMMON_CLK_MESON_DUALDIV
66 select COMMON_CLK_MESON_VID_PLL_DIV
67 select COMMON_CLK_MESON_MPLL
68 select COMMON_CLK_MESON_PLL
69 select COMMON_CLK_MESON_AO_CLKC
70 select COMMON_CLK_MESON_EE_CLKC
73 Support for the clock controller on AmLogic S905 devices, aka gxbb.
74 Say Y if you want peripherals and CPU frequency scaling to work.
77 tristate "AXG SoC clock controllers support"
80 select COMMON_CLK_MESON_REGMAP
81 select COMMON_CLK_MESON_DUALDIV
82 select COMMON_CLK_MESON_MPLL
83 select COMMON_CLK_MESON_PLL
84 select COMMON_CLK_MESON_AO_CLKC
85 select COMMON_CLK_MESON_EE_CLKC
88 Support for the clock controller on AmLogic A113D devices, aka axg.
89 Say Y if you want peripherals and CPU frequency scaling to work.
91 config COMMON_CLK_AXG_AUDIO
92 tristate "Meson AXG Audio Clock Controller Driver"
94 select COMMON_CLK_MESON_REGMAP
95 select COMMON_CLK_MESON_PHASE
96 select COMMON_CLK_MESON_SCLK_DIV
99 Support for the audio clock controller on AmLogic A113D devices,
100 aka axg, Say Y if you want audio subsystem to work.
102 config COMMON_CLK_G12A
103 tristate "G12 and SM1 SoC clock controllers support"
106 select COMMON_CLK_MESON_REGMAP
107 select COMMON_CLK_MESON_DUALDIV
108 select COMMON_CLK_MESON_MPLL
109 select COMMON_CLK_MESON_PLL
110 select COMMON_CLK_MESON_AO_CLKC
111 select COMMON_CLK_MESON_EE_CLKC
112 select COMMON_CLK_MESON_CPU_DYNDIV
113 select COMMON_CLK_MESON_VID_PLL_DIV
116 Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2
117 devices, aka g12a. Say Y if you want peripherals to work.