Kconfig 6.6 KB

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