162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_cimenu "Clock support for Amlogic platforms" 362306a36Sopenharmony_ci depends on ARCH_MESON || COMPILE_TEST 462306a36Sopenharmony_ci 562306a36Sopenharmony_ciconfig COMMON_CLK_MESON_REGMAP 662306a36Sopenharmony_ci tristate 762306a36Sopenharmony_ci select REGMAP 862306a36Sopenharmony_ci 962306a36Sopenharmony_ciconfig COMMON_CLK_MESON_DUALDIV 1062306a36Sopenharmony_ci tristate 1162306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ciconfig COMMON_CLK_MESON_MPLL 1462306a36Sopenharmony_ci tristate 1562306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 1662306a36Sopenharmony_ci 1762306a36Sopenharmony_ciconfig COMMON_CLK_MESON_PHASE 1862306a36Sopenharmony_ci tristate 1962306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ciconfig COMMON_CLK_MESON_PLL 2262306a36Sopenharmony_ci tristate 2362306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ciconfig COMMON_CLK_MESON_SCLK_DIV 2662306a36Sopenharmony_ci tristate 2762306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ciconfig COMMON_CLK_MESON_VID_PLL_DIV 3062306a36Sopenharmony_ci tristate 3162306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ciconfig COMMON_CLK_MESON_CLKC_UTILS 3462306a36Sopenharmony_ci tristate 3562306a36Sopenharmony_ci 3662306a36Sopenharmony_ciconfig COMMON_CLK_MESON_AO_CLKC 3762306a36Sopenharmony_ci tristate 3862306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 3962306a36Sopenharmony_ci select COMMON_CLK_MESON_CLKC_UTILS 4062306a36Sopenharmony_ci select RESET_CONTROLLER 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ciconfig COMMON_CLK_MESON_EE_CLKC 4362306a36Sopenharmony_ci tristate 4462306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 4562306a36Sopenharmony_ci select COMMON_CLK_MESON_CLKC_UTILS 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ciconfig COMMON_CLK_MESON_CPU_DYNDIV 4862306a36Sopenharmony_ci tristate 4962306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ciconfig COMMON_CLK_MESON8B 5262306a36Sopenharmony_ci bool "Meson8 SoC Clock controller support" 5362306a36Sopenharmony_ci depends on ARM 5462306a36Sopenharmony_ci default y 5562306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 5662306a36Sopenharmony_ci select COMMON_CLK_MESON_CLKC_UTILS 5762306a36Sopenharmony_ci select COMMON_CLK_MESON_MPLL 5862306a36Sopenharmony_ci select COMMON_CLK_MESON_PLL 5962306a36Sopenharmony_ci select MFD_SYSCON 6062306a36Sopenharmony_ci select RESET_CONTROLLER 6162306a36Sopenharmony_ci help 6262306a36Sopenharmony_ci Support for the clock controller on AmLogic S802 (Meson8), 6362306a36Sopenharmony_ci S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you 6462306a36Sopenharmony_ci want peripherals and CPU frequency scaling to work. 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ciconfig COMMON_CLK_GXBB 6762306a36Sopenharmony_ci tristate "GXBB and GXL SoC clock controllers support" 6862306a36Sopenharmony_ci depends on ARM64 6962306a36Sopenharmony_ci default y 7062306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 7162306a36Sopenharmony_ci select COMMON_CLK_MESON_DUALDIV 7262306a36Sopenharmony_ci select COMMON_CLK_MESON_VID_PLL_DIV 7362306a36Sopenharmony_ci select COMMON_CLK_MESON_MPLL 7462306a36Sopenharmony_ci select COMMON_CLK_MESON_PLL 7562306a36Sopenharmony_ci select COMMON_CLK_MESON_AO_CLKC 7662306a36Sopenharmony_ci select COMMON_CLK_MESON_EE_CLKC 7762306a36Sopenharmony_ci select MFD_SYSCON 7862306a36Sopenharmony_ci help 7962306a36Sopenharmony_ci Support for the clock controller on AmLogic S905 devices, aka gxbb. 8062306a36Sopenharmony_ci Say Y if you want peripherals and CPU frequency scaling to work. 8162306a36Sopenharmony_ci 8262306a36Sopenharmony_ciconfig COMMON_CLK_AXG 8362306a36Sopenharmony_ci tristate "AXG SoC clock controllers support" 8462306a36Sopenharmony_ci depends on ARM64 8562306a36Sopenharmony_ci default y 8662306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 8762306a36Sopenharmony_ci select COMMON_CLK_MESON_DUALDIV 8862306a36Sopenharmony_ci select COMMON_CLK_MESON_MPLL 8962306a36Sopenharmony_ci select COMMON_CLK_MESON_PLL 9062306a36Sopenharmony_ci select COMMON_CLK_MESON_AO_CLKC 9162306a36Sopenharmony_ci select COMMON_CLK_MESON_EE_CLKC 9262306a36Sopenharmony_ci select MFD_SYSCON 9362306a36Sopenharmony_ci help 9462306a36Sopenharmony_ci Support for the clock controller on AmLogic A113D devices, aka axg. 9562306a36Sopenharmony_ci Say Y if you want peripherals and CPU frequency scaling to work. 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ciconfig COMMON_CLK_AXG_AUDIO 9862306a36Sopenharmony_ci tristate "Meson AXG Audio Clock Controller Driver" 9962306a36Sopenharmony_ci depends on ARM64 10062306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 10162306a36Sopenharmony_ci select COMMON_CLK_MESON_PHASE 10262306a36Sopenharmony_ci select COMMON_CLK_MESON_SCLK_DIV 10362306a36Sopenharmony_ci select COMMON_CLK_MESON_CLKC_UTILS 10462306a36Sopenharmony_ci select REGMAP_MMIO 10562306a36Sopenharmony_ci help 10662306a36Sopenharmony_ci Support for the audio clock controller on AmLogic A113D devices, 10762306a36Sopenharmony_ci aka axg, Say Y if you want audio subsystem to work. 10862306a36Sopenharmony_ci 10962306a36Sopenharmony_ciconfig COMMON_CLK_A1_PLL 11062306a36Sopenharmony_ci tristate "Amlogic A1 SoC PLL controller support" 11162306a36Sopenharmony_ci depends on ARM64 11262306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 11362306a36Sopenharmony_ci select COMMON_CLK_MESON_CLKC_UTILS 11462306a36Sopenharmony_ci select COMMON_CLK_MESON_PLL 11562306a36Sopenharmony_ci help 11662306a36Sopenharmony_ci Support for the PLL clock controller on Amlogic A113L based 11762306a36Sopenharmony_ci device, A1 SoC Family. Say Y if you want A1 PLL clock controller 11862306a36Sopenharmony_ci to work. 11962306a36Sopenharmony_ci 12062306a36Sopenharmony_ciconfig COMMON_CLK_A1_PERIPHERALS 12162306a36Sopenharmony_ci tristate "Amlogic A1 SoC Peripherals clock controller support" 12262306a36Sopenharmony_ci depends on ARM64 12362306a36Sopenharmony_ci select COMMON_CLK_MESON_DUALDIV 12462306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 12562306a36Sopenharmony_ci select COMMON_CLK_MESON_CLKC_UTILS 12662306a36Sopenharmony_ci help 12762306a36Sopenharmony_ci Support for the Peripherals clock controller on Amlogic A113L based 12862306a36Sopenharmony_ci device, A1 SoC Family. Say Y if you want A1 Peripherals clock 12962306a36Sopenharmony_ci controller to work. 13062306a36Sopenharmony_ci 13162306a36Sopenharmony_ciconfig COMMON_CLK_G12A 13262306a36Sopenharmony_ci tristate "G12 and SM1 SoC clock controllers support" 13362306a36Sopenharmony_ci depends on ARM64 13462306a36Sopenharmony_ci default y 13562306a36Sopenharmony_ci select COMMON_CLK_MESON_REGMAP 13662306a36Sopenharmony_ci select COMMON_CLK_MESON_DUALDIV 13762306a36Sopenharmony_ci select COMMON_CLK_MESON_MPLL 13862306a36Sopenharmony_ci select COMMON_CLK_MESON_PLL 13962306a36Sopenharmony_ci select COMMON_CLK_MESON_AO_CLKC 14062306a36Sopenharmony_ci select COMMON_CLK_MESON_EE_CLKC 14162306a36Sopenharmony_ci select COMMON_CLK_MESON_CPU_DYNDIV 14262306a36Sopenharmony_ci select COMMON_CLK_MESON_VID_PLL_DIV 14362306a36Sopenharmony_ci select MFD_SYSCON 14462306a36Sopenharmony_ci help 14562306a36Sopenharmony_ci Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2 14662306a36Sopenharmony_ci devices, aka g12a. Say Y if you want peripherals to work. 14762306a36Sopenharmony_ciendmenu 148