Kconfig 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. config CLKDEV_LOOKUP
  2. bool
  3. select HAVE_CLK
  4. config HAVE_CLK_PREPARE
  5. bool
  6. config COMMON_CLK
  7. bool
  8. select HAVE_CLK_PREPARE
  9. select CLKDEV_LOOKUP
  10. select SRCU
  11. select RATIONAL
  12. ---help---
  13. The common clock framework is a single definition of struct
  14. clk, useful across many platforms, as well as an
  15. implementation of the clock API in include/linux/clk.h.
  16. Architectures utilizing the common struct clk should select
  17. this option.
  18. menu "Common Clock Framework"
  19. depends on COMMON_CLK
  20. config COMMON_CLK_WM831X
  21. tristate "Clock driver for WM831x/2x PMICs"
  22. depends on MFD_WM831X
  23. ---help---
  24. Supports the clocking subsystem of the WM831x/2x series of
  25. PMICs from Wolfson Microelectronics.
  26. source "drivers/clk/versatile/Kconfig"
  27. config CLK_HSDK
  28. bool "PLL Driver for HSDK platform"
  29. depends on OF || COMPILE_TEST
  30. ---help---
  31. This driver supports the HSDK core, system, ddr, tunnel and hdmi PLLs
  32. control.
  33. config COMMON_CLK_MAX77686
  34. tristate "Clock driver for Maxim 77620/77686/77802 MFD"
  35. depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
  36. ---help---
  37. This driver supports Maxim 77620/77686/77802 crystal oscillator
  38. clock.
  39. config COMMON_CLK_MAX9485
  40. tristate "Maxim 9485 Programmable Clock Generator"
  41. depends on I2C
  42. help
  43. This driver supports Maxim 9485 Programmable Audio Clock Generator
  44. config COMMON_CLK_RK808
  45. tristate "Clock driver for RK805/RK808/RK818"
  46. depends on MFD_RK808
  47. ---help---
  48. This driver supports RK805, RK808 and RK818 crystal oscillator clock. These
  49. multi-function devices have two fixed-rate oscillators,
  50. clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
  51. by control register.
  52. config COMMON_CLK_HI655X
  53. tristate "Clock driver for Hi655x" if EXPERT
  54. depends on (MFD_HI655X_PMIC || COMPILE_TEST)
  55. depends on REGMAP
  56. default MFD_HI655X_PMIC
  57. ---help---
  58. This driver supports the hi655x PMIC clock. This
  59. multi-function device has one fixed-rate oscillator, clocked
  60. at 32KHz.
  61. config COMMON_CLK_SCMI
  62. tristate "Clock driver controlled via SCMI interface"
  63. depends on ARM_SCMI_PROTOCOL || COMPILE_TEST
  64. ---help---
  65. This driver provides support for clocks that are controlled
  66. by firmware that implements the SCMI interface.
  67. This driver uses SCMI Message Protocol to interact with the
  68. firmware providing all the clock controls.
  69. config COMMON_CLK_SCPI
  70. tristate "Clock driver controlled via SCPI interface"
  71. depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
  72. ---help---
  73. This driver provides support for clocks that are controlled
  74. by firmware that implements the SCPI interface.
  75. This driver uses SCPI Message Protocol to interact with the
  76. firmware providing all the clock controls.
  77. config COMMON_CLK_SI5351
  78. tristate "Clock driver for SiLabs 5351A/B/C"
  79. depends on I2C
  80. select REGMAP_I2C
  81. select RATIONAL
  82. ---help---
  83. This driver supports Silicon Labs 5351A/B/C programmable clock
  84. generators.
  85. config COMMON_CLK_SI514
  86. tristate "Clock driver for SiLabs 514 devices"
  87. depends on I2C
  88. depends on OF
  89. select REGMAP_I2C
  90. help
  91. ---help---
  92. This driver supports the Silicon Labs 514 programmable clock
  93. generator.
  94. config COMMON_CLK_SI544
  95. tristate "Clock driver for SiLabs 544 devices"
  96. depends on I2C
  97. select REGMAP_I2C
  98. help
  99. ---help---
  100. This driver supports the Silicon Labs 544 programmable clock
  101. generator.
  102. config COMMON_CLK_SI570
  103. tristate "Clock driver for SiLabs 570 and compatible devices"
  104. depends on I2C
  105. depends on OF
  106. select REGMAP_I2C
  107. help
  108. ---help---
  109. This driver supports Silicon Labs 570/571/598/599 programmable
  110. clock generators.
  111. config COMMON_CLK_CDCE706
  112. tristate "Clock driver for TI CDCE706 clock synthesizer"
  113. depends on I2C
  114. select REGMAP_I2C
  115. select RATIONAL
  116. ---help---
  117. This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
  118. config COMMON_CLK_CDCE925
  119. tristate "Clock driver for TI CDCE913/925/937/949 devices"
  120. depends on I2C
  121. depends on OF
  122. select REGMAP_I2C
  123. help
  124. ---help---
  125. This driver supports the TI CDCE913/925/937/949 programmable clock
  126. synthesizer. Each chip has different number of PLLs and outputs.
  127. For example, the CDCE925 contains two PLLs with spread-spectrum
  128. clocking support and five output dividers. The driver only supports
  129. the following setup, and uses a fixed setting for the output muxes.
  130. Y1 is derived from the input clock
  131. Y2 and Y3 derive from PLL1
  132. Y4 and Y5 derive from PLL2
  133. Given a target output frequency, the driver will set the PLL and
  134. divider to best approximate the desired output.
  135. config COMMON_CLK_CS2000_CP
  136. tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
  137. depends on I2C
  138. help
  139. If you say yes here you get support for the CS2000 clock multiplier.
  140. config COMMON_CLK_GEMINI
  141. bool "Clock driver for Cortina Systems Gemini SoC"
  142. depends on ARCH_GEMINI || COMPILE_TEST
  143. select MFD_SYSCON
  144. select RESET_CONTROLLER
  145. ---help---
  146. This driver supports the SoC clocks on the Cortina Systems Gemini
  147. platform, also known as SL3516 or CS3516.
  148. config COMMON_CLK_ASPEED
  149. bool "Clock driver for Aspeed BMC SoCs"
  150. depends on ARCH_ASPEED || COMPILE_TEST
  151. default ARCH_ASPEED
  152. select MFD_SYSCON
  153. select RESET_CONTROLLER
  154. ---help---
  155. This driver supports the SoC clocks on the Aspeed BMC platforms.
  156. The G4 and G5 series, including the ast2400 and ast2500, are supported
  157. by this driver.
  158. config COMMON_CLK_S2MPS11
  159. tristate "Clock driver for S2MPS1X/S5M8767 MFD"
  160. depends on MFD_SEC_CORE || COMPILE_TEST
  161. ---help---
  162. This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
  163. clock. These multi-function devices have two (S2MPS14) or three
  164. (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
  165. config CLK_TWL6040
  166. tristate "External McPDM functional clock from twl6040"
  167. depends on TWL6040_CORE
  168. ---help---
  169. Enable the external functional clock support on OMAP4+ platforms for
  170. McPDM. McPDM module is using the external bit clock on the McPDM bus
  171. as functional clock.
  172. config COMMON_CLK_AXI_CLKGEN
  173. tristate "AXI clkgen driver"
  174. depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
  175. help
  176. ---help---
  177. Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
  178. FPGAs. It is commonly used in Analog Devices' reference designs.
  179. config CLK_QORIQ
  180. bool "Clock driver for Freescale QorIQ platforms"
  181. depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
  182. ---help---
  183. This adds the clock driver support for Freescale QorIQ platforms
  184. using common clock framework.
  185. config COMMON_CLK_XGENE
  186. bool "Clock driver for APM XGene SoC"
  187. default y
  188. depends on ARM64 || COMPILE_TEST
  189. ---help---
  190. Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
  191. config COMMON_CLK_NXP
  192. def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
  193. select REGMAP_MMIO if ARCH_LPC32XX
  194. select MFD_SYSCON if ARCH_LPC18XX
  195. ---help---
  196. Support for clock providers on NXP platforms.
  197. config COMMON_CLK_PALMAS
  198. tristate "Clock driver for TI Palmas devices"
  199. depends on MFD_PALMAS
  200. ---help---
  201. This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
  202. using common clock framework.
  203. config COMMON_CLK_PWM
  204. tristate "Clock driver for PWMs used as clock outputs"
  205. depends on PWM
  206. ---help---
  207. Adapter driver so that any PWM output can be (mis)used as clock signal
  208. at 50% duty cycle.
  209. config COMMON_CLK_PXA
  210. def_bool COMMON_CLK && ARCH_PXA
  211. ---help---
  212. Support for the Marvell PXA SoC.
  213. config COMMON_CLK_PIC32
  214. def_bool COMMON_CLK && MACH_PIC32
  215. config COMMON_CLK_OXNAS
  216. bool "Clock driver for the OXNAS SoC Family"
  217. depends on ARCH_OXNAS || COMPILE_TEST
  218. select MFD_SYSCON
  219. ---help---
  220. Support for the OXNAS SoC Family clocks.
  221. config COMMON_CLK_VC5
  222. tristate "Clock driver for IDT VersaClock 5,6 devices"
  223. depends on I2C
  224. depends on OF
  225. select REGMAP_I2C
  226. help
  227. ---help---
  228. This driver supports the IDT VersaClock 5 and VersaClock 6
  229. programmable clock generators.
  230. config COMMON_CLK_STM32MP157
  231. def_bool COMMON_CLK && MACH_STM32MP157
  232. help
  233. ---help---
  234. Support for stm32mp157 SoC family clocks
  235. config COMMON_CLK_STM32F
  236. def_bool COMMON_CLK && (MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746)
  237. help
  238. ---help---
  239. Support for stm32f4 and stm32f7 SoC families clocks
  240. config COMMON_CLK_STM32H7
  241. def_bool COMMON_CLK && MACH_STM32H743
  242. help
  243. ---help---
  244. Support for stm32h7 SoC family clocks
  245. source "drivers/clk/actions/Kconfig"
  246. source "drivers/clk/bcm/Kconfig"
  247. source "drivers/clk/hisilicon/Kconfig"
  248. source "drivers/clk/imgtec/Kconfig"
  249. source "drivers/clk/keystone/Kconfig"
  250. source "drivers/clk/mediatek/Kconfig"
  251. source "drivers/clk/meson/Kconfig"
  252. source "drivers/clk/mvebu/Kconfig"
  253. source "drivers/clk/qcom/Kconfig"
  254. source "drivers/clk/renesas/Kconfig"
  255. source "drivers/clk/samsung/Kconfig"
  256. source "drivers/clk/sprd/Kconfig"
  257. source "drivers/clk/sunxi-ng/Kconfig"
  258. source "drivers/clk/tegra/Kconfig"
  259. source "drivers/clk/ti/Kconfig"
  260. source "drivers/clk/uniphier/Kconfig"
  261. endmenu