xref: /openbmc/linux/drivers/clocksource/Kconfig (revision 89355274)
158394271SJean Delvaremenu "Clock Source drivers"
23da6d49eSArnd Bergmann	depends on !ARCH_USES_GETTIMEOFFSET
358394271SJean Delvare
4ae278a93SStephen Warrenconfig CLKSRC_OF
5ae278a93SStephen Warren	bool
6aad83b15SMarc Zyngier	select CLKSRC_PROBE
7aad83b15SMarc Zyngier
8aad83b15SMarc Zyngierconfig CLKSRC_ACPI
9aad83b15SMarc Zyngier	bool
10aad83b15SMarc Zyngier	select CLKSRC_PROBE
11aad83b15SMarc Zyngier
12aad83b15SMarc Zyngierconfig CLKSRC_PROBE
13aad83b15SMarc Zyngier	bool
14ae278a93SStephen Warren
1589c0b8e2SRussell Kingconfig CLKSRC_I8253
1689c0b8e2SRussell King	bool
17442c8176SRussell King
18e6220bdcSThomas Gleixnerconfig CLKEVT_I8253
19e6220bdcSThomas Gleixner	bool
20e6220bdcSThomas Gleixner
2115f304b6SRalf Baechleconfig I8253_LOCK
2215f304b6SRalf Baechle	bool
2315f304b6SRalf Baechle
2415f304b6SRalf Baechleconfig CLKBLD_I8253
25e6220bdcSThomas Gleixner	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
2615f304b6SRalf Baechle
27442c8176SRussell Kingconfig CLKSRC_MMIO
28442c8176SRussell King	bool
2906c3df49SJamie Iles
309b8bb773SBaruch Siachconfig DIGICOLOR_TIMER
31e6c1db13SDaniel Lezcano	bool "Digicolor timer driver" if COMPILE_TEST
320901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
332be6d9bfSArnd Bergmann	select CLKSRC_MMIO
34d7023e62SRichard Weinberger	depends on HAS_IOMEM
35e6c1db13SDaniel Lezcano	help
36e6c1db13SDaniel Lezcano	  Enables the support for the digicolor timer driver.
379b8bb773SBaruch Siach
3806c3df49SJamie Ilesconfig DW_APB_TIMER
395b097f6bSDaniel Lezcano	bool "DW APB timer driver" if COMPILE_TEST
400901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
415b097f6bSDaniel Lezcano	help
425b097f6bSDaniel Lezcano	  Enables the support for the dw_apb timer.
43489bcceaSMattias Wallin
44cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF
45cfda5901SDinh Nguyen	bool
461b4eca0fSHeiko Stuebner	select DW_APB_TIMER
4710021488SHeiko Stuebner	select CLKSRC_OF
48cfda5901SDinh Nguyen
49468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER
5040ada2aaSDaniel Lezcano	bool "Rockchip timer driver" if COMPILE_TEST
5140ada2aaSDaniel Lezcano	depends on ARM || ARM64
52468b8c4cSDaniel Lezcano	select CLKSRC_OF
5340ada2aaSDaniel Lezcano	help
5440ada2aaSDaniel Lezcano	  Enables the support for the rockchip timer driver.
55468b8c4cSDaniel Lezcano
566fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
579519e80cSDaniel Lezcano	bool "Armada 370 and XP timer driver" if COMPILE_TEST
589519e80cSDaniel Lezcano	depends on ARM
597b0dd72aSJean Pihet	select CLKSRC_OF
602be6d9bfSArnd Bergmann	select CLKSRC_MMIO
619519e80cSDaniel Lezcano	help
629519e80cSDaniel Lezcano	  Enables the support for the Armada 370 and XP timer driver.
636fe9cbd1SGregory CLEMENT
64e4a6b378SCarlo Caioneconfig MESON6_TIMER
650b7a7bb7SDaniel Lezcano	bool "Meson6 timer driver" if COMPILE_TEST
660901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
677b6b0a45SBeniamino Galvani	select CLKSRC_MMIO
680b7a7bb7SDaniel Lezcano	help
690b7a7bb7SDaniel Lezcano	  Enables the support for the Meson6 timer driver.
70e4a6b378SCarlo Caione
710c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER
72c9165549SDaniel Lezcano	bool "Orion timer driver" if COMPILE_TEST
73c9165549SDaniel Lezcano	depends on ARM
740c1dcfd5SSebastian Hesselbarth	select CLKSRC_OF
750c1dcfd5SSebastian Hesselbarth	select CLKSRC_MMIO
76c9165549SDaniel Lezcano	help
77c9165549SDaniel Lezcano	  Enables the support for the Orion timer driver
780c1dcfd5SSebastian Hesselbarth
79119fd635SMaxime Ripardconfig SUN4I_TIMER
80b4fcd48bSDaniel Lezcano	bool "Sun4i timer driver" if COMPILE_TEST
810901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
82d7023e62SRichard Weinberger	depends on HAS_IOMEM
8371c568c0SMaxime Ripard	select CLKSRC_MMIO
84b4fcd48bSDaniel Lezcano	help
85b4fcd48bSDaniel Lezcano	  Enables support for the Sun4i timer.
86b2ac5d75SMaxime Ripard
8767905540SMaxime Ripardconfig SUN5I_HSTIMER
88f0c5afb7SDaniel Lezcano	bool "Sun5i timer driver" if COMPILE_TEST
8967905540SMaxime Ripard	select CLKSRC_MMIO
90f0c5afb7SDaniel Lezcano	depends on COMMON_CLK
91f0c5afb7SDaniel Lezcano	help
92f0c5afb7SDaniel Lezcano	  Enables support the Sun5i timer.
9367905540SMaxime Ripard
94910978e7SThierry Redingconfig TEGRA_TIMER
95adce4bc8SDaniel Lezcano	bool "Tegra timer driver" if COMPILE_TEST
962be6d9bfSArnd Bergmann	select CLKSRC_MMIO
97adce4bc8SDaniel Lezcano	depends on ARM
98adce4bc8SDaniel Lezcano	help
99adce4bc8SDaniel Lezcano	  Enables support for the Tegra driver.
100910978e7SThierry Reding
101ff7ec345STony Priskconfig VT8500_TIMER
102b4bdf7efSDaniel Lezcano	bool "VT8500 timer driver" if COMPILE_TEST
1030901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
104d7023e62SRichard Weinberger	depends on HAS_IOMEM
105b4bdf7efSDaniel Lezcano	help
106b4bdf7efSDaniel Lezcano	  Enables support for the VT8500 driver.
107ff7ec345STony Prisk
1084f0f234fSMichal Simekconfig CADENCE_TTC_TIMER
10957f49318SDaniel Lezcano	bool "Cadence TTC timer driver" if COMPILE_TEST
11057f49318SDaniel Lezcano	depends on COMMON_CLK
11157f49318SDaniel Lezcano	help
11257f49318SDaniel Lezcano	  Enables support for the cadence ttc driver.
1134f0f234fSMichal Simek
114a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER
115b9755841SDaniel Lezcano	bool "ASM9260 timer driver" if COMPILE_TEST
1160901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
117a8b1b9fcSDaniel Lezcano	select CLKSRC_MMIO
118a8b1b9fcSDaniel Lezcano	select CLKSRC_OF
119b9755841SDaniel Lezcano	help
120b9755841SDaniel Lezcano	  Enables support for the ASM9260 timer.
121a8b1b9fcSDaniel Lezcano
122694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
12370329653SDaniel Lezcano	bool "Nomakdik clocksource driver" if COMPILE_TEST
12470329653SDaniel Lezcano	depends on ARM
125694e33a7SLinus Walleij	select CLKSRC_MMIO
126694e33a7SLinus Walleij	help
127694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
128694e33a7SLinus Walleij	  to multiple interrupt generating programmable
129694e33a7SLinus Walleij	  32-bit free running decrementing counters.
130694e33a7SLinus Walleij
131694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK
132694e33a7SLinus Walleij	bool
133694e33a7SLinus Walleij	depends on CLKSRC_NOMADIK_MTU
134694e33a7SLinus Walleij	help
135694e33a7SLinus Walleij	  Use the Multi Timer Unit as the sched_clock.
136694e33a7SLinus Walleij
137489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
1381becd6edSDaniel Lezcano	bool "Clocksource PRCMU Timer" if COMPILE_TEST
1390901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
140d7023e62SRichard Weinberger	depends on HAS_IOMEM
141489bcceaSMattias Wallin	help
142489bcceaSMattias Wallin	  Use the always on PRCMU Timer as clocksource
143489bcceaSMattias Wallin
144489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK
145489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer sched_clock"
146694e33a7SLinus Walleij	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
147489bcceaSMattias Wallin	default y
148489bcceaSMattias Wallin	help
149489bcceaSMattias Wallin	  Use the always on PRCMU Timer as sched_clock
150985c0679SMarc Zyngier
1519c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32
1529c9b7818SUwe Kleine-König	bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
1539c9b7818SUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
15409ca2757SAxel Lin	select CLKSRC_MMIO
1559c9b7818SUwe Kleine-König	default ARCH_EFM32
1569c9b7818SUwe Kleine-König	help
1579c9b7818SUwe Kleine-König	  Support to use the timers of EFM32 SoCs as clock source and clock
1589c9b7818SUwe Kleine-König	  event device.
1599c9b7818SUwe Kleine-König
160050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX
161ddcf48c7SDaniel Lezcano	bool "Clocksource for LPC32XX" if COMPILE_TEST
162863ee050SRichard Weinberger	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
1631b18fd20SEzequiel Garcia	depends on ARM
164050dd322SJoachim Eastwood	select CLKSRC_MMIO
165050dd322SJoachim Eastwood	select CLKSRC_OF
166ddcf48c7SDaniel Lezcano	help
167ddcf48c7SDaniel Lezcano	  Support for the LPC32XX clocksource.
168050dd322SJoachim Eastwood
16984583983SEzequiel Garciaconfig CLKSRC_PISTACHIO
170dfdb1652SDaniel Lezcano	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
171863ee050SRichard Weinberger	depends on HAS_IOMEM
17284583983SEzequiel Garcia	select CLKSRC_OF
173dfdb1652SDaniel Lezcano	help
174dfdb1652SDaniel Lezcano	  Enables the clocksource for the Pistachio SoC.
17584583983SEzequiel Garcia
176fe851f56SFelipe Balbiconfig CLKSRC_TI_32K
177fe851f56SFelipe Balbi	bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
178dfedaf10SFelipe Balbi	depends on GENERIC_SCHED_CLOCK
179fe851f56SFelipe Balbi	select CLKSRC_OF if OF
180fe851f56SFelipe Balbi	help
181fe851f56SFelipe Balbi	  This option enables support for Texas Instruments 32.768 Hz clocksource
182fe851f56SFelipe Balbi	  available on many OMAP-like platforms.
183fe851f56SFelipe Balbi
184a5322457SNoam Camusconfig CLKSRC_NPS
185a5322457SNoam Camus	bool "NPS400 clocksource driver" if COMPILE_TEST
186a5322457SNoam Camus	depends on !PHYS_ADDR_T_64BIT
187a5322457SNoam Camus	select CLKSRC_MMIO
188a5322457SNoam Camus	select CLKSRC_OF if OF
189a5322457SNoam Camus	help
190a5322457SNoam Camus	  NPS400 clocksource support.
191a5322457SNoam Camus	  Got 64 bit counter with update rate up to 1000MHz.
192a5322457SNoam Camus	  This counter is accessed via couple of 32 bit memory mapped registers.
193a5322457SNoam Camus
194e37e4593SMaxime Coquelinconfig CLKSRC_STM32
1951cb6c215SPaul Gortmaker	bool "Clocksource for STM32 SoCs" if !ARCH_STM32
1961cb6c215SPaul Gortmaker	depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
197e37e4593SMaxime Coquelin	select CLKSRC_MMIO
198e37e4593SMaxime Coquelin
1990302637fSVladimir Murzinconfig CLKSRC_MPS2
2000302637fSVladimir Murzin	bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
2010302637fSVladimir Murzin	depends on GENERIC_SCHED_CLOCK
2020302637fSVladimir Murzin	select CLKSRC_MMIO
2030302637fSVladimir Murzin	select CLKSRC_OF
2040302637fSVladimir Murzin
2058a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER
2068a4da6e3SMark Rutland	bool
2070583fe47SRob Herring	select CLKSRC_OF if OF
208ae281cbdSMarc Zyngier	select CLKSRC_ACPI if ACPI
209a2c5d4edSJames Hogan
210037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM
211037f6377SWill Deacon	bool "Support for ARM architected timer event stream generation"
212037f6377SWill Deacon	default y if ARM_ARCH_TIMER
21377f7ce9aSStephen Boyd	depends on ARM_ARCH_TIMER
214037f6377SWill Deacon	help
215037f6377SWill Deacon	  This option enables support for event stream generation based on
216037f6377SWill Deacon	  the ARM architected timer. It is used for waking up CPUs executing
217037f6377SWill Deacon	  the wfe instruction at a frequency represented as a power-of-2
218037f6377SWill Deacon	  divisor of the clock rate.
219037f6377SWill Deacon	  The main use of the event stream is wfe-based timeouts of userspace
220037f6377SWill Deacon	  locking implementations. It might also be useful for imposing timeout
221037f6377SWill Deacon	  on wfe to safeguard against any programming errors in case an expected
222037f6377SWill Deacon	  event is not generated.
223037f6377SWill Deacon	  This must be disabled for hardware validation purposes to detect any
224037f6377SWill Deacon	  hardware anomalies of missing events.
225037f6377SWill Deacon
226c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER
227c1b40e44SStuart Menefy	bool
228c1b40e44SStuart Menefy	select CLKSRC_OF if OF
229c1b40e44SStuart Menefy	help
230c1b40e44SStuart Menefy	  This options enables support for the ARM global timer unit
231c1b40e44SStuart Menefy
2320b7402dcSSudeep Hollaconfig ARM_TIMER_SP804
2330b7402dcSSudeep Holla	bool "Support for Dual Timer SP804 module"
234002af195SGuenter Roeck	depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
2350b7402dcSSudeep Holla	select CLKSRC_MMIO
2360b7402dcSSudeep Holla	select CLKSRC_OF if OF
2370b7402dcSSudeep Holla
238c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
239c1b40e44SStuart Menefy	bool
240c1b40e44SStuart Menefy	depends on ARM_GLOBAL_TIMER
241c1b40e44SStuart Menefy	default y
242c1b40e44SStuart Menefy	help
243c1b40e44SStuart Menefy	 Use ARM global timer clock source as sched_clock
244c1b40e44SStuart Menefy
2454958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK
2464958ebb3SMaxime Coquelin	bool
2474958ebb3SMaxime Coquelin	select CLKSRC_OF if OF
2484958ebb3SMaxime Coquelin	select CLKSRC_MMIO
2494958ebb3SMaxime Coquelin	help
2504958ebb3SMaxime Coquelin	  This options enables support for the ARMv7M system timer unit
2514958ebb3SMaxime Coquelin
252b052ff30SMaxime Ripardconfig ATMEL_PIT
253b052ff30SMaxime Ripard	select CLKSRC_OF if OF
254b052ff30SMaxime Ripard	def_bool SOC_AT91SAM9 || SOC_SAMA5
255b052ff30SMaxime Ripard
256b53cdd03SAlexandre Belloniconfig ATMEL_ST
257b53cdd03SAlexandre Belloni	bool
258b53cdd03SAlexandre Belloni	select CLKSRC_OF
2597ab7ef74SAlexandre Belloni	select MFD_SYSCON
260b53cdd03SAlexandre Belloni
261a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC
262a2c5d4edSJames Hogan	def_bool y if METAG
263a2c5d4edSJames Hogan	help
264a2c5d4edSJames Hogan	  This option enables support for the Meta per-thread timers.
2656938d75aSThomas Abraham
2666938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT
26739366ef4SDaniel Lezcano	bool "Exynos multi core timer driver" if COMPILE_TEST
26839366ef4SDaniel Lezcano	depends on ARM
2696938d75aSThomas Abraham	help
2706938d75aSThomas Abraham	  Support for Multi Core Timer controller on Exynos SoCs.
271241a9871SArnd Bergmann
272f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM
273de37b0b5SAlexandre Belloni	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
2740901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
275d7023e62SRichard Weinberger	depends on HAS_IOMEM
276f1189989STomasz Figa	help
277f1189989STomasz Figa	  This is a new clocksource driver for the PWM timer found in
278f1189989STomasz Figa	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
279f1189989STomasz Figa	  for all devicetree enabled platforms. This driver will be
280f1189989STomasz Figa	  needed only on systems that do not have the Exynos MCT available.
281c1967249SJingchang Lu
2822529c3a3SXiubo Liconfig FSL_FTM_TIMER
283ef49336bSDaniel Lezcano	bool "Freescale FlexTimer Module driver" if COMPILE_TEST
2840901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
285d7023e62SRichard Weinberger	depends on HAS_IOMEM
28603724ac3SDaniel Lezcano	select CLKSRC_MMIO
2872529c3a3SXiubo Li	help
2882529c3a3SXiubo Li	  Support for Freescale FlexTimer Module (FTM) timer.
2892529c3a3SXiubo Li
290c1967249SJingchang Luconfig VF_PIT_TIMER
291c1967249SJingchang Lu	bool
2922be6d9bfSArnd Bergmann	select CLKSRC_MMIO
293c1967249SJingchang Lu	help
294c1967249SJingchang Lu	  Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
295fd3f1270SMagnus Damm
296*89355274SNeil Armstrongconfig OXNAS_RPS_TIMER
297*89355274SNeil Armstrong	bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
298*89355274SNeil Armstrong	depends on GENERIC_CLOCKEVENTS
299*89355274SNeil Armstrong	select CLKSRC_OF
300*89355274SNeil Armstrong	select CLKSRC_MMIO
301*89355274SNeil Armstrong	help
302*89355274SNeil Armstrong	  This enables support for the Oxford Semiconductor OXNAS RPS timers.
303*89355274SNeil Armstrong
304fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT
305fd3f1270SMagnus Damm        bool
306fd3f1270SMagnus Damm
307ecb3530dSMatthias Bruggerconfig MTK_TIMER
308fbca9eabSDaniel Lezcano	bool "Mediatek timer driver" if COMPILE_TEST
309863ee050SRichard Weinberger	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
310ecb3530dSMatthias Brugger	select CLKSRC_OF
311ecb3530dSMatthias Brugger	select CLKSRC_MMIO
312fbca9eabSDaniel Lezcano	help
313fbca9eabSDaniel Lezcano	  Support for Mediatek timer driver.
314ecb3530dSMatthias Brugger
315fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2
316fd3f1270SMagnus Damm        bool
317fd3f1270SMagnus Damm
318fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU
319fd3f1270SMagnus Damm        bool
320fd3f1270SMagnus Damm
321fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI
322fd3f1270SMagnus Damm        bool
323fd3f1270SMagnus Damm
324fd3f1270SMagnus Dammconfig SH_TIMER_CMT
325fd3f1270SMagnus Damm	bool "Renesas CMT timer driver" if COMPILE_TEST
32687291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
32711bc26feSRichard Weinberger	depends on HAS_IOMEM
328fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_CMT
329fd3f1270SMagnus Damm	help
330fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
331fd3f1270SMagnus Damm	  the Compare Match Timer (CMT) hardware available in 16/32/48-bit
332fd3f1270SMagnus Damm	  variants on a wide range of Mobile and Automotive SoCs from Renesas.
333fd3f1270SMagnus Damm
334fd3f1270SMagnus Dammconfig SH_TIMER_MTU2
335fd3f1270SMagnus Damm	bool "Renesas MTU2 timer driver" if COMPILE_TEST
33687291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
33711bc26feSRichard Weinberger	depends on HAS_IOMEM
338fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_MTU2
339fd3f1270SMagnus Damm	help
340fd3f1270SMagnus Damm	  This enables build of a clockevent driver for the Multi-Function
3417e139187SKuninori Morimoto	  Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
342fd3f1270SMagnus Damm	  This hardware comes with 16 bit-timer registers.
343fd3f1270SMagnus Damm
344fd3f1270SMagnus Dammconfig SH_TIMER_TMU
345fd3f1270SMagnus Damm	bool "Renesas TMU timer driver" if COMPILE_TEST
34687291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
34711bc26feSRichard Weinberger	depends on HAS_IOMEM
348fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_TMU
349fd3f1270SMagnus Damm	help
350fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
351fd3f1270SMagnus Damm	  the 32-bit Timer Unit (TMU) hardware available on a wide range
352fd3f1270SMagnus Damm	  SoCs from Renesas.
353fd3f1270SMagnus Damm
354fd3f1270SMagnus Dammconfig EM_TIMER_STI
355fd3f1270SMagnus Damm	bool "Renesas STI timer driver" if COMPILE_TEST
35640c96312SChen Gang	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
357fd3f1270SMagnus Damm	default SYS_SUPPORTS_EM_STI
358fd3f1270SMagnus Damm	help
359fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
360fd3f1270SMagnus Damm	  the 48-bit System Timer (STI) hardware available on a SoCs
361fd3f1270SMagnus Damm	  such as EMEV2 from former NEC Electronics.
362dfc25e45SLinus Torvalds
3633f8e8ceeSKumar Galaconfig CLKSRC_QCOM
3643dc0e9f6SDaniel Lezcano	bool "Qualcomm MSM timer" if COMPILE_TEST
3653dc0e9f6SDaniel Lezcano	depends on ARM
3663dc0e9f6SDaniel Lezcano	select CLKSRC_OF
3673dc0e9f6SDaniel Lezcano	help
3683dc0e9f6SDaniel Lezcano	  This enables the clocksource and the per CPU clockevent driver for the
3693dc0e9f6SDaniel Lezcano	  Qualcomm SoCs.
370220e2a8dSPawel Moll
371220e2a8dSPawel Mollconfig CLKSRC_VERSATILE
372220e2a8dSPawel Moll	bool "ARM Versatile (Express) reference platforms clock source"
373ff37015bSDeng-Cheng Zhu	depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
374220e2a8dSPawel Moll	select CLKSRC_OF
375220e2a8dSPawel Moll	default y if MFD_VEXPRESS_SYSREG
376220e2a8dSPawel Moll	help
377220e2a8dSPawel Moll	  This option enables clock source based on free running
378220e2a8dSPawel Moll	  counter available in the "System Registers" block of
379220e2a8dSPawel Moll	  ARM Versatile, RealView and Versatile Express reference
380220e2a8dSPawel Moll	  platforms.
38158394271SJean Delvare
382fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC
383fa5635a2SAndrew Bresticker	bool
384fa5635a2SAndrew Bresticker	depends on MIPS_GIC
385e12aa828SAndrew Bresticker	select CLKSRC_OF
386fa5635a2SAndrew Bresticker
387ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL
3885a7351f0SDaniel Lezcano	bool "Clocksource for Tango SoC" if COMPILE_TEST
3895a7351f0SDaniel Lezcano	depends on ARM
390ccd63ce4SMarc Gonzalez	select CLKSRC_OF
3910881841fSDaniel Lezcano	select CLKSRC_MMIO
3925a7351f0SDaniel Lezcano	help
3935a7351f0SDaniel Lezcano	  This enables the clocksource for Tango SoC
394ccd63ce4SMarc Gonzalez
395e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA
3965ae996cbSDaniel Lezcano	bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
3975ae996cbSDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
398d7023e62SRichard Weinberger	depends on HAS_IOMEM
3995ae996cbSDaniel Lezcano	select CLKSRC_MMIO
400e074ff86SDmitry Eremin-Solenikov	help
401e074ff86SDmitry Eremin-Solenikov	  This enables OST0 support available on PXA and SA-11x0
402e074ff86SDmitry Eremin-Solenikov	  platforms.
403618b902dSYoshinori Sato
40497a23bebSDaniel Lezcanoconfig H8300_TMR8
40546e7c3c6SDaniel Lezcano        bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
406863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
40746e7c3c6SDaniel Lezcano	help
40846e7c3c6SDaniel Lezcano	  This enables the 8 bits timer for the H8300 platform.
40997a23bebSDaniel Lezcano
410618b902dSYoshinori Satoconfig H8300_TMR16
41146e7c3c6SDaniel Lezcano        bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
412863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
41346e7c3c6SDaniel Lezcano	help
41446e7c3c6SDaniel Lezcano	  This enables the 16 bits timer for the H8300 platform with the
41546e7c3c6SDaniel Lezcano	  H83069 cpu.
416618b902dSYoshinori Sato
417618b902dSYoshinori Satoconfig H8300_TPU
41846e7c3c6SDaniel Lezcano        bool "Clocksource for the H8300 platform" if COMPILE_TEST
419863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
42046e7c3c6SDaniel Lezcano	help
42146e7c3c6SDaniel Lezcano	  This enables the clocksource for the H8300 platform with the
42246e7c3c6SDaniel Lezcano	  H8S2678 cpu.
423618b902dSYoshinori Sato
424bea5af41SShawn Guoconfig CLKSRC_IMX_GPT
425bea5af41SShawn Guo	bool "Clocksource using i.MX GPT" if COMPILE_TEST
426bea5af41SShawn Guo	depends on ARM && CLKDEV_LOOKUP
427bea5af41SShawn Guo	select CLKSRC_MMIO
428bea5af41SShawn Guo
42970bef01cSLee Jonesconfig CLKSRC_ST_LPC
430baacaf83SDaniel Lezcano	bool "Low power clocksource found in the LPC" if COMPILE_TEST
43170bef01cSLee Jones	select CLKSRC_OF if OF
432863ee050SRichard Weinberger	depends on HAS_IOMEM
4332be6d9bfSArnd Bergmann	select CLKSRC_MMIO
43470bef01cSLee Jones	help
43570bef01cSLee Jones	  Enable this option to use the Low Power controller timer
43670bef01cSLee Jones	  as clocksource.
43770bef01cSLee Jones
43858394271SJean Delvareendmenu
439