Kconfig 5.1 KB

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