Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  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 COMMON_CLK_MAX77686
  28. tristate "Clock driver for Maxim 77620/77686/77802 MFD"
  29. depends on MFD_MAX77686 || MFD_MAX77620 || COMPILE_TEST
  30. ---help---
  31. This driver supports Maxim 77620/77686/77802 crystal oscillator
  32. clock.
  33. config COMMON_CLK_RK808
  34. tristate "Clock driver for RK808/RK818"
  35. depends on MFD_RK808
  36. ---help---
  37. This driver supports RK808 and RK818 crystal oscillator clock. These
  38. multi-function devices have two fixed-rate oscillators,
  39. clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
  40. by control register.
  41. config COMMON_CLK_HI655X
  42. tristate "Clock driver for Hi655x"
  43. depends on MFD_HI655X_PMIC || COMPILE_TEST
  44. ---help---
  45. This driver supports the hi655x PMIC clock. This
  46. multi-function device has one fixed-rate oscillator, clocked
  47. at 32KHz.
  48. config COMMON_CLK_SCPI
  49. tristate "Clock driver controlled via SCPI interface"
  50. depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
  51. ---help---
  52. This driver provides support for clocks that are controlled
  53. by firmware that implements the SCPI interface.
  54. This driver uses SCPI Message Protocol to interact with the
  55. firmware providing all the clock controls.
  56. config COMMON_CLK_SI5351
  57. tristate "Clock driver for SiLabs 5351A/B/C"
  58. depends on I2C
  59. select REGMAP_I2C
  60. select RATIONAL
  61. ---help---
  62. This driver supports Silicon Labs 5351A/B/C programmable clock
  63. generators.
  64. config COMMON_CLK_SI514
  65. tristate "Clock driver for SiLabs 514 devices"
  66. depends on I2C
  67. depends on OF
  68. select REGMAP_I2C
  69. help
  70. ---help---
  71. This driver supports the Silicon Labs 514 programmable clock
  72. generator.
  73. config COMMON_CLK_SI570
  74. tristate "Clock driver for SiLabs 570 and compatible devices"
  75. depends on I2C
  76. depends on OF
  77. select REGMAP_I2C
  78. help
  79. ---help---
  80. This driver supports Silicon Labs 570/571/598/599 programmable
  81. clock generators.
  82. config COMMON_CLK_CDCE706
  83. tristate "Clock driver for TI CDCE706 clock synthesizer"
  84. depends on I2C
  85. select REGMAP_I2C
  86. select RATIONAL
  87. ---help---
  88. This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
  89. config COMMON_CLK_CDCE925
  90. tristate "Clock driver for TI CDCE913/925/937/949 devices"
  91. depends on I2C
  92. depends on OF
  93. select REGMAP_I2C
  94. help
  95. ---help---
  96. This driver supports the TI CDCE913/925/937/949 programmable clock
  97. synthesizer. Each chip has different number of PLLs and outputs.
  98. For example, the CDCE925 contains two PLLs with spread-spectrum
  99. clocking support and five output dividers. The driver only supports
  100. the following setup, and uses a fixed setting for the output muxes.
  101. Y1 is derived from the input clock
  102. Y2 and Y3 derive from PLL1
  103. Y4 and Y5 derive from PLL2
  104. Given a target output frequency, the driver will set the PLL and
  105. divider to best approximate the desired output.
  106. config COMMON_CLK_CS2000_CP
  107. tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
  108. depends on I2C
  109. help
  110. If you say yes here you get support for the CS2000 clock multiplier.
  111. config COMMON_CLK_S2MPS11
  112. tristate "Clock driver for S2MPS1X/S5M8767 MFD"
  113. depends on MFD_SEC_CORE || COMPILE_TEST
  114. ---help---
  115. This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
  116. clock. These multi-function devices have two (S2MPS14) or three
  117. (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
  118. config CLK_TWL6040
  119. tristate "External McPDM functional clock from twl6040"
  120. depends on TWL6040_CORE
  121. ---help---
  122. Enable the external functional clock support on OMAP4+ platforms for
  123. McPDM. McPDM module is using the external bit clock on the McPDM bus
  124. as functional clock.
  125. config COMMON_CLK_AXI_CLKGEN
  126. tristate "AXI clkgen driver"
  127. depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
  128. help
  129. ---help---
  130. Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
  131. FPGAs. It is commonly used in Analog Devices' reference designs.
  132. config CLK_QORIQ
  133. bool "Clock driver for Freescale QorIQ platforms"
  134. depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
  135. ---help---
  136. This adds the clock driver support for Freescale QorIQ platforms
  137. using common clock framework.
  138. config COMMON_CLK_XGENE
  139. bool "Clock driver for APM XGene SoC"
  140. default y
  141. depends on ARM64 || COMPILE_TEST
  142. ---help---
  143. Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
  144. config COMMON_CLK_KEYSTONE
  145. tristate "Clock drivers for Keystone based SOCs"
  146. depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
  147. ---help---
  148. Supports clock drivers for Keystone based SOCs. These SOCs have local
  149. a power sleep control module that gate the clock to the IPs and PLLs.
  150. config COMMON_CLK_NXP
  151. def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
  152. select REGMAP_MMIO if ARCH_LPC32XX
  153. select MFD_SYSCON if ARCH_LPC18XX
  154. ---help---
  155. Support for clock providers on NXP platforms.
  156. config COMMON_CLK_PALMAS
  157. tristate "Clock driver for TI Palmas devices"
  158. depends on MFD_PALMAS
  159. ---help---
  160. This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
  161. using common clock framework.
  162. config COMMON_CLK_PWM
  163. tristate "Clock driver for PWMs used as clock outputs"
  164. depends on PWM
  165. ---help---
  166. Adapter driver so that any PWM output can be (mis)used as clock signal
  167. at 50% duty cycle.
  168. config COMMON_CLK_PXA
  169. def_bool COMMON_CLK && ARCH_PXA
  170. ---help---
  171. Support for the Marvell PXA SoC.
  172. config COMMON_CLK_PIC32
  173. def_bool COMMON_CLK && MACH_PIC32
  174. config COMMON_CLK_OXNAS
  175. bool "Clock driver for the OXNAS SoC Family"
  176. depends on ARCH_OXNAS || COMPILE_TEST
  177. select MFD_SYSCON
  178. ---help---
  179. Support for the OXNAS SoC Family clocks.
  180. config COMMON_CLK_VC5
  181. tristate "Clock driver for IDT VersaClock5 devices"
  182. depends on I2C
  183. depends on OF
  184. select REGMAP_I2C
  185. help
  186. ---help---
  187. This driver supports the IDT VersaClock5 programmable clock
  188. generator.
  189. source "drivers/clk/bcm/Kconfig"
  190. source "drivers/clk/hisilicon/Kconfig"
  191. source "drivers/clk/mediatek/Kconfig"
  192. source "drivers/clk/meson/Kconfig"
  193. source "drivers/clk/mvebu/Kconfig"
  194. source "drivers/clk/qcom/Kconfig"
  195. source "drivers/clk/renesas/Kconfig"
  196. source "drivers/clk/samsung/Kconfig"
  197. source "drivers/clk/sunxi-ng/Kconfig"
  198. source "drivers/clk/tegra/Kconfig"
  199. source "drivers/clk/ti/Kconfig"
  200. source "drivers/clk/uniphier/Kconfig"
  201. endmenu