Kconfig 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. menu "Clock Source drivers"
  2. config CLKSRC_OF
  3. bool
  4. config CLKSRC_I8253
  5. bool
  6. config CLKEVT_I8253
  7. bool
  8. config I8253_LOCK
  9. bool
  10. config CLKBLD_I8253
  11. def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
  12. config CLKSRC_MMIO
  13. bool
  14. config DW_APB_TIMER
  15. bool
  16. config DW_APB_TIMER_OF
  17. bool
  18. select DW_APB_TIMER
  19. select CLKSRC_OF
  20. config ARMADA_370_XP_TIMER
  21. bool
  22. select CLKSRC_OF
  23. config ORION_TIMER
  24. select CLKSRC_OF
  25. select CLKSRC_MMIO
  26. bool
  27. config SUN4I_TIMER
  28. select CLKSRC_MMIO
  29. bool
  30. config SUN5I_HSTIMER
  31. select CLKSRC_MMIO
  32. bool
  33. config VT8500_TIMER
  34. bool
  35. config CADENCE_TTC_TIMER
  36. bool
  37. config CLKSRC_NOMADIK_MTU
  38. bool
  39. depends on (ARCH_NOMADIK || ARCH_U8500)
  40. select CLKSRC_MMIO
  41. help
  42. Support for Multi Timer Unit. MTU provides access
  43. to multiple interrupt generating programmable
  44. 32-bit free running decrementing counters.
  45. config CLKSRC_NOMADIK_MTU_SCHED_CLOCK
  46. bool
  47. depends on CLKSRC_NOMADIK_MTU
  48. help
  49. Use the Multi Timer Unit as the sched_clock.
  50. config CLKSRC_DBX500_PRCMU
  51. bool "Clocksource PRCMU Timer"
  52. depends on UX500_SOC_DB8500
  53. default y
  54. help
  55. Use the always on PRCMU Timer as clocksource
  56. config CLKSRC_DBX500_PRCMU_SCHED_CLOCK
  57. bool "Clocksource PRCMU Timer sched_clock"
  58. depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
  59. default y
  60. help
  61. Use the always on PRCMU Timer as sched_clock
  62. config CLKSRC_EFM32
  63. bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
  64. depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
  65. select CLKSRC_MMIO
  66. default ARCH_EFM32
  67. help
  68. Support to use the timers of EFM32 SoCs as clock source and clock
  69. event device.
  70. config ARM_ARCH_TIMER
  71. bool
  72. select CLKSRC_OF if OF
  73. config ARM_ARCH_TIMER_EVTSTREAM
  74. bool "Support for ARM architected timer event stream generation"
  75. default y if ARM_ARCH_TIMER
  76. depends on ARM_ARCH_TIMER
  77. help
  78. This option enables support for event stream generation based on
  79. the ARM architected timer. It is used for waking up CPUs executing
  80. the wfe instruction at a frequency represented as a power-of-2
  81. divisor of the clock rate.
  82. The main use of the event stream is wfe-based timeouts of userspace
  83. locking implementations. It might also be useful for imposing timeout
  84. on wfe to safeguard against any programming errors in case an expected
  85. event is not generated.
  86. This must be disabled for hardware validation purposes to detect any
  87. hardware anomalies of missing events.
  88. config ARM_GLOBAL_TIMER
  89. bool
  90. select CLKSRC_OF if OF
  91. help
  92. This options enables support for the ARM global timer unit
  93. config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
  94. bool
  95. depends on ARM_GLOBAL_TIMER
  96. default y
  97. help
  98. Use ARM global timer clock source as sched_clock
  99. config CLKSRC_METAG_GENERIC
  100. def_bool y if METAG
  101. help
  102. This option enables support for the Meta per-thread timers.
  103. config CLKSRC_EXYNOS_MCT
  104. def_bool y if ARCH_EXYNOS
  105. depends on !ARM64
  106. help
  107. Support for Multi Core Timer controller on Exynos SoCs.
  108. config CLKSRC_SAMSUNG_PWM
  109. bool
  110. help
  111. This is a new clocksource driver for the PWM timer found in
  112. Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
  113. for all devicetree enabled platforms. This driver will be
  114. needed only on systems that do not have the Exynos MCT available.
  115. config FSL_FTM_TIMER
  116. bool
  117. help
  118. Support for Freescale FlexTimer Module (FTM) timer.
  119. config VF_PIT_TIMER
  120. bool
  121. help
  122. Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
  123. config SYS_SUPPORTS_SH_CMT
  124. bool
  125. config MTK_TIMER
  126. select CLKSRC_OF
  127. select CLKSRC_MMIO
  128. bool
  129. config SYS_SUPPORTS_SH_MTU2
  130. bool
  131. config SYS_SUPPORTS_SH_TMU
  132. bool
  133. config SYS_SUPPORTS_EM_STI
  134. bool
  135. config SH_TIMER_CMT
  136. bool "Renesas CMT timer driver" if COMPILE_TEST
  137. depends on GENERIC_CLOCKEVENTS
  138. default SYS_SUPPORTS_SH_CMT
  139. help
  140. This enables build of a clocksource and clockevent driver for
  141. the Compare Match Timer (CMT) hardware available in 16/32/48-bit
  142. variants on a wide range of Mobile and Automotive SoCs from Renesas.
  143. config SH_TIMER_MTU2
  144. bool "Renesas MTU2 timer driver" if COMPILE_TEST
  145. depends on GENERIC_CLOCKEVENTS
  146. default SYS_SUPPORTS_SH_MTU2
  147. help
  148. This enables build of a clockevent driver for the Multi-Function
  149. Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
  150. This hardware comes with 16 bit-timer registers.
  151. config SH_TIMER_TMU
  152. bool "Renesas TMU timer driver" if COMPILE_TEST
  153. depends on GENERIC_CLOCKEVENTS
  154. default SYS_SUPPORTS_SH_TMU
  155. help
  156. This enables build of a clocksource and clockevent driver for
  157. the 32-bit Timer Unit (TMU) hardware available on a wide range
  158. SoCs from Renesas.
  159. config EM_TIMER_STI
  160. bool "Renesas STI timer driver" if COMPILE_TEST
  161. depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
  162. default SYS_SUPPORTS_EM_STI
  163. help
  164. This enables build of a clocksource and clockevent driver for
  165. the 48-bit System Timer (STI) hardware available on a SoCs
  166. such as EMEV2 from former NEC Electronics.
  167. config CLKSRC_QCOM
  168. bool
  169. config CLKSRC_VERSATILE
  170. bool "ARM Versatile (Express) reference platforms clock source"
  171. depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
  172. select CLKSRC_OF
  173. default y if MFD_VEXPRESS_SYSREG
  174. help
  175. This option enables clock source based on free running
  176. counter available in the "System Registers" block of
  177. ARM Versatile, RealView and Versatile Express reference
  178. platforms.
  179. endmenu