Kconfig 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. config CLKDEV_LOOKUP
  2. bool
  3. select HAVE_CLK
  4. config HAVE_CLK_PREPARE
  5. bool
  6. config HAVE_MACH_CLKDEV
  7. bool
  8. config COMMON_CLK
  9. bool
  10. select HAVE_CLK_PREPARE
  11. select CLKDEV_LOOKUP
  12. select SRCU
  13. select RATIONAL
  14. ---help---
  15. The common clock framework is a single definition of struct
  16. clk, useful across many platforms, as well as an
  17. implementation of the clock API in include/linux/clk.h.
  18. Architectures utilizing the common struct clk should select
  19. this option.
  20. menu "Common Clock Framework"
  21. depends on COMMON_CLK
  22. config COMMON_CLK_WM831X
  23. tristate "Clock driver for WM831x/2x PMICs"
  24. depends on MFD_WM831X
  25. ---help---
  26. Supports the clocking subsystem of the WM831x/2x series of
  27. PMICs from Wolfson Microelectronics.
  28. source "drivers/clk/versatile/Kconfig"
  29. config COMMON_CLK_MAX_GEN
  30. bool
  31. config COMMON_CLK_MAX77686
  32. tristate "Clock driver for Maxim 77686 MFD"
  33. depends on MFD_MAX77686
  34. select COMMON_CLK_MAX_GEN
  35. ---help---
  36. This driver supports Maxim 77686 crystal oscillator clock.
  37. config COMMON_CLK_MAX77802
  38. tristate "Clock driver for Maxim 77802 PMIC"
  39. depends on MFD_MAX77686
  40. select COMMON_CLK_MAX_GEN
  41. ---help---
  42. This driver supports Maxim 77802 crystal oscillator clock.
  43. config COMMON_CLK_RK808
  44. tristate "Clock driver for RK808"
  45. depends on MFD_RK808
  46. ---help---
  47. This driver supports RK808 crystal oscillator clock. These
  48. multi-function devices have two fixed-rate oscillators,
  49. clocked at 32KHz each. Clkout1 is always on, Clkout2 can off
  50. by control register.
  51. config COMMON_CLK_SCPI
  52. tristate "Clock driver controlled via SCPI interface"
  53. depends on ARM_SCPI_PROTOCOL || COMPILE_TEST
  54. ---help---
  55. This driver provides support for clocks that are controlled
  56. by firmware that implements the SCPI interface.
  57. This driver uses SCPI Message Protocol to interact with the
  58. firmware providing all the clock controls.
  59. config COMMON_CLK_SI5351
  60. tristate "Clock driver for SiLabs 5351A/B/C"
  61. depends on I2C
  62. select REGMAP_I2C
  63. select RATIONAL
  64. ---help---
  65. This driver supports Silicon Labs 5351A/B/C programmable clock
  66. generators.
  67. config COMMON_CLK_SI514
  68. tristate "Clock driver for SiLabs 514 devices"
  69. depends on I2C
  70. depends on OF
  71. select REGMAP_I2C
  72. help
  73. ---help---
  74. This driver supports the Silicon Labs 514 programmable clock
  75. generator.
  76. config COMMON_CLK_SI570
  77. tristate "Clock driver for SiLabs 570 and compatible devices"
  78. depends on I2C
  79. depends on OF
  80. select REGMAP_I2C
  81. help
  82. ---help---
  83. This driver supports Silicon Labs 570/571/598/599 programmable
  84. clock generators.
  85. config COMMON_CLK_CDCE925
  86. tristate "Clock driver for TI CDCE925 devices"
  87. depends on I2C
  88. depends on OF
  89. select REGMAP_I2C
  90. help
  91. ---help---
  92. This driver supports the TI CDCE925 programmable clock synthesizer.
  93. The chip contains two PLLs with spread-spectrum clocking support and
  94. five output dividers. The driver only supports the following setup,
  95. and uses a fixed setting for the output muxes.
  96. Y1 is derived from the input clock
  97. Y2 and Y3 derive from PLL1
  98. Y4 and Y5 derive from PLL2
  99. Given a target output frequency, the driver will set the PLL and
  100. divider to best approximate the desired output.
  101. config COMMON_CLK_S2MPS11
  102. tristate "Clock driver for S2MPS1X/S5M8767 MFD"
  103. depends on MFD_SEC_CORE
  104. ---help---
  105. This driver supports S2MPS11/S2MPS14/S5M8767 crystal oscillator
  106. clock. These multi-function devices have two (S2MPS14) or three
  107. (S2MPS11, S5M8767) fixed-rate oscillators, clocked at 32KHz each.
  108. config CLK_TWL6040
  109. tristate "External McPDM functional clock from twl6040"
  110. depends on TWL6040_CORE
  111. ---help---
  112. Enable the external functional clock support on OMAP4+ platforms for
  113. McPDM. McPDM module is using the external bit clock on the McPDM bus
  114. as functional clock.
  115. config COMMON_CLK_AXI_CLKGEN
  116. tristate "AXI clkgen driver"
  117. depends on ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST
  118. help
  119. ---help---
  120. Support for the Analog Devices axi-clkgen pcore clock generator for Xilinx
  121. FPGAs. It is commonly used in Analog Devices' reference designs.
  122. config CLK_QORIQ
  123. bool "Clock driver for Freescale QorIQ platforms"
  124. depends on (PPC_E500MC || ARM || ARM64 || COMPILE_TEST) && OF
  125. ---help---
  126. This adds the clock driver support for Freescale QorIQ platforms
  127. using common clock framework.
  128. config COMMON_CLK_XGENE
  129. bool "Clock driver for APM XGene SoC"
  130. default y
  131. depends on ARM64 || COMPILE_TEST
  132. ---help---
  133. Sypport for the APM X-Gene SoC reference, PLL, and device clocks.
  134. config COMMON_CLK_KEYSTONE
  135. tristate "Clock drivers for Keystone based SOCs"
  136. depends on (ARCH_KEYSTONE || COMPILE_TEST) && OF
  137. ---help---
  138. Supports clock drivers for Keystone based SOCs. These SOCs have local
  139. a power sleep control module that gate the clock to the IPs and PLLs.
  140. config COMMON_CLK_PALMAS
  141. tristate "Clock driver for TI Palmas devices"
  142. depends on MFD_PALMAS
  143. ---help---
  144. This driver supports TI Palmas devices 32KHz output KG and KG_AUDIO
  145. using common clock framework.
  146. config COMMON_CLK_PWM
  147. tristate "Clock driver for PWMs used as clock outputs"
  148. depends on PWM
  149. ---help---
  150. Adapter driver so that any PWM output can be (mis)used as clock signal
  151. at 50% duty cycle.
  152. config COMMON_CLK_PXA
  153. def_bool COMMON_CLK && ARCH_PXA
  154. ---help---
  155. Sypport for the Marvell PXA SoC.
  156. config COMMON_CLK_CDCE706
  157. tristate "Clock driver for TI CDCE706 clock synthesizer"
  158. depends on I2C
  159. select REGMAP_I2C
  160. select RATIONAL
  161. ---help---
  162. This driver supports TI CDCE706 programmable 3-PLL clock synthesizer.
  163. source "drivers/clk/bcm/Kconfig"
  164. source "drivers/clk/hisilicon/Kconfig"
  165. source "drivers/clk/qcom/Kconfig"
  166. endmenu
  167. source "drivers/clk/mvebu/Kconfig"
  168. source "drivers/clk/samsung/Kconfig"
  169. source "drivers/clk/tegra/Kconfig"