xref: /linux/drivers/clocksource/Kconfig (revision e2146d8650764638784205cf51378f01bbd098b6)
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
302ea879a7SDaniel Lezcanoconfig BCM2835_TIMER
312ea879a7SDaniel Lezcano	bool "BCM2835 timer driver" if COMPILE_TEST
322ea879a7SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
332ea879a7SDaniel Lezcano	select CLKSRC_MMIO
342ea879a7SDaniel Lezcano	help
352ea879a7SDaniel Lezcano	  Enables the support for the BCM2835 timer driver.
362ea879a7SDaniel Lezcano
379b8bb773SBaruch Siachconfig DIGICOLOR_TIMER
38e6c1db13SDaniel Lezcano	bool "Digicolor timer driver" if COMPILE_TEST
390901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
402be6d9bfSArnd Bergmann	select CLKSRC_MMIO
41d7023e62SRichard Weinberger	depends on HAS_IOMEM
42e6c1db13SDaniel Lezcano	help
43e6c1db13SDaniel Lezcano	  Enables the support for the digicolor timer driver.
449b8bb773SBaruch Siach
4506c3df49SJamie Ilesconfig DW_APB_TIMER
465b097f6bSDaniel Lezcano	bool "DW APB timer driver" if COMPILE_TEST
470901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
485b097f6bSDaniel Lezcano	help
495b097f6bSDaniel Lezcano	  Enables the support for the dw_apb timer.
50489bcceaSMattias Wallin
51cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF
52cfda5901SDinh Nguyen	bool
531b4eca0fSHeiko Stuebner	select DW_APB_TIMER
5410021488SHeiko Stuebner	select CLKSRC_OF
55cfda5901SDinh Nguyen
56468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER
5740ada2aaSDaniel Lezcano	bool "Rockchip timer driver" if COMPILE_TEST
5840ada2aaSDaniel Lezcano	depends on ARM || ARM64
59468b8c4cSDaniel Lezcano	select CLKSRC_OF
6040ada2aaSDaniel Lezcano	help
6140ada2aaSDaniel Lezcano	  Enables the support for the rockchip timer driver.
62468b8c4cSDaniel Lezcano
636fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
649519e80cSDaniel Lezcano	bool "Armada 370 and XP timer driver" if COMPILE_TEST
659519e80cSDaniel Lezcano	depends on ARM
667b0dd72aSJean Pihet	select CLKSRC_OF
672be6d9bfSArnd Bergmann	select CLKSRC_MMIO
689519e80cSDaniel Lezcano	help
699519e80cSDaniel Lezcano	  Enables the support for the Armada 370 and XP timer driver.
706fe9cbd1SGregory CLEMENT
71e4a6b378SCarlo Caioneconfig MESON6_TIMER
720b7a7bb7SDaniel Lezcano	bool "Meson6 timer driver" if COMPILE_TEST
730901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
747b6b0a45SBeniamino Galvani	select CLKSRC_MMIO
750b7a7bb7SDaniel Lezcano	help
760b7a7bb7SDaniel Lezcano	  Enables the support for the Meson6 timer driver.
77e4a6b378SCarlo Caione
780c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER
79c9165549SDaniel Lezcano	bool "Orion timer driver" if COMPILE_TEST
80c9165549SDaniel Lezcano	depends on ARM
810c1dcfd5SSebastian Hesselbarth	select CLKSRC_OF
820c1dcfd5SSebastian Hesselbarth	select CLKSRC_MMIO
83c9165549SDaniel Lezcano	help
84c9165549SDaniel Lezcano	  Enables the support for the Orion timer driver
850c1dcfd5SSebastian Hesselbarth
86119fd635SMaxime Ripardconfig SUN4I_TIMER
87b4fcd48bSDaniel Lezcano	bool "Sun4i timer driver" if COMPILE_TEST
880901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
89d7023e62SRichard Weinberger	depends on HAS_IOMEM
9071c568c0SMaxime Ripard	select CLKSRC_MMIO
91b4fcd48bSDaniel Lezcano	help
92b4fcd48bSDaniel Lezcano	  Enables support for the Sun4i timer.
93b2ac5d75SMaxime Ripard
9467905540SMaxime Ripardconfig SUN5I_HSTIMER
95f0c5afb7SDaniel Lezcano	bool "Sun5i timer driver" if COMPILE_TEST
9667905540SMaxime Ripard	select CLKSRC_MMIO
97f0c5afb7SDaniel Lezcano	depends on COMMON_CLK
98f0c5afb7SDaniel Lezcano	help
99f0c5afb7SDaniel Lezcano	  Enables support the Sun5i timer.
10067905540SMaxime Ripard
101910978e7SThierry Redingconfig TEGRA_TIMER
102adce4bc8SDaniel Lezcano	bool "Tegra timer driver" if COMPILE_TEST
1032be6d9bfSArnd Bergmann	select CLKSRC_MMIO
104adce4bc8SDaniel Lezcano	depends on ARM
105adce4bc8SDaniel Lezcano	help
106adce4bc8SDaniel Lezcano	  Enables support for the Tegra driver.
107910978e7SThierry Reding
108ff7ec345STony Priskconfig VT8500_TIMER
109b4bdf7efSDaniel Lezcano	bool "VT8500 timer driver" if COMPILE_TEST
1100901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
111d7023e62SRichard Weinberger	depends on HAS_IOMEM
112b4bdf7efSDaniel Lezcano	help
113b4bdf7efSDaniel Lezcano	  Enables support for the VT8500 driver.
114ff7ec345STony Prisk
1154f0f234fSMichal Simekconfig CADENCE_TTC_TIMER
11657f49318SDaniel Lezcano	bool "Cadence TTC timer driver" if COMPILE_TEST
11757f49318SDaniel Lezcano	depends on COMMON_CLK
11857f49318SDaniel Lezcano	help
11957f49318SDaniel Lezcano	  Enables support for the cadence ttc driver.
1204f0f234fSMichal Simek
121a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER
122b9755841SDaniel Lezcano	bool "ASM9260 timer driver" if COMPILE_TEST
1230901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
124a8b1b9fcSDaniel Lezcano	select CLKSRC_MMIO
125a8b1b9fcSDaniel Lezcano	select CLKSRC_OF
126b9755841SDaniel Lezcano	help
127b9755841SDaniel Lezcano	  Enables support for the ASM9260 timer.
128a8b1b9fcSDaniel Lezcano
129694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
13070329653SDaniel Lezcano	bool "Nomakdik clocksource driver" if COMPILE_TEST
13170329653SDaniel Lezcano	depends on ARM
132694e33a7SLinus Walleij	select CLKSRC_MMIO
133694e33a7SLinus Walleij	help
134694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
135694e33a7SLinus Walleij	  to multiple interrupt generating programmable
136694e33a7SLinus Walleij	  32-bit free running decrementing counters.
137694e33a7SLinus Walleij
138694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK
139694e33a7SLinus Walleij	bool
140694e33a7SLinus Walleij	depends on CLKSRC_NOMADIK_MTU
141694e33a7SLinus Walleij	help
142694e33a7SLinus Walleij	  Use the Multi Timer Unit as the sched_clock.
143694e33a7SLinus Walleij
144489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
1451becd6edSDaniel Lezcano	bool "Clocksource PRCMU Timer" if COMPILE_TEST
1460901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
147d7023e62SRichard Weinberger	depends on HAS_IOMEM
148489bcceaSMattias Wallin	help
149489bcceaSMattias Wallin	  Use the always on PRCMU Timer as clocksource
150489bcceaSMattias Wallin
151489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK
152489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer sched_clock"
153694e33a7SLinus Walleij	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
154489bcceaSMattias Wallin	default y
155489bcceaSMattias Wallin	help
156489bcceaSMattias Wallin	  Use the always on PRCMU Timer as sched_clock
157985c0679SMarc Zyngier
1589c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32
1599c9b7818SUwe Kleine-König	bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
1609c9b7818SUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
16109ca2757SAxel Lin	select CLKSRC_MMIO
1629c9b7818SUwe Kleine-König	default ARCH_EFM32
1639c9b7818SUwe Kleine-König	help
1649c9b7818SUwe Kleine-König	  Support to use the timers of EFM32 SoCs as clock source and clock
1659c9b7818SUwe Kleine-König	  event device.
1669c9b7818SUwe Kleine-König
167050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX
168ddcf48c7SDaniel Lezcano	bool "Clocksource for LPC32XX" if COMPILE_TEST
169863ee050SRichard Weinberger	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
1701b18fd20SEzequiel Garcia	depends on ARM
171050dd322SJoachim Eastwood	select CLKSRC_MMIO
172050dd322SJoachim Eastwood	select CLKSRC_OF
173ddcf48c7SDaniel Lezcano	help
174ddcf48c7SDaniel Lezcano	  Support for the LPC32XX clocksource.
175050dd322SJoachim Eastwood
17684583983SEzequiel Garciaconfig CLKSRC_PISTACHIO
177dfdb1652SDaniel Lezcano	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
178863ee050SRichard Weinberger	depends on HAS_IOMEM
17984583983SEzequiel Garcia	select CLKSRC_OF
180dfdb1652SDaniel Lezcano	help
181dfdb1652SDaniel Lezcano	  Enables the clocksource for the Pistachio SoC.
18284583983SEzequiel Garcia
183fe851f56SFelipe Balbiconfig CLKSRC_TI_32K
184fe851f56SFelipe Balbi	bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
185dfedaf10SFelipe Balbi	depends on GENERIC_SCHED_CLOCK
186fe851f56SFelipe Balbi	select CLKSRC_OF if OF
187fe851f56SFelipe Balbi	help
188fe851f56SFelipe Balbi	  This option enables support for Texas Instruments 32.768 Hz clocksource
189fe851f56SFelipe Balbi	  available on many OMAP-like platforms.
190fe851f56SFelipe Balbi
191a5322457SNoam Camusconfig CLKSRC_NPS
192a5322457SNoam Camus	bool "NPS400 clocksource driver" if COMPILE_TEST
193a5322457SNoam Camus	depends on !PHYS_ADDR_T_64BIT
194a5322457SNoam Camus	select CLKSRC_MMIO
195a5322457SNoam Camus	select CLKSRC_OF if OF
196a5322457SNoam Camus	help
197a5322457SNoam Camus	  NPS400 clocksource support.
198a5322457SNoam Camus	  Got 64 bit counter with update rate up to 1000MHz.
199a5322457SNoam Camus	  This counter is accessed via couple of 32 bit memory mapped registers.
200a5322457SNoam Camus
201e37e4593SMaxime Coquelinconfig CLKSRC_STM32
2021cb6c215SPaul Gortmaker	bool "Clocksource for STM32 SoCs" if !ARCH_STM32
2031cb6c215SPaul Gortmaker	depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
204e37e4593SMaxime Coquelin	select CLKSRC_MMIO
205e37e4593SMaxime Coquelin
2060302637fSVladimir Murzinconfig CLKSRC_MPS2
2070302637fSVladimir Murzin	bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
2080302637fSVladimir Murzin	depends on GENERIC_SCHED_CLOCK
2090302637fSVladimir Murzin	select CLKSRC_MMIO
2100302637fSVladimir Murzin	select CLKSRC_OF
2110302637fSVladimir Murzin
2128a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER
2138a4da6e3SMark Rutland	bool
2140583fe47SRob Herring	select CLKSRC_OF if OF
215ae281cbdSMarc Zyngier	select CLKSRC_ACPI if ACPI
216a2c5d4edSJames Hogan
217037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM
218037f6377SWill Deacon	bool "Support for ARM architected timer event stream generation"
219037f6377SWill Deacon	default y if ARM_ARCH_TIMER
22077f7ce9aSStephen Boyd	depends on ARM_ARCH_TIMER
221037f6377SWill Deacon	help
222037f6377SWill Deacon	  This option enables support for event stream generation based on
223037f6377SWill Deacon	  the ARM architected timer. It is used for waking up CPUs executing
224037f6377SWill Deacon	  the wfe instruction at a frequency represented as a power-of-2
225037f6377SWill Deacon	  divisor of the clock rate.
226037f6377SWill Deacon	  The main use of the event stream is wfe-based timeouts of userspace
227037f6377SWill Deacon	  locking implementations. It might also be useful for imposing timeout
228037f6377SWill Deacon	  on wfe to safeguard against any programming errors in case an expected
229037f6377SWill Deacon	  event is not generated.
230037f6377SWill Deacon	  This must be disabled for hardware validation purposes to detect any
231037f6377SWill Deacon	  hardware anomalies of missing events.
232037f6377SWill Deacon
233c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER
234c1b40e44SStuart Menefy	bool
235c1b40e44SStuart Menefy	select CLKSRC_OF if OF
236c1b40e44SStuart Menefy	help
237c1b40e44SStuart Menefy	  This options enables support for the ARM global timer unit
238c1b40e44SStuart Menefy
2390b7402dcSSudeep Hollaconfig ARM_TIMER_SP804
2400b7402dcSSudeep Holla	bool "Support for Dual Timer SP804 module"
241002af195SGuenter Roeck	depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
2420b7402dcSSudeep Holla	select CLKSRC_MMIO
2430b7402dcSSudeep Holla	select CLKSRC_OF if OF
2440b7402dcSSudeep Holla
245c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
246c1b40e44SStuart Menefy	bool
247c1b40e44SStuart Menefy	depends on ARM_GLOBAL_TIMER
248c1b40e44SStuart Menefy	default y
249c1b40e44SStuart Menefy	help
250c1b40e44SStuart Menefy	 Use ARM global timer clock source as sched_clock
251c1b40e44SStuart Menefy
2524958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK
253*e2146d86SDaniel Lezcano	bool "Support for the ARMv7M system time" if COMPILE_TEST
2544958ebb3SMaxime Coquelin	select CLKSRC_OF if OF
2554958ebb3SMaxime Coquelin	select CLKSRC_MMIO
2564958ebb3SMaxime Coquelin	help
2574958ebb3SMaxime Coquelin	  This options enables support for the ARMv7M system timer unit
2584958ebb3SMaxime Coquelin
259b052ff30SMaxime Ripardconfig ATMEL_PIT
260b052ff30SMaxime Ripard	select CLKSRC_OF if OF
261b052ff30SMaxime Ripard	def_bool SOC_AT91SAM9 || SOC_SAMA5
262b052ff30SMaxime Ripard
263b53cdd03SAlexandre Belloniconfig ATMEL_ST
264b53cdd03SAlexandre Belloni	bool
265b53cdd03SAlexandre Belloni	select CLKSRC_OF
2667ab7ef74SAlexandre Belloni	select MFD_SYSCON
267b53cdd03SAlexandre Belloni
268a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC
269a2c5d4edSJames Hogan	def_bool y if METAG
270a2c5d4edSJames Hogan	help
271a2c5d4edSJames Hogan	  This option enables support for the Meta per-thread timers.
2726938d75aSThomas Abraham
2736938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT
27439366ef4SDaniel Lezcano	bool "Exynos multi core timer driver" if COMPILE_TEST
27539366ef4SDaniel Lezcano	depends on ARM
2766938d75aSThomas Abraham	help
2776938d75aSThomas Abraham	  Support for Multi Core Timer controller on Exynos SoCs.
278241a9871SArnd Bergmann
279f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM
280de37b0b5SAlexandre Belloni	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
2810901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
282d7023e62SRichard Weinberger	depends on HAS_IOMEM
283f1189989STomasz Figa	help
284f1189989STomasz Figa	  This is a new clocksource driver for the PWM timer found in
285f1189989STomasz Figa	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
286f1189989STomasz Figa	  for all devicetree enabled platforms. This driver will be
287f1189989STomasz Figa	  needed only on systems that do not have the Exynos MCT available.
288c1967249SJingchang Lu
2892529c3a3SXiubo Liconfig FSL_FTM_TIMER
290ef49336bSDaniel Lezcano	bool "Freescale FlexTimer Module driver" if COMPILE_TEST
2910901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
292d7023e62SRichard Weinberger	depends on HAS_IOMEM
29303724ac3SDaniel Lezcano	select CLKSRC_MMIO
2942529c3a3SXiubo Li	help
2952529c3a3SXiubo Li	  Support for Freescale FlexTimer Module (FTM) timer.
2962529c3a3SXiubo Li
297c1967249SJingchang Luconfig VF_PIT_TIMER
298c1967249SJingchang Lu	bool
2992be6d9bfSArnd Bergmann	select CLKSRC_MMIO
300c1967249SJingchang Lu	help
301c1967249SJingchang Lu	  Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
302fd3f1270SMagnus Damm
30389355274SNeil Armstrongconfig OXNAS_RPS_TIMER
30489355274SNeil Armstrong	bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
30589355274SNeil Armstrong	depends on GENERIC_CLOCKEVENTS
30689355274SNeil Armstrong	select CLKSRC_OF
30789355274SNeil Armstrong	select CLKSRC_MMIO
30889355274SNeil Armstrong	help
30989355274SNeil Armstrong	  This enables support for the Oxford Semiconductor OXNAS RPS timers.
31089355274SNeil Armstrong
311fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT
312fd3f1270SMagnus Damm        bool
313fd3f1270SMagnus Damm
314ecb3530dSMatthias Bruggerconfig MTK_TIMER
315fbca9eabSDaniel Lezcano	bool "Mediatek timer driver" if COMPILE_TEST
316863ee050SRichard Weinberger	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
317ecb3530dSMatthias Brugger	select CLKSRC_OF
318ecb3530dSMatthias Brugger	select CLKSRC_MMIO
319fbca9eabSDaniel Lezcano	help
320fbca9eabSDaniel Lezcano	  Support for Mediatek timer driver.
321ecb3530dSMatthias Brugger
322fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2
323fd3f1270SMagnus Damm        bool
324fd3f1270SMagnus Damm
325fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU
326fd3f1270SMagnus Damm        bool
327fd3f1270SMagnus Damm
328fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI
329fd3f1270SMagnus Damm        bool
330fd3f1270SMagnus Damm
331fd3f1270SMagnus Dammconfig SH_TIMER_CMT
332fd3f1270SMagnus Damm	bool "Renesas CMT timer driver" if COMPILE_TEST
33387291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
33411bc26feSRichard Weinberger	depends on HAS_IOMEM
335fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_CMT
336fd3f1270SMagnus Damm	help
337fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
338fd3f1270SMagnus Damm	  the Compare Match Timer (CMT) hardware available in 16/32/48-bit
339fd3f1270SMagnus Damm	  variants on a wide range of Mobile and Automotive SoCs from Renesas.
340fd3f1270SMagnus Damm
341fd3f1270SMagnus Dammconfig SH_TIMER_MTU2
342fd3f1270SMagnus Damm	bool "Renesas MTU2 timer driver" if COMPILE_TEST
34387291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
34411bc26feSRichard Weinberger	depends on HAS_IOMEM
345fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_MTU2
346fd3f1270SMagnus Damm	help
347fd3f1270SMagnus Damm	  This enables build of a clockevent driver for the Multi-Function
3487e139187SKuninori Morimoto	  Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
349fd3f1270SMagnus Damm	  This hardware comes with 16 bit-timer registers.
350fd3f1270SMagnus Damm
351fd3f1270SMagnus Dammconfig SH_TIMER_TMU
352fd3f1270SMagnus Damm	bool "Renesas TMU timer driver" if COMPILE_TEST
35387291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
35411bc26feSRichard Weinberger	depends on HAS_IOMEM
355fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_TMU
356fd3f1270SMagnus Damm	help
357fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
358fd3f1270SMagnus Damm	  the 32-bit Timer Unit (TMU) hardware available on a wide range
359fd3f1270SMagnus Damm	  SoCs from Renesas.
360fd3f1270SMagnus Damm
361fd3f1270SMagnus Dammconfig EM_TIMER_STI
362fd3f1270SMagnus Damm	bool "Renesas STI timer driver" if COMPILE_TEST
36340c96312SChen Gang	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
364fd3f1270SMagnus Damm	default SYS_SUPPORTS_EM_STI
365fd3f1270SMagnus Damm	help
366fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
367fd3f1270SMagnus Damm	  the 48-bit System Timer (STI) hardware available on a SoCs
368fd3f1270SMagnus Damm	  such as EMEV2 from former NEC Electronics.
369dfc25e45SLinus Torvalds
3703f8e8ceeSKumar Galaconfig CLKSRC_QCOM
3713dc0e9f6SDaniel Lezcano	bool "Qualcomm MSM timer" if COMPILE_TEST
3723dc0e9f6SDaniel Lezcano	depends on ARM
3733dc0e9f6SDaniel Lezcano	select CLKSRC_OF
3743dc0e9f6SDaniel Lezcano	help
3753dc0e9f6SDaniel Lezcano	  This enables the clocksource and the per CPU clockevent driver for the
3763dc0e9f6SDaniel Lezcano	  Qualcomm SoCs.
377220e2a8dSPawel Moll
378220e2a8dSPawel Mollconfig CLKSRC_VERSATILE
379220e2a8dSPawel Moll	bool "ARM Versatile (Express) reference platforms clock source"
380ff37015bSDeng-Cheng Zhu	depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
381220e2a8dSPawel Moll	select CLKSRC_OF
382220e2a8dSPawel Moll	default y if MFD_VEXPRESS_SYSREG
383220e2a8dSPawel Moll	help
384220e2a8dSPawel Moll	  This option enables clock source based on free running
385220e2a8dSPawel Moll	  counter available in the "System Registers" block of
386220e2a8dSPawel Moll	  ARM Versatile, RealView and Versatile Express reference
387220e2a8dSPawel Moll	  platforms.
38858394271SJean Delvare
389fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC
390fa5635a2SAndrew Bresticker	bool
391fa5635a2SAndrew Bresticker	depends on MIPS_GIC
392e12aa828SAndrew Bresticker	select CLKSRC_OF
393fa5635a2SAndrew Bresticker
394ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL
3955a7351f0SDaniel Lezcano	bool "Clocksource for Tango SoC" if COMPILE_TEST
3965a7351f0SDaniel Lezcano	depends on ARM
397ccd63ce4SMarc Gonzalez	select CLKSRC_OF
3980881841fSDaniel Lezcano	select CLKSRC_MMIO
3995a7351f0SDaniel Lezcano	help
4005a7351f0SDaniel Lezcano	  This enables the clocksource for Tango SoC
401ccd63ce4SMarc Gonzalez
402e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA
4035ae996cbSDaniel Lezcano	bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
4045ae996cbSDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
405d7023e62SRichard Weinberger	depends on HAS_IOMEM
4065ae996cbSDaniel Lezcano	select CLKSRC_MMIO
407e074ff86SDmitry Eremin-Solenikov	help
408e074ff86SDmitry Eremin-Solenikov	  This enables OST0 support available on PXA and SA-11x0
409e074ff86SDmitry Eremin-Solenikov	  platforms.
410618b902dSYoshinori Sato
41197a23bebSDaniel Lezcanoconfig H8300_TMR8
41246e7c3c6SDaniel Lezcano        bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
413863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
41446e7c3c6SDaniel Lezcano	help
41546e7c3c6SDaniel Lezcano	  This enables the 8 bits timer for the H8300 platform.
41697a23bebSDaniel Lezcano
417618b902dSYoshinori Satoconfig H8300_TMR16
41846e7c3c6SDaniel Lezcano        bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
419863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
42046e7c3c6SDaniel Lezcano	help
42146e7c3c6SDaniel Lezcano	  This enables the 16 bits timer for the H8300 platform with the
42246e7c3c6SDaniel Lezcano	  H83069 cpu.
423618b902dSYoshinori Sato
424618b902dSYoshinori Satoconfig H8300_TPU
42546e7c3c6SDaniel Lezcano        bool "Clocksource for the H8300 platform" if COMPILE_TEST
426863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
42746e7c3c6SDaniel Lezcano	help
42846e7c3c6SDaniel Lezcano	  This enables the clocksource for the H8300 platform with the
42946e7c3c6SDaniel Lezcano	  H8S2678 cpu.
430618b902dSYoshinori Sato
431bea5af41SShawn Guoconfig CLKSRC_IMX_GPT
432bea5af41SShawn Guo	bool "Clocksource using i.MX GPT" if COMPILE_TEST
433bea5af41SShawn Guo	depends on ARM && CLKDEV_LOOKUP
434bea5af41SShawn Guo	select CLKSRC_MMIO
435bea5af41SShawn Guo
43670bef01cSLee Jonesconfig CLKSRC_ST_LPC
437baacaf83SDaniel Lezcano	bool "Low power clocksource found in the LPC" if COMPILE_TEST
43870bef01cSLee Jones	select CLKSRC_OF if OF
439863ee050SRichard Weinberger	depends on HAS_IOMEM
4402be6d9bfSArnd Bergmann	select CLKSRC_MMIO
44170bef01cSLee Jones	help
44270bef01cSLee Jones	  Enable this option to use the Low Power controller timer
44370bef01cSLee Jones	  as clocksource.
44470bef01cSLee Jones
44558394271SJean Delvareendmenu
446