Kconfig 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. menu "Clock Source drivers"
  2. depends on GENERIC_CLOCKEVENTS
  3. config TIMER_OF
  4. bool
  5. select TIMER_PROBE
  6. config TIMER_ACPI
  7. bool
  8. select TIMER_PROBE
  9. config TIMER_PROBE
  10. bool
  11. config CLKSRC_I8253
  12. bool
  13. config CLKEVT_I8253
  14. bool
  15. config I8253_LOCK
  16. bool
  17. config OMAP_DM_TIMER
  18. bool
  19. config CLKBLD_I8253
  20. def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
  21. config CLKSRC_MMIO
  22. bool
  23. config BCM2835_TIMER
  24. bool "BCM2835 timer driver" if COMPILE_TEST
  25. select CLKSRC_MMIO
  26. help
  27. Enables the support for the BCM2835 timer driver.
  28. config BCM_KONA_TIMER
  29. bool "BCM mobile timer driver" if COMPILE_TEST
  30. select CLKSRC_MMIO
  31. help
  32. Enables the support for the BCM Kona mobile timer driver.
  33. config DIGICOLOR_TIMER
  34. bool "Digicolor timer driver" if COMPILE_TEST
  35. select CLKSRC_MMIO
  36. depends on HAS_IOMEM
  37. help
  38. Enables the support for the digicolor timer driver.
  39. config DW_APB_TIMER
  40. bool "DW APB timer driver" if COMPILE_TEST
  41. help
  42. Enables the support for the dw_apb timer.
  43. config DW_APB_TIMER_OF
  44. bool
  45. select DW_APB_TIMER
  46. select TIMER_OF
  47. config FTTMR010_TIMER
  48. bool "Faraday Technology timer driver" if COMPILE_TEST
  49. depends on HAS_IOMEM
  50. select CLKSRC_MMIO
  51. select TIMER_OF
  52. select MFD_SYSCON
  53. help
  54. Enables support for the Faraday Technology timer block
  55. FTTMR010.
  56. config ROCKCHIP_TIMER
  57. bool "Rockchip timer driver" if COMPILE_TEST
  58. depends on ARM || ARM64
  59. select TIMER_OF
  60. select CLKSRC_MMIO
  61. help
  62. Enables the support for the rockchip timer driver.
  63. config ARMADA_370_XP_TIMER
  64. bool "Armada 370 and XP timer driver" if COMPILE_TEST
  65. depends on ARM
  66. select TIMER_OF
  67. select CLKSRC_MMIO
  68. help
  69. Enables the support for the Armada 370 and XP timer driver.
  70. config MESON6_TIMER
  71. bool "Meson6 timer driver" if COMPILE_TEST
  72. select CLKSRC_MMIO
  73. help
  74. Enables the support for the Meson6 timer driver.
  75. config ORION_TIMER
  76. bool "Orion timer driver" if COMPILE_TEST
  77. depends on ARM
  78. select TIMER_OF
  79. select CLKSRC_MMIO
  80. help
  81. Enables the support for the Orion timer driver
  82. config OWL_TIMER
  83. bool "Owl timer driver" if COMPILE_TEST
  84. select CLKSRC_MMIO
  85. help
  86. Enables the support for the Actions Semi Owl timer driver.
  87. config SUN4I_TIMER
  88. bool "Sun4i timer driver" if COMPILE_TEST
  89. depends on HAS_IOMEM
  90. select CLKSRC_MMIO
  91. select TIMER_OF
  92. help
  93. Enables support for the Sun4i timer.
  94. config SUN5I_HSTIMER
  95. bool "Sun5i timer driver" if COMPILE_TEST
  96. select CLKSRC_MMIO
  97. depends on COMMON_CLK
  98. help
  99. Enables support the Sun5i timer.
  100. config TEGRA_TIMER
  101. bool "Tegra timer driver" if COMPILE_TEST
  102. select CLKSRC_MMIO
  103. depends on ARM
  104. help
  105. Enables support for the Tegra driver.
  106. config VT8500_TIMER
  107. bool "VT8500 timer driver" if COMPILE_TEST
  108. depends on HAS_IOMEM
  109. help
  110. Enables support for the VT8500 driver.
  111. config NPCM7XX_TIMER
  112. bool "NPCM7xx timer driver" if COMPILE_TEST
  113. depends on HAS_IOMEM
  114. select TIMER_OF
  115. select CLKSRC_MMIO
  116. help
  117. Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture,
  118. While TIMER0 serves as clockevent and TIMER1 serves as clocksource.
  119. config CADENCE_TTC_TIMER
  120. bool "Cadence TTC timer driver" if COMPILE_TEST
  121. depends on COMMON_CLK
  122. help
  123. Enables support for the cadence ttc driver.
  124. config ASM9260_TIMER
  125. bool "ASM9260 timer driver" if COMPILE_TEST
  126. select CLKSRC_MMIO
  127. select TIMER_OF
  128. help
  129. Enables support for the ASM9260 timer.
  130. config CLKSRC_NOMADIK_MTU
  131. bool "Nomakdik clocksource driver" if COMPILE_TEST
  132. depends on ARM
  133. select CLKSRC_MMIO
  134. help
  135. Support for Multi Timer Unit. MTU provides access
  136. to multiple interrupt generating programmable
  137. 32-bit free running decrementing counters.
  138. config CLKSRC_NOMADIK_MTU_SCHED_CLOCK
  139. bool
  140. depends on CLKSRC_NOMADIK_MTU
  141. help
  142. Use the Multi Timer Unit as the sched_clock.
  143. config CLKSRC_DBX500_PRCMU
  144. bool "Clocksource PRCMU Timer" if COMPILE_TEST
  145. depends on HAS_IOMEM
  146. help
  147. Use the always on PRCMU Timer as clocksource
  148. config CLPS711X_TIMER
  149. bool "Cirrus logic timer driver" if COMPILE_TEST
  150. select CLKSRC_MMIO
  151. help
  152. Enables support for the Cirrus Logic PS711 timer.
  153. config ATLAS7_TIMER
  154. bool "Atlas7 timer driver" if COMPILE_TEST
  155. select CLKSRC_MMIO
  156. help
  157. Enables support for the Atlas7 timer.
  158. config MXS_TIMER
  159. bool "Mxs timer driver" if COMPILE_TEST
  160. select CLKSRC_MMIO
  161. select STMP_DEVICE
  162. help
  163. Enables support for the Mxs timer.
  164. config PRIMA2_TIMER
  165. bool "Prima2 timer driver" if COMPILE_TEST
  166. select CLKSRC_MMIO
  167. help
  168. Enables support for the Prima2 timer.
  169. config U300_TIMER
  170. bool "U300 timer driver" if COMPILE_TEST
  171. depends on ARM
  172. select CLKSRC_MMIO
  173. help
  174. Enables support for the U300 timer.
  175. config NSPIRE_TIMER
  176. bool "NSpire timer driver" if COMPILE_TEST
  177. select CLKSRC_MMIO
  178. help
  179. Enables support for the Nspire timer.
  180. config KEYSTONE_TIMER
  181. bool "Keystone timer driver" if COMPILE_TEST
  182. depends on ARM || ARM64
  183. select CLKSRC_MMIO
  184. help
  185. Enables support for the Keystone timer.
  186. config INTEGRATOR_AP_TIMER
  187. bool "Integrator-ap timer driver" if COMPILE_TEST
  188. select CLKSRC_MMIO
  189. help
  190. Enables support for the Integrator-ap timer.
  191. config CLKSRC_DBX500_PRCMU_SCHED_CLOCK
  192. bool "Clocksource PRCMU Timer sched_clock"
  193. depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
  194. default y
  195. help
  196. Use the always on PRCMU Timer as sched_clock
  197. config CLKSRC_EFM32
  198. bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
  199. depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
  200. select CLKSRC_MMIO
  201. default ARCH_EFM32
  202. help
  203. Support to use the timers of EFM32 SoCs as clock source and clock
  204. event device.
  205. config CLKSRC_LPC32XX
  206. bool "Clocksource for LPC32XX" if COMPILE_TEST
  207. depends on HAS_IOMEM
  208. depends on ARM
  209. select CLKSRC_MMIO
  210. select TIMER_OF
  211. help
  212. Support for the LPC32XX clocksource.
  213. config CLKSRC_PISTACHIO
  214. bool "Clocksource for Pistachio SoC" if COMPILE_TEST
  215. depends on HAS_IOMEM
  216. select TIMER_OF
  217. help
  218. Enables the clocksource for the Pistachio SoC.
  219. config CLKSRC_TI_32K
  220. bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
  221. depends on GENERIC_SCHED_CLOCK
  222. select TIMER_OF if OF
  223. help
  224. This option enables support for Texas Instruments 32.768 Hz clocksource
  225. available on many OMAP-like platforms.
  226. config CLKSRC_NPS
  227. bool "NPS400 clocksource driver" if COMPILE_TEST
  228. depends on !PHYS_ADDR_T_64BIT
  229. select CLKSRC_MMIO
  230. select TIMER_OF if OF
  231. help
  232. NPS400 clocksource support.
  233. Got 64 bit counter with update rate up to 1000MHz.
  234. This counter is accessed via couple of 32 bit memory mapped registers.
  235. config CLKSRC_STM32
  236. bool "Clocksource for STM32 SoCs" if !ARCH_STM32
  237. depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
  238. select CLKSRC_MMIO
  239. select TIMER_OF
  240. config CLKSRC_MPS2
  241. bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
  242. depends on GENERIC_SCHED_CLOCK
  243. select CLKSRC_MMIO
  244. select TIMER_OF
  245. config ARC_TIMERS
  246. bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST
  247. depends on GENERIC_SCHED_CLOCK
  248. select TIMER_OF
  249. help
  250. These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores
  251. (ARC700 as well as ARC HS38).
  252. TIMER0 serves as clockevent while TIMER1 provides clocksource
  253. config ARC_TIMERS_64BIT
  254. bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST
  255. depends on ARC_TIMERS
  256. select TIMER_OF
  257. help
  258. This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP)
  259. RTC is implemented inside the core, while GFRC sits outside the core in
  260. ARConnect IP block. Driver automatically picks one of them for clocksource
  261. as appropriate.
  262. config ARM_ARCH_TIMER
  263. bool
  264. select TIMER_OF if OF
  265. select TIMER_ACPI if ACPI
  266. config ARM_ARCH_TIMER_EVTSTREAM
  267. bool "Enable ARM architected timer event stream generation by default"
  268. default y if ARM_ARCH_TIMER
  269. depends on ARM_ARCH_TIMER
  270. help
  271. This option enables support by default for event stream generation
  272. based on the ARM architected timer. It is used for waking up CPUs
  273. executing the wfe instruction at a frequency represented as a
  274. power-of-2 divisor of the clock rate. The behaviour can also be
  275. overridden on the command line using the
  276. clocksource.arm_arch_timer.evtstream parameter.
  277. The main use of the event stream is wfe-based timeouts of userspace
  278. locking implementations. It might also be useful for imposing timeout
  279. on wfe to safeguard against any programming errors in case an expected
  280. event is not generated.
  281. This must be disabled for hardware validation purposes to detect any
  282. hardware anomalies of missing events.
  283. config ARM_ARCH_TIMER_OOL_WORKAROUND
  284. bool
  285. config FSL_ERRATUM_A008585
  286. bool "Workaround for Freescale/NXP Erratum A-008585"
  287. default y
  288. depends on ARM_ARCH_TIMER && ARM64
  289. select ARM_ARCH_TIMER_OOL_WORKAROUND
  290. help
  291. This option enables a workaround for Freescale/NXP Erratum
  292. A-008585 ("ARM generic timer may contain an erroneous
  293. value"). The workaround will only be active if the
  294. fsl,erratum-a008585 property is found in the timer node.
  295. config HISILICON_ERRATUM_161010101
  296. bool "Workaround for Hisilicon Erratum 161010101"
  297. default y
  298. select ARM_ARCH_TIMER_OOL_WORKAROUND
  299. depends on ARM_ARCH_TIMER && ARM64
  300. help
  301. This option enables a workaround for Hisilicon Erratum
  302. 161010101. The workaround will be active if the hisilicon,erratum-161010101
  303. property is found in the timer node.
  304. config ARM64_ERRATUM_858921
  305. bool "Workaround for Cortex-A73 erratum 858921"
  306. default y
  307. select ARM_ARCH_TIMER_OOL_WORKAROUND
  308. depends on ARM_ARCH_TIMER && ARM64
  309. help
  310. This option enables a workaround applicable to Cortex-A73
  311. (all versions), whose counter may return incorrect values.
  312. The workaround will be dynamically enabled when an affected
  313. core is detected.
  314. config SUN50I_ERRATUM_UNKNOWN1
  315. bool "Workaround for Allwinner A64 erratum UNKNOWN1"
  316. default y
  317. depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI
  318. select ARM_ARCH_TIMER_OOL_WORKAROUND
  319. help
  320. This option enables a workaround for instability in the timer on
  321. the Allwinner A64 SoC. The workaround will only be active if the
  322. allwinner,erratum-unknown1 property is found in the timer node.
  323. config ARM_GLOBAL_TIMER
  324. bool "Support for the ARM global timer" if COMPILE_TEST
  325. select TIMER_OF if OF
  326. depends on ARM
  327. help
  328. This options enables support for the ARM global timer unit
  329. config ARM_TIMER_SP804
  330. bool "Support for Dual Timer SP804 module"
  331. depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
  332. select CLKSRC_MMIO
  333. select TIMER_OF if OF
  334. config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
  335. bool
  336. depends on ARM_GLOBAL_TIMER
  337. default y
  338. help
  339. Use ARM global timer clock source as sched_clock
  340. config ARMV7M_SYSTICK
  341. bool "Support for the ARMv7M system time" if COMPILE_TEST
  342. select TIMER_OF if OF
  343. select CLKSRC_MMIO
  344. help
  345. This options enables support for the ARMv7M system timer unit
  346. config ATMEL_PIT
  347. select TIMER_OF if OF
  348. def_bool SOC_AT91SAM9 || SOC_SAMA5
  349. config ATMEL_ST
  350. bool "Atmel ST timer support" if COMPILE_TEST
  351. depends on HAS_IOMEM
  352. select TIMER_OF
  353. select MFD_SYSCON
  354. help
  355. Support for the Atmel ST timer.
  356. config CLKSRC_EXYNOS_MCT
  357. bool "Exynos multi core timer driver" if COMPILE_TEST
  358. depends on ARM || ARM64
  359. help
  360. Support for Multi Core Timer controller on Exynos SoCs.
  361. config CLKSRC_SAMSUNG_PWM
  362. bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
  363. depends on HAS_IOMEM
  364. help
  365. This is a new clocksource driver for the PWM timer found in
  366. Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
  367. for all devicetree enabled platforms. This driver will be
  368. needed only on systems that do not have the Exynos MCT available.
  369. config FSL_FTM_TIMER
  370. bool "Freescale FlexTimer Module driver" if COMPILE_TEST
  371. depends on HAS_IOMEM
  372. select CLKSRC_MMIO
  373. help
  374. Support for Freescale FlexTimer Module (FTM) timer.
  375. config VF_PIT_TIMER
  376. bool
  377. select CLKSRC_MMIO
  378. help
  379. Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
  380. config OXNAS_RPS_TIMER
  381. bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
  382. select TIMER_OF
  383. select CLKSRC_MMIO
  384. help
  385. This enables support for the Oxford Semiconductor OXNAS RPS timers.
  386. config SYS_SUPPORTS_SH_CMT
  387. bool
  388. config MTK_TIMER
  389. bool "Mediatek timer driver" if COMPILE_TEST
  390. depends on HAS_IOMEM
  391. select TIMER_OF
  392. select CLKSRC_MMIO
  393. help
  394. Support for Mediatek timer driver.
  395. config SPRD_TIMER
  396. bool "Spreadtrum timer driver" if EXPERT
  397. depends on HAS_IOMEM
  398. depends on (ARCH_SPRD || COMPILE_TEST)
  399. default ARCH_SPRD
  400. select TIMER_OF
  401. help
  402. Enables support for the Spreadtrum timer driver.
  403. config SYS_SUPPORTS_SH_MTU2
  404. bool
  405. config SYS_SUPPORTS_SH_TMU
  406. bool
  407. config SYS_SUPPORTS_EM_STI
  408. bool
  409. config CLKSRC_JCORE_PIT
  410. bool "J-Core PIT timer driver" if COMPILE_TEST
  411. depends on OF
  412. depends on HAS_IOMEM
  413. select CLKSRC_MMIO
  414. help
  415. This enables build of clocksource and clockevent driver for
  416. the integrated PIT in the J-Core synthesizable, open source SoC.
  417. config SH_TIMER_CMT
  418. bool "Renesas CMT timer driver" if COMPILE_TEST
  419. depends on HAS_IOMEM
  420. default SYS_SUPPORTS_SH_CMT
  421. help
  422. This enables build of a clocksource and clockevent driver for
  423. the Compare Match Timer (CMT) hardware available in 16/32/48-bit
  424. variants on a wide range of Mobile and Automotive SoCs from Renesas.
  425. config SH_TIMER_MTU2
  426. bool "Renesas MTU2 timer driver" if COMPILE_TEST
  427. depends on HAS_IOMEM
  428. default SYS_SUPPORTS_SH_MTU2
  429. help
  430. This enables build of a clockevent driver for the Multi-Function
  431. Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
  432. This hardware comes with 16 bit-timer registers.
  433. config RENESAS_OSTM
  434. bool "Renesas OSTM timer driver" if COMPILE_TEST
  435. select CLKSRC_MMIO
  436. help
  437. Enables the support for the Renesas OSTM.
  438. config SH_TIMER_TMU
  439. bool "Renesas TMU timer driver" if COMPILE_TEST
  440. depends on HAS_IOMEM
  441. default SYS_SUPPORTS_SH_TMU
  442. help
  443. This enables build of a clocksource and clockevent driver for
  444. the 32-bit Timer Unit (TMU) hardware available on a wide range
  445. SoCs from Renesas.
  446. config EM_TIMER_STI
  447. bool "Renesas STI timer driver" if COMPILE_TEST
  448. depends on HAS_IOMEM
  449. default SYS_SUPPORTS_EM_STI
  450. help
  451. This enables build of a clocksource and clockevent driver for
  452. the 48-bit System Timer (STI) hardware available on a SoCs
  453. such as EMEV2 from former NEC Electronics.
  454. config CLKSRC_QCOM
  455. bool "Qualcomm MSM timer" if COMPILE_TEST
  456. depends on ARM
  457. select TIMER_OF
  458. help
  459. This enables the clocksource and the per CPU clockevent driver for the
  460. Qualcomm SoCs.
  461. config CLKSRC_VERSATILE
  462. bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST
  463. depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
  464. select TIMER_OF
  465. default y if MFD_VEXPRESS_SYSREG
  466. help
  467. This option enables clock source based on free running
  468. counter available in the "System Registers" block of
  469. ARM Versatile, RealView and Versatile Express reference
  470. platforms.
  471. config CLKSRC_MIPS_GIC
  472. bool
  473. depends on MIPS_GIC
  474. select TIMER_OF
  475. config CLKSRC_TANGO_XTAL
  476. bool "Clocksource for Tango SoC" if COMPILE_TEST
  477. depends on ARM
  478. select TIMER_OF
  479. select CLKSRC_MMIO
  480. help
  481. This enables the clocksource for Tango SoC
  482. config CLKSRC_PXA
  483. bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
  484. depends on HAS_IOMEM
  485. select CLKSRC_MMIO
  486. help
  487. This enables OST0 support available on PXA and SA-11x0
  488. platforms.
  489. config H8300_TMR8
  490. bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
  491. depends on HAS_IOMEM
  492. help
  493. This enables the 8 bits timer for the H8300 platform.
  494. config H8300_TMR16
  495. bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
  496. depends on HAS_IOMEM
  497. help
  498. This enables the 16 bits timer for the H8300 platform with the
  499. H83069 cpu.
  500. config H8300_TPU
  501. bool "Clocksource for the H8300 platform" if COMPILE_TEST
  502. depends on HAS_IOMEM
  503. help
  504. This enables the clocksource for the H8300 platform with the
  505. H8S2678 cpu.
  506. config CLKSRC_IMX_GPT
  507. bool "Clocksource using i.MX GPT" if COMPILE_TEST
  508. depends on ARM && CLKDEV_LOOKUP
  509. select CLKSRC_MMIO
  510. config CLKSRC_IMX_TPM
  511. bool "Clocksource using i.MX TPM" if COMPILE_TEST
  512. depends on ARM && CLKDEV_LOOKUP
  513. select CLKSRC_MMIO
  514. help
  515. Enable this option to use IMX Timer/PWM Module (TPM) timer as
  516. clocksource.
  517. config CLKSRC_ST_LPC
  518. bool "Low power clocksource found in the LPC" if COMPILE_TEST
  519. select TIMER_OF if OF
  520. depends on HAS_IOMEM
  521. select CLKSRC_MMIO
  522. help
  523. Enable this option to use the Low Power controller timer
  524. as clocksource.
  525. config ARKMICRO_TIMER
  526. bool "Arkmicro timer driver"
  527. depends on GENERIC_CLOCKEVENTS
  528. select CLKSRC_MMIO
  529. select TIMER_OF if OF
  530. help
  531. Enables support for the Arkmicro timer.
  532. choice
  533. prompt "select ark timer controller"
  534. depends on ARKMICRO_TIMER
  535. config TIMER_ARK1668
  536. bool "ark1668 timer controller"
  537. config TIMER_ARKN141
  538. bool "arkn141 timer controller"
  539. endchoice
  540. config ATCPIT100_TIMER
  541. bool "ATCPIT100 timer driver"
  542. depends on NDS32 || COMPILE_TEST
  543. depends on HAS_IOMEM
  544. select TIMER_OF
  545. default NDS32
  546. help
  547. This option enables support for the Andestech ATCPIT100 timers.
  548. config RISCV_TIMER
  549. bool "Timer for the RISC-V platform"
  550. depends on RISCV
  551. default y
  552. select TIMER_PROBE
  553. select TIMER_OF
  554. help
  555. This enables the per-hart timer built into all RISC-V systems, which
  556. is accessed via both the SBI and the rdcycle instruction. This is
  557. required for all RISC-V systems.
  558. endmenu