Kconfig 5.5 KB

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