xref: /linux/drivers/clocksource/Kconfig (revision 9c9b781804e0a278e258f81dfc31c50f80867730)
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
241b4eca0fSHeiko Stuebner	select DW_APB_TIMER
2510021488SHeiko Stuebner	select CLKSRC_OF
26cfda5901SDinh Nguyen
276fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
286fe9cbd1SGregory CLEMENT	bool
297b0dd72aSJean Pihet	select CLKSRC_OF
306fe9cbd1SGregory CLEMENT
310c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER
320c1dcfd5SSebastian Hesselbarth	select CLKSRC_OF
330c1dcfd5SSebastian Hesselbarth	select CLKSRC_MMIO
340c1dcfd5SSebastian Hesselbarth	bool
350c1dcfd5SSebastian Hesselbarth
36119fd635SMaxime Ripardconfig SUN4I_TIMER
37b2ac5d75SMaxime Ripard	bool
38b2ac5d75SMaxime Ripard
39ff7ec345STony Priskconfig VT8500_TIMER
40ff7ec345STony Prisk	bool
41ff7ec345STony Prisk
424f0f234fSMichal Simekconfig CADENCE_TTC_TIMER
434f0f234fSMichal Simek	bool
444f0f234fSMichal Simek
45694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
46694e33a7SLinus Walleij	bool
47694e33a7SLinus Walleij	depends on (ARCH_NOMADIK || ARCH_U8500)
48694e33a7SLinus Walleij	select CLKSRC_MMIO
49694e33a7SLinus Walleij	help
50694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
51694e33a7SLinus Walleij	  to multiple interrupt generating programmable
52694e33a7SLinus Walleij	  32-bit free running decrementing counters.
53694e33a7SLinus Walleij
54694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK
55694e33a7SLinus Walleij	bool
56694e33a7SLinus Walleij	depends on CLKSRC_NOMADIK_MTU
57694e33a7SLinus Walleij	help
58694e33a7SLinus Walleij	  Use the Multi Timer Unit as the sched_clock.
59694e33a7SLinus Walleij
60489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
61489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer"
6229746f48SLinus Walleij	depends on UX500_SOC_DB8500
63489bcceaSMattias Wallin	default y
64489bcceaSMattias Wallin	help
65489bcceaSMattias Wallin	  Use the always on PRCMU Timer as clocksource
66489bcceaSMattias Wallin
67489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK
68489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer sched_clock"
69694e33a7SLinus Walleij	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
70489bcceaSMattias Wallin	default y
71489bcceaSMattias Wallin	help
72489bcceaSMattias Wallin	  Use the always on PRCMU Timer as sched_clock
73985c0679SMarc Zyngier
74*9c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32
75*9c9b7818SUwe Kleine-König	bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
76*9c9b7818SUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
77*9c9b7818SUwe Kleine-König	default ARCH_EFM32
78*9c9b7818SUwe Kleine-König	help
79*9c9b7818SUwe Kleine-König	  Support to use the timers of EFM32 SoCs as clock source and clock
80*9c9b7818SUwe Kleine-König	  event device.
81*9c9b7818SUwe Kleine-König
828a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER
838a4da6e3SMark Rutland	bool
840583fe47SRob Herring	select CLKSRC_OF if OF
85a2c5d4edSJames Hogan
86037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM
87037f6377SWill Deacon	bool "Support for ARM architected timer event stream generation"
88037f6377SWill Deacon	default y if ARM_ARCH_TIMER
89037f6377SWill Deacon	help
90037f6377SWill Deacon	  This option enables support for event stream generation based on
91037f6377SWill Deacon	  the ARM architected timer. It is used for waking up CPUs executing
92037f6377SWill Deacon	  the wfe instruction at a frequency represented as a power-of-2
93037f6377SWill Deacon	  divisor of the clock rate.
94037f6377SWill Deacon	  The main use of the event stream is wfe-based timeouts of userspace
95037f6377SWill Deacon	  locking implementations. It might also be useful for imposing timeout
96037f6377SWill Deacon	  on wfe to safeguard against any programming errors in case an expected
97037f6377SWill Deacon	  event is not generated.
98037f6377SWill Deacon	  This must be disabled for hardware validation purposes to detect any
99037f6377SWill Deacon	  hardware anomalies of missing events.
100037f6377SWill Deacon
101c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER
102c1b40e44SStuart Menefy	bool
103c1b40e44SStuart Menefy	select CLKSRC_OF if OF
104c1b40e44SStuart Menefy	help
105c1b40e44SStuart Menefy	  This options enables support for the ARM global timer unit
106c1b40e44SStuart Menefy
107c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
108c1b40e44SStuart Menefy	bool
109c1b40e44SStuart Menefy	depends on ARM_GLOBAL_TIMER
110c1b40e44SStuart Menefy	default y
111c1b40e44SStuart Menefy	help
112c1b40e44SStuart Menefy	 Use ARM global timer clock source as sched_clock
113c1b40e44SStuart Menefy
114a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC
115a2c5d4edSJames Hogan	def_bool y if METAG
116a2c5d4edSJames Hogan	help
117a2c5d4edSJames Hogan	  This option enables support for the Meta per-thread timers.
1186938d75aSThomas Abraham
1196938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT
1206938d75aSThomas Abraham	def_bool y if ARCH_EXYNOS
1216938d75aSThomas Abraham	help
1226938d75aSThomas Abraham	  Support for Multi Core Timer controller on Exynos SoCs.
123241a9871SArnd Bergmann
124f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM
12577d84434STomasz Figa	bool
126f1189989STomasz Figa	help
127f1189989STomasz Figa	  This is a new clocksource driver for the PWM timer found in
128f1189989STomasz Figa	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
129f1189989STomasz Figa	  for all devicetree enabled platforms. This driver will be
130f1189989STomasz Figa	  needed only on systems that do not have the Exynos MCT available.
131c1967249SJingchang Lu
132c1967249SJingchang Luconfig VF_PIT_TIMER
133c1967249SJingchang Lu	bool
134c1967249SJingchang Lu	help
135c1967249SJingchang Lu	  Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
136