xref: /openbmc/linux/drivers/clocksource/Kconfig (revision a2c5d4ed)
189c0b8e2SRussell Kingconfig CLKSRC_I8253
289c0b8e2SRussell King	bool
3442c8176SRussell King
4e6220bdcSThomas Gleixnerconfig CLKEVT_I8253
5e6220bdcSThomas Gleixner	bool
6e6220bdcSThomas Gleixner
715f304b6SRalf Baechleconfig I8253_LOCK
815f304b6SRalf Baechle	bool
915f304b6SRalf Baechle
1015f304b6SRalf Baechleconfig CLKBLD_I8253
11e6220bdcSThomas Gleixner	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
1215f304b6SRalf Baechle
13442c8176SRussell Kingconfig CLKSRC_MMIO
14442c8176SRussell King	bool
1506c3df49SJamie Iles
1606c3df49SJamie Ilesconfig DW_APB_TIMER
1706c3df49SJamie Iles	bool
18489bcceaSMattias Wallin
19cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF
20cfda5901SDinh Nguyen	bool
21cfda5901SDinh Nguyen
226fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
236fe9cbd1SGregory CLEMENT	bool
246fe9cbd1SGregory CLEMENT
25b2ac5d75SMaxime Ripardconfig SUNXI_TIMER
26b2ac5d75SMaxime Ripard	bool
27b2ac5d75SMaxime Ripard
28694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
29694e33a7SLinus Walleij	bool
30694e33a7SLinus Walleij	depends on (ARCH_NOMADIK || ARCH_U8500)
31694e33a7SLinus Walleij	select CLKSRC_MMIO
32694e33a7SLinus Walleij	help
33694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
34694e33a7SLinus Walleij	  to multiple interrupt generating programmable
35694e33a7SLinus Walleij	  32-bit free running decrementing counters.
36694e33a7SLinus Walleij
37694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK
38694e33a7SLinus Walleij	bool
39694e33a7SLinus Walleij	depends on CLKSRC_NOMADIK_MTU
40694e33a7SLinus Walleij	help
41694e33a7SLinus Walleij	  Use the Multi Timer Unit as the sched_clock.
42694e33a7SLinus Walleij
43489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
44489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer"
4529746f48SLinus Walleij	depends on UX500_SOC_DB8500
46489bcceaSMattias Wallin	default y
47489bcceaSMattias Wallin	help
48489bcceaSMattias Wallin	  Use the always on PRCMU Timer as clocksource
49489bcceaSMattias Wallin
50489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK
51489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer sched_clock"
52694e33a7SLinus Walleij	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
53489bcceaSMattias Wallin	default y
54489bcceaSMattias Wallin	help
55489bcceaSMattias Wallin	  Use the always on PRCMU Timer as sched_clock
56985c0679SMarc Zyngier
57985c0679SMarc Zyngierconfig CLKSRC_ARM_GENERIC
58985c0679SMarc Zyngier	def_bool y if ARM64
59985c0679SMarc Zyngier	help
60985c0679SMarc Zyngier	  This option enables support for the ARM generic timer.
61a2c5d4edSJames Hogan
62a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC
63a2c5d4edSJames Hogan	def_bool y if METAG
64a2c5d4edSJames Hogan	help
65a2c5d4edSJames Hogan	  This option enables support for the Meta per-thread timers.
66