1# SPDX-License-Identifier: GPL-2.0-only 2menu "Clock support for Amlogic platforms" 3 depends on ARCH_MESON || COMPILE_TEST 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 42config COMMON_CLK_MESON_CPU_DYNDIV 43 tristate 44 select COMMON_CLK_MESON_REGMAP 45 46config COMMON_CLK_MESON8B 47 bool "Meson8 SoC Clock controller support" 48 depends on ARM 49 default y 50 select COMMON_CLK_MESON_REGMAP 51 select COMMON_CLK_MESON_MPLL 52 select COMMON_CLK_MESON_PLL 53 select MFD_SYSCON 54 select RESET_CONTROLLER 55 help 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. 59 60config COMMON_CLK_GXBB 61 tristate "GXBB and GXL SoC clock controllers support" 62 depends on ARM64 63 default y 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 71 select MFD_SYSCON 72 help 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. 75 76config COMMON_CLK_AXG 77 tristate "AXG SoC clock controllers support" 78 depends on ARM64 79 default y 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 86 select MFD_SYSCON 87 help 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. 90 91config COMMON_CLK_AXG_AUDIO 92 tristate "Meson AXG Audio Clock Controller Driver" 93 depends on ARM64 94 select COMMON_CLK_MESON_REGMAP 95 select COMMON_CLK_MESON_PHASE 96 select COMMON_CLK_MESON_SCLK_DIV 97 select REGMAP_MMIO 98 help 99 Support for the audio clock controller on AmLogic A113D devices, 100 aka axg, Say Y if you want audio subsystem to work. 101 102config COMMON_CLK_A1_PLL 103 tristate "Amlogic A1 SoC PLL controller support" 104 depends on ARM64 105 select COMMON_CLK_MESON_REGMAP 106 select COMMON_CLK_MESON_PLL 107 help 108 Support for the PLL clock controller on Amlogic A113L based 109 device, A1 SoC Family. Say Y if you want A1 PLL clock controller 110 to work. 111 112config COMMON_CLK_A1_PERIPHERALS 113 tristate "Amlogic A1 SoC Peripherals clock controller support" 114 depends on ARM64 115 select COMMON_CLK_MESON_DUALDIV 116 select COMMON_CLK_MESON_REGMAP 117 help 118 Support for the Peripherals clock controller on Amlogic A113L based 119 device, A1 SoC Family. Say Y if you want A1 Peripherals clock 120 controller to work. 121 122config COMMON_CLK_G12A 123 tristate "G12 and SM1 SoC clock controllers support" 124 depends on ARM64 125 default y 126 select COMMON_CLK_MESON_REGMAP 127 select COMMON_CLK_MESON_DUALDIV 128 select COMMON_CLK_MESON_MPLL 129 select COMMON_CLK_MESON_PLL 130 select COMMON_CLK_MESON_AO_CLKC 131 select COMMON_CLK_MESON_EE_CLKC 132 select COMMON_CLK_MESON_CPU_DYNDIV 133 select COMMON_CLK_MESON_VID_PLL_DIV 134 select MFD_SYSCON 135 help 136 Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2 137 devices, aka g12a. Say Y if you want peripherals to work. 138endmenu 139