Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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
  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 CDCE925 devices"
  84. depends on I2C
  85. depends on OF
  86. select REGMAP_I2C
  87. help
  88. ---help---
  89. This driver supports the TI CDCE925 programmable clock synthesizer.
  90. The chip contains two PLLs with spread-spectrum clocking support and
  91. five output dividers. The driver only supports the following setup,
  92. and uses a fixed setting for the output muxes.
  93. Y1 is derived from the input clock
  94. Y2 and Y3 derive from PLL1
  95. Y4 and Y5 derive from PLL2
  96. Given a target output frequency, the driver will set the PLL and
  97. divider to best approximate the desired output.
  98. config COMMON_CLK_CS2000_CP
  99. tristate "Clock driver for CS2000 Fractional-N Clock Synthesizer & Clock Multiplier"
  100. depends on I2C
  101. help
  102. If you say yes here you get support for the CS2000 clock multiplier.
  103. config COMMON_CLK_S2MPS11
  104. tristate "Clock driver for S2MPS1X/S5M8767 MFD"
  105. depends on MFD_SEC_CORE
  106. ---help---
  107. This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
  108. clock. These multi-function devices have two (S2MPS14) or three
  109. (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
  110. config CLK_TWL6040
  111. tristate "External McPDM functional clock from twl6040"
  112. depends on TWL6040_CORE
  113. ---help---
  114. Enable the external functional clock support on OMAP4+ platforms for
  115. McPDM. McPDM module is using the external bit clock on the McPDM bus
  116. as functional clock.
  117. config COMMON_CLK_AXI_CLKGEN
  118. tristate "AXI clkgen driver"
  119. depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
  120. help
  121. ---help---
  122. Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
  123. FPGAs. It is commonly used in Analog Devices' reference designs.
  124. config CLK_QORIQ
  125. bool "Clock driver for Freescale QorIQ platforms"
  126. depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
  127. ---help---
  128. This adds the clock driver support for Freescale QorIQ platforms
  129. using common clock framework.
  130. config COMMON_CLK_XGENE
  131. bool "Clock driver for APM XGene SoC"
  132. default y
  133. depends on ARM64 || COMPILE_TEST
  134. ---help---
  135. Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
  136. config COMMON_CLK_KEYSTONE
  137. tristate "Clock drivers for Keystone based SOCs"
  138. depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
  139. ---help---
  140. Supports clock drivers for Keystone based SOCs. These SOCs have local
  141. a power sleep control module that gate the clock to the IPs and PLLs.
  142. config COMMON_CLK_NXP
  143. def_bool COMMON_CLK && (ARCH_LPC18XX || ARCH_LPC32XX)
  144. select REGMAP_MMIO if ARCH_LPC32XX
  145. select MFD_SYSCON if ARCH_LPC18XX
  146. ---help---
  147. Support for clock providers on NXP platforms.
  148. config COMMON_CLK_PALMAS
  149. tristate "Clock driver for TI Palmas devices"
  150. depends on MFD_PALMAS
  151. ---help---
  152. This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
  153. using common clock framework.
  154. config COMMON_CLK_PWM
  155. tristate "Clock driver for PWMs used as clock outputs"
  156. depends on PWM
  157. ---help---
  158. Adapter driver so that any PWM output can be (mis)used as clock signal
  159. at 50% duty cycle.
  160. config COMMON_CLK_PXA
  161. def_bool COMMON_CLK && ARCH_PXA
  162. ---help---
  163. Support for the Marvell PXA SoC.
  164. config COMMON_CLK_PIC32
  165. def_bool COMMON_CLK && MACH_PIC32
  166. config COMMON_CLK_OXNAS
  167. bool "Clock driver for the OXNAS SoC Family"
  168. depends on ARCH_OXNAS || COMPILE_TEST
  169. select MFD_SYSCON
  170. ---help---
  171. Support for the OXNAS SoC Family clocks.
  172. source "drivers/clk/bcm/Kconfig"
  173. source "drivers/clk/hisilicon/Kconfig"
  174. source "drivers/clk/mediatek/Kconfig"
  175. source "drivers/clk/meson/Kconfig"
  176. source "drivers/clk/mvebu/Kconfig"
  177. source "drivers/clk/qcom/Kconfig"
  178. source "drivers/clk/renesas/Kconfig"
  179. source "drivers/clk/samsung/Kconfig"
  180. source "drivers/clk/sunxi-ng/Kconfig"
  181. source "drivers/clk/tegra/Kconfig"
  182. source "drivers/clk/ti/Kconfig"
  183. source "drivers/clk/uniphier/Kconfig"
  184. endmenu