Kconfig 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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 VF_PIT_TIMER
  114. bool
  115. help
  116. Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
  117. config SYS_SUPPORTS_SH_CMT
  118. bool
  119. config SYS_SUPPORTS_SH_MTU2
  120. bool
  121. config SYS_SUPPORTS_SH_TMU
  122. bool
  123. config SYS_SUPPORTS_EM_STI
  124. bool
  125. config SH_TIMER_CMT
  126. bool "Renesas CMT timer driver" if COMPILE_TEST
  127. depends on GENERIC_CLOCKEVENTS
  128. default SYS_SUPPORTS_SH_CMT
  129. help
  130. This enables build of a clocksource and clockevent driver for
  131. the Compare Match Timer (CMT) hardware available in 16/32/48-bit
  132. variants on a wide range of Mobile and Automotive SoCs from Renesas.
  133. config SH_TIMER_MTU2
  134. bool "Renesas MTU2 timer driver" if COMPILE_TEST
  135. depends on GENERIC_CLOCKEVENTS
  136. default SYS_SUPPORTS_SH_MTU2
  137. help
  138. This enables build of a clockevent driver for the Multi-Function
  139. Timer Pulse Unit 2 (TMU2) hardware available on SoCs from Renesas.
  140. This hardware comes with 16 bit-timer registers.
  141. config SH_TIMER_TMU
  142. bool "Renesas TMU timer driver" if COMPILE_TEST
  143. depends on GENERIC_CLOCKEVENTS
  144. default SYS_SUPPORTS_SH_TMU
  145. help
  146. This enables build of a clocksource and clockevent driver for
  147. the 32-bit Timer Unit (TMU) hardware available on a wide range
  148. SoCs from Renesas.
  149. config EM_TIMER_STI
  150. bool "Renesas STI timer driver" if COMPILE_TEST
  151. depends on GENERIC_CLOCKEVENTS
  152. default SYS_SUPPORTS_EM_STI
  153. help
  154. This enables build of a clocksource and clockevent driver for
  155. the 48-bit System Timer (STI) hardware available on a SoCs
  156. such as EMEV2 from former NEC Electronics.
  157. config CLKSRC_QCOM
  158. bool
  159. config CLKSRC_VERSATILE
  160. bool "ARM Versatile (Express) reference platforms clock source"
  161. depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
  162. select CLKSRC_OF
  163. default y if MFD_VEXPRESS_SYSREG
  164. help
  165. This option enables clock source based on free running
  166. counter available in the "System Registers" block of
  167. ARM Versatile, RealView and Versatile Express reference
  168. platforms.