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 33*bb5aa085SNeil Armstrongconfig COMMON_CLK_MESON_VCLK 34*bb5aa085SNeil Armstrong tristate 35*bb5aa085SNeil Armstrong select COMMON_CLK_MESON_REGMAP 36*bb5aa085SNeil Armstrong 37230b6f3aSNeil Armstrongconfig COMMON_CLK_MESON_CLKC_UTILS 38230b6f3aSNeil Armstrong tristate 39230b6f3aSNeil Armstrong 40889c2b7eSJerome Brunetconfig COMMON_CLK_MESON_AO_CLKC 41889c2b7eSJerome Brunet tristate 42889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 437e1723fdSNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 44889c2b7eSJerome Brunet select RESET_CONTROLLER 45889c2b7eSJerome Brunet 466682bd4dSJerome Brunetconfig COMMON_CLK_MESON_EE_CLKC 476682bd4dSJerome Brunet tristate 486682bd4dSJerome Brunet select COMMON_CLK_MESON_REGMAP 49141fbc27SNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 506682bd4dSJerome Brunet 5126d34431SNeil Armstrongconfig COMMON_CLK_MESON_CPU_DYNDIV 5226d34431SNeil Armstrong tristate 5326d34431SNeil Armstrong select COMMON_CLK_MESON_REGMAP 5426d34431SNeil Armstrong 55cb7c47d7SMichael Turquetteconfig COMMON_CLK_MESON8B 567b5c5720SJerome Brunet bool "Meson8 SoC Clock controller support" 577b5c5720SJerome Brunet depends on ARM 587b5c5720SJerome Brunet default y 59889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 605e4e4804SNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 61889c2b7eSJerome Brunet select COMMON_CLK_MESON_MPLL 62889c2b7eSJerome Brunet select COMMON_CLK_MESON_PLL 63889c2b7eSJerome Brunet select MFD_SYSCON 6418962172SMartin Blumenstingl select RESET_CONTROLLER 65cb7c47d7SMichael Turquette help 66855f06a1SMartin Blumenstingl Support for the clock controller on AmLogic S802 (Meson8), 67855f06a1SMartin Blumenstingl S805 (Meson8b) and S812 (Meson8m2) devices. Say Y if you 68855f06a1SMartin Blumenstingl want peripherals and CPU frequency scaling to work. 69738f66d3SMichael Turquette 70738f66d3SMichael Turquetteconfig COMMON_CLK_GXBB 7120425f63SKevin Hilman tristate "GXBB and GXL SoC clock controllers support" 727b5c5720SJerome Brunet depends on ARM64 737b5c5720SJerome Brunet default y 74889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 75889c2b7eSJerome Brunet select COMMON_CLK_MESON_DUALDIV 76889c2b7eSJerome Brunet select COMMON_CLK_MESON_VID_PLL_DIV 77889c2b7eSJerome Brunet select COMMON_CLK_MESON_MPLL 78889c2b7eSJerome Brunet select COMMON_CLK_MESON_PLL 79889c2b7eSJerome Brunet select COMMON_CLK_MESON_AO_CLKC 806682bd4dSJerome Brunet select COMMON_CLK_MESON_EE_CLKC 814162dd5bSJerome Brunet select MFD_SYSCON 82738f66d3SMichael Turquette help 83738f66d3SMichael Turquette Support for the clock controller on AmLogic S905 devices, aka gxbb. 84738f66d3SMichael Turquette Say Y if you want peripherals and CPU frequency scaling to work. 8578b4af31SQiufang Dai 8678b4af31SQiufang Daiconfig COMMON_CLK_AXG 8720425f63SKevin Hilman tristate "AXG SoC clock controllers support" 887b5c5720SJerome Brunet depends on ARM64 897b5c5720SJerome Brunet default y 90889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 91889c2b7eSJerome Brunet select COMMON_CLK_MESON_DUALDIV 92889c2b7eSJerome Brunet select COMMON_CLK_MESON_MPLL 93889c2b7eSJerome Brunet select COMMON_CLK_MESON_PLL 94889c2b7eSJerome Brunet select COMMON_CLK_MESON_AO_CLKC 956682bd4dSJerome Brunet select COMMON_CLK_MESON_EE_CLKC 964162dd5bSJerome Brunet select MFD_SYSCON 9778b4af31SQiufang Dai help 9878b4af31SQiufang Dai Support for the clock controller on AmLogic A113D devices, aka axg. 9978b4af31SQiufang Dai Say Y if you want peripherals and CPU frequency scaling to work. 1001cd50181SJerome Brunet 1011cd50181SJerome Brunetconfig COMMON_CLK_AXG_AUDIO 1021cd50181SJerome Brunet tristate "Meson AXG Audio Clock Controller Driver" 1037b5c5720SJerome Brunet depends on ARM64 104889c2b7eSJerome Brunet select COMMON_CLK_MESON_REGMAP 105889c2b7eSJerome Brunet select COMMON_CLK_MESON_PHASE 106889c2b7eSJerome Brunet select COMMON_CLK_MESON_SCLK_DIV 10705d3b7c6SNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 108cb78ba76SJerome Brunet select REGMAP_MMIO 1091cd50181SJerome Brunet help 1101cd50181SJerome Brunet Support for the audio clock controller on AmLogic A113D devices, 1111cd50181SJerome Brunet aka axg, Say Y if you want audio subsystem to work. 112085a4ea9SJian Hu 11328f3be51SDmitry Rokosovconfig COMMON_CLK_A1_PLL 11428f3be51SDmitry Rokosov tristate "Amlogic A1 SoC PLL controller support" 11528f3be51SDmitry Rokosov depends on ARM64 11628f3be51SDmitry Rokosov select COMMON_CLK_MESON_REGMAP 117c3f2801bSNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 11828f3be51SDmitry Rokosov select COMMON_CLK_MESON_PLL 11928f3be51SDmitry Rokosov help 12028f3be51SDmitry Rokosov Support for the PLL clock controller on Amlogic A113L based 12128f3be51SDmitry Rokosov device, A1 SoC Family. Say Y if you want A1 PLL clock controller 12228f3be51SDmitry Rokosov to work. 12328f3be51SDmitry Rokosov 12484af9144SDmitry Rokosovconfig COMMON_CLK_A1_PERIPHERALS 12584af9144SDmitry Rokosov tristate "Amlogic A1 SoC Peripherals clock controller support" 12684af9144SDmitry Rokosov depends on ARM64 12784af9144SDmitry Rokosov select COMMON_CLK_MESON_DUALDIV 12884af9144SDmitry Rokosov select COMMON_CLK_MESON_REGMAP 129c3f2801bSNeil Armstrong select COMMON_CLK_MESON_CLKC_UTILS 13084af9144SDmitry Rokosov help 13184af9144SDmitry Rokosov Support for the Peripherals clock controller on Amlogic A113L based 13284af9144SDmitry Rokosov device, A1 SoC Family. Say Y if you want A1 Peripherals clock 13384af9144SDmitry Rokosov controller to work. 13484af9144SDmitry Rokosov 135085a4ea9SJian Huconfig COMMON_CLK_G12A 13620425f63SKevin Hilman tristate "G12 and SM1 SoC clock controllers support" 1377b5c5720SJerome Brunet depends on ARM64 1387b5c5720SJerome Brunet default y 139085a4ea9SJian Hu select COMMON_CLK_MESON_REGMAP 140042f01bbSNeil Armstrong select COMMON_CLK_MESON_DUALDIV 141085a4ea9SJian Hu select COMMON_CLK_MESON_MPLL 142085a4ea9SJian Hu select COMMON_CLK_MESON_PLL 143042f01bbSNeil Armstrong select COMMON_CLK_MESON_AO_CLKC 1446682bd4dSJerome Brunet select COMMON_CLK_MESON_EE_CLKC 14526d34431SNeil Armstrong select COMMON_CLK_MESON_CPU_DYNDIV 146bae69bfaSKevin Hilman select COMMON_CLK_MESON_VID_PLL_DIV 147085a4ea9SJian Hu select MFD_SYSCON 148085a4ea9SJian Hu help 149085a4ea9SJian Hu Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2 150085a4ea9SJian Hu devices, aka g12a. Say Y if you want peripherals to work. 151e787c9c5SYu Tu 152e787c9c5SYu Tuconfig COMMON_CLK_S4_PLL 153e787c9c5SYu Tu tristate "S4 SoC PLL clock controllers support" 154e787c9c5SYu Tu depends on ARM64 155e787c9c5SYu Tu default y 15698408df6SArnd Bergmann select COMMON_CLK_MESON_CLKC_UTILS 157e787c9c5SYu Tu select COMMON_CLK_MESON_MPLL 158e787c9c5SYu Tu select COMMON_CLK_MESON_PLL 159e787c9c5SYu Tu select COMMON_CLK_MESON_REGMAP 160e787c9c5SYu Tu help 161e787c9c5SYu Tu Support for the PLL clock controller on Amlogic S805X2 and S905Y4 devices, 162e787c9c5SYu Tu AKA S4. Say Y if you want the board to work, because PLLs are the parent of 163e787c9c5SYu Tu most peripherals. 16457b55c76SYu Tu 16557b55c76SYu Tuconfig COMMON_CLK_S4_PERIPHERALS 16657b55c76SYu Tu tristate "S4 SoC peripherals clock controllers support" 16757b55c76SYu Tu depends on ARM64 16857b55c76SYu Tu default y 16998408df6SArnd Bergmann select COMMON_CLK_MESON_CLKC_UTILS 17057b55c76SYu Tu select COMMON_CLK_MESON_REGMAP 17157b55c76SYu Tu select COMMON_CLK_MESON_DUALDIV 17257b55c76SYu Tu select COMMON_CLK_MESON_VID_PLL_DIV 17357b55c76SYu Tu help 17457b55c76SYu Tu Support for the peripherals clock controller on Amlogic S805X2 and S905Y4 17557b55c76SYu Tu devices, AKA S4. Say Y if you want S4 peripherals clock controller to work. 1767b5c5720SJerome Brunetendmenu 177