xref: /openbmc/linux/drivers/clocksource/Kconfig (revision ae278a93)
1ae278a93SStephen Warrenconfig CLKSRC_OF
2ae278a93SStephen Warren	bool
3ae278a93SStephen Warren
489c0b8e2SRussell Kingconfig CLKSRC_I8253
589c0b8e2SRussell King	bool
6442c8176SRussell King
7e6220bdcSThomas Gleixnerconfig CLKEVT_I8253
8e6220bdcSThomas Gleixner	bool
9e6220bdcSThomas Gleixner
1015f304b6SRalf Baechleconfig I8253_LOCK
1115f304b6SRalf Baechle	bool
1215f304b6SRalf Baechle
1315f304b6SRalf Baechleconfig CLKBLD_I8253
14e6220bdcSThomas Gleixner	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
1515f304b6SRalf Baechle
16442c8176SRussell Kingconfig CLKSRC_MMIO
17442c8176SRussell King	bool
1806c3df49SJamie Iles
1906c3df49SJamie Ilesconfig DW_APB_TIMER
2006c3df49SJamie Iles	bool
21489bcceaSMattias Wallin
22cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF
23cfda5901SDinh Nguyen	bool
24cfda5901SDinh Nguyen
256fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
266fe9cbd1SGregory CLEMENT	bool
276fe9cbd1SGregory CLEMENT
28b2ac5d75SMaxime Ripardconfig SUNXI_TIMER
29b2ac5d75SMaxime Ripard	bool
30b2ac5d75SMaxime Ripard
31694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
32694e33a7SLinus Walleij	bool
33694e33a7SLinus Walleij	depends on (ARCH_NOMADIK || ARCH_U8500)
34694e33a7SLinus Walleij	select CLKSRC_MMIO
35694e33a7SLinus Walleij	help
36694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
37694e33a7SLinus Walleij	  to multiple interrupt generating programmable
38694e33a7SLinus Walleij	  32-bit free running decrementing counters.
39694e33a7SLinus Walleij
40694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK
41694e33a7SLinus Walleij	bool
42694e33a7SLinus Walleij	depends on CLKSRC_NOMADIK_MTU
43694e33a7SLinus Walleij	help
44694e33a7SLinus Walleij	  Use the Multi Timer Unit as the sched_clock.
45694e33a7SLinus Walleij
46489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
47489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer"
4829746f48SLinus Walleij	depends on UX500_SOC_DB8500
49489bcceaSMattias Wallin	default y
50489bcceaSMattias Wallin	help
51489bcceaSMattias Wallin	  Use the always on PRCMU Timer as clocksource
52489bcceaSMattias Wallin
53489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK
54489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer sched_clock"
55694e33a7SLinus Walleij	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
56489bcceaSMattias Wallin	default y
57489bcceaSMattias Wallin	help
58489bcceaSMattias Wallin	  Use the always on PRCMU Timer as sched_clock
59985c0679SMarc Zyngier
60985c0679SMarc Zyngierconfig CLKSRC_ARM_GENERIC
61985c0679SMarc Zyngier	def_bool y if ARM64
62985c0679SMarc Zyngier	help
63985c0679SMarc Zyngier	  This option enables support for the ARM generic timer.
64