1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 27b5c5720SJerome Brunetmenu "Clock support for Amlogic platforms" 37b5c5720SJerome Brunet depends on ARCH_MESON || COMPILE_TEST 47b5c5720SJerome Brunet 5889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_REGMAP 6889c2b7eSJerome Brunet tristate 7ea11dda9SJerome Brunet select REGMAP 8ea11dda9SJerome Brunet 9889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_DUALDIV 10889c2b7eSJerome Brunet tristate 11889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 12889c2b7eSJerome Brunet 13889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_MPLL 14889c2b7eSJerome Brunet tristate 15889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 16889c2b7eSJerome Brunet 17889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_PHASE 18889c2b7eSJerome Brunet tristate 19889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 20889c2b7eSJerome Brunet 21889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_PLL 22889c2b7eSJerome Brunet tristate 23889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 24889c2b7eSJerome Brunet 25889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_SCLK_DIV 26889c2b7eSJerome Brunet tristate 27889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 28889c2b7eSJerome Brunet 29889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_VID_PLL_DIV 30889c2b7eSJerome Brunet tristate 31889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 32889c2b7eSJerome Brunet 33230b6f3aSNeil Armstrongconfig COMMON_CLK_MESON_CLKC_UTILS 34230b6f3aSNeil Armstrong tristate 35230b6f3aSNeil Armstrong 36889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_AO_CLKC 37889c2b7eSJerome Brunet tristate 38889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 397e1723fdSNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 40889c2b7eSJerome Brunet select RESET_CONTROLLER 41889c2b7eSJerome Brunet 426682bd4dSJerome Brunetconfig COMMON_CLK_MESON_EE_CLKC 436682bd4dSJerome Brunet tristate 446682bd4dSJerome Brunet select COMMON_CLK_MESON_REGMAP 45141fbc27SNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 466682bd4dSJerome Brunet 4726d34431SNeil Armstrongconfig COMMON_CLK_MESON_CPU_DYNDIV 4826d34431SNeil Armstrong tristate 4926d34431SNeil Armstrong select COMMON_CLK_MESON_REGMAP 5026d34431SNeil Armstrong 51cb7c47d7SMichael Turquetteconfig COMMON_CLK_MESON8B 527b5c5720SJerome Brunet bool "Meson8 SoC Clock controller support" 537b5c5720SJerome Brunet depends on ARM 547b5c5720SJerome Brunet default y 55889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 565e4e4804SNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 57889c2b7eSJerome Brunet select COMMON_CLK_MESON_MPLL 58889c2b7eSJerome Brunet select COMMON_CLK_MESON_PLL 59889c2b7eSJerome Brunet select MFD_SYSCON 6018962172SMartin Blumenstingl select RESET_CONTROLLER 61cb7c47d7SMichael Turquette help 62855f06a1SMartin Blumenstingl Support for the clock controller on AmLogic S802 (Meson8), 63855f06a1SMartin Blumenstingl S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you 64855f06a1SMartin Blumenstingl want peripherals and CPU frequency scaling to work. 65738f66d3SMichael Turquette 66738f66d3SMichael Turquetteconfig COMMON_CLK_GXBB 6720425f63SKevin Hilman tristate "GXBB and GXL SoC clock controllers support" 687b5c5720SJerome Brunet depends on ARM64 697b5c5720SJerome Brunet default y 70889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 71889c2b7eSJerome Brunet select COMMON_CLK_MESON_DUALDIV 72889c2b7eSJerome Brunet select COMMON_CLK_MESON_VID_PLL_DIV 73889c2b7eSJerome Brunet select COMMON_CLK_MESON_MPLL 74889c2b7eSJerome Brunet select COMMON_CLK_MESON_PLL 75889c2b7eSJerome Brunet select COMMON_CLK_MESON_AO_CLKC 766682bd4dSJerome Brunet select COMMON_CLK_MESON_EE_CLKC 774162dd5bSJerome Brunet select MFD_SYSCON 78738f66d3SMichael Turquette help 79738f66d3SMichael Turquette Support for the clock controller on AmLogic S905 devices, aka gxbb. 80738f66d3SMichael Turquette Say Y if you want peripherals and CPU frequency scaling to work. 8178b4af31SQiufang Dai 8278b4af31SQiufang Daiconfig COMMON_CLK_AXG 8320425f63SKevin Hilman tristate "AXG SoC clock controllers support" 847b5c5720SJerome Brunet depends on ARM64 857b5c5720SJerome Brunet default y 86889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 87889c2b7eSJerome Brunet select COMMON_CLK_MESON_DUALDIV 88889c2b7eSJerome Brunet select COMMON_CLK_MESON_MPLL 89889c2b7eSJerome Brunet select COMMON_CLK_MESON_PLL 90889c2b7eSJerome Brunet select COMMON_CLK_MESON_AO_CLKC 916682bd4dSJerome Brunet select COMMON_CLK_MESON_EE_CLKC 924162dd5bSJerome Brunet select MFD_SYSCON 9378b4af31SQiufang Dai help 9478b4af31SQiufang Dai Support for the clock controller on AmLogic A113D devices, aka axg. 9578b4af31SQiufang Dai Say Y if you want peripherals and CPU frequency scaling to work. 961cd50181SJerome Brunet 971cd50181SJerome Brunetconfig COMMON_CLK_AXG_AUDIO 981cd50181SJerome Brunet tristate "Meson AXG Audio Clock Controller Driver" 997b5c5720SJerome Brunet depends on ARM64 100889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 101889c2b7eSJerome Brunet select COMMON_CLK_MESON_PHASE 102889c2b7eSJerome Brunet select COMMON_CLK_MESON_SCLK_DIV 103*05d3b7c6SNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 104cb78ba76SJerome Brunet select REGMAP_MMIO 1051cd50181SJerome Brunet help 1061cd50181SJerome Brunet Support for the audio clock controller on AmLogic A113D devices, 1071cd50181SJerome Brunet aka axg, Say Y if you want audio subsystem to work. 108085a4ea9SJian Hu 10928f3be51SDmitry Rokosovconfig COMMON_CLK_A1_PLL 11028f3be51SDmitry Rokosov tristate "Amlogic A1 SoC PLL controller support" 11128f3be51SDmitry Rokosov depends on ARM64 11228f3be51SDmitry Rokosov select COMMON_CLK_MESON_REGMAP 113c3f2801bSNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 11428f3be51SDmitry Rokosov select COMMON_CLK_MESON_PLL 11528f3be51SDmitry Rokosov help 11628f3be51SDmitry Rokosov Support for the PLL clock controller on Amlogic A113L based 11728f3be51SDmitry Rokosov device, A1 SoC Family. Say Y if you want A1 PLL clock controller 11828f3be51SDmitry Rokosov to work. 11928f3be51SDmitry Rokosov 12084af9144SDmitry Rokosovconfig COMMON_CLK_A1_PERIPHERALS 12184af9144SDmitry Rokosov tristate "Amlogic A1 SoC Peripherals clock controller support" 12284af9144SDmitry Rokosov depends on ARM64 12384af9144SDmitry Rokosov select COMMON_CLK_MESON_DUALDIV 12484af9144SDmitry Rokosov select COMMON_CLK_MESON_REGMAP 125c3f2801bSNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 12684af9144SDmitry Rokosov help 12784af9144SDmitry Rokosov Support for the Peripherals clock controller on Amlogic A113L based 12884af9144SDmitry Rokosov device, A1 SoC Family. Say Y if you want A1 Peripherals clock 12984af9144SDmitry Rokosov controller to work. 13084af9144SDmitry Rokosov 131085a4ea9SJian Huconfig COMMON_CLK_G12A 13220425f63SKevin Hilman tristate "G12 and SM1 SoC clock controllers support" 1337b5c5720SJerome Brunet depends on ARM64 1347b5c5720SJerome Brunet default y 135085a4ea9SJian Hu select COMMON_CLK_MESON_REGMAP 136042f01bbSNeil Armstrong select COMMON_CLK_MESON_DUALDIV 137085a4ea9SJian Hu select COMMON_CLK_MESON_MPLL 138085a4ea9SJian Hu select COMMON_CLK_MESON_PLL 139042f01bbSNeil Armstrong select COMMON_CLK_MESON_AO_CLKC 1406682bd4dSJerome Brunet select COMMON_CLK_MESON_EE_CLKC 14126d34431SNeil Armstrong select COMMON_CLK_MESON_CPU_DYNDIV 142bae69bfaSKevin Hilman select COMMON_CLK_MESON_VID_PLL_DIV 143085a4ea9SJian Hu select MFD_SYSCON 144085a4ea9SJian Hu help 145085a4ea9SJian Hu Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2 146085a4ea9SJian Hu devices, aka g12a. Say Y if you want peripherals to work. 1477b5c5720SJerome Brunetendmenu 148