xref: /openbmc/linux/drivers/clocksource/Kconfig (revision 48b41c5e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
258394271SJean Delvaremenu "Clock Source drivers"
32f8a26c1SArnd Bergmann	depends on GENERIC_CLOCKEVENTS
458394271SJean Delvare
5bb0eb050SDaniel Lezcanoconfig TIMER_OF
6ae278a93SStephen Warren	bool
7bb0eb050SDaniel Lezcano	select TIMER_PROBE
8aad83b15SMarc Zyngier
9fa1bffabSDaniel Lezcanoconfig TIMER_ACPI
10aad83b15SMarc Zyngier	bool
11bb0eb050SDaniel Lezcano	select TIMER_PROBE
12aad83b15SMarc Zyngier
13bb0eb050SDaniel Lezcanoconfig TIMER_PROBE
14aad83b15SMarc Zyngier	bool
15ae278a93SStephen Warren
1689c0b8e2SRussell Kingconfig CLKSRC_I8253
1789c0b8e2SRussell King	bool
18442c8176SRussell King
19e6220bdcSThomas Gleixnerconfig CLKEVT_I8253
20e6220bdcSThomas Gleixner	bool
21e6220bdcSThomas Gleixner
2215f304b6SRalf Baechleconfig I8253_LOCK
2315f304b6SRalf Baechle	bool
2415f304b6SRalf Baechle
25af04aa85SKeerthyconfig OMAP_DM_TIMER
26af04aa85SKeerthy	bool
27af04aa85SKeerthy
2815f304b6SRalf Baechleconfig CLKBLD_I8253
29e6220bdcSThomas Gleixner	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
3015f304b6SRalf Baechle
31442c8176SRussell Kingconfig CLKSRC_MMIO
32442c8176SRussell King	bool
3306c3df49SJamie Iles
342ea879a7SDaniel Lezcanoconfig BCM2835_TIMER
352ea879a7SDaniel Lezcano	bool "BCM2835 timer driver" if COMPILE_TEST
362ea879a7SDaniel Lezcano	select CLKSRC_MMIO
372ea879a7SDaniel Lezcano	help
382ea879a7SDaniel Lezcano	  Enables the support for the BCM2835 timer driver.
392ea879a7SDaniel Lezcano
401cad71e3SDaniel Lezcanoconfig BCM_KONA_TIMER
411cad71e3SDaniel Lezcano	bool "BCM mobile timer driver" if COMPILE_TEST
421cad71e3SDaniel Lezcano	select CLKSRC_MMIO
431cad71e3SDaniel Lezcano	help
441cad71e3SDaniel Lezcano	  Enables the support for the BCM Kona mobile timer driver.
451cad71e3SDaniel Lezcano
46721154f9SBartosz Golaszewskiconfig DAVINCI_TIMER
47721154f9SBartosz Golaszewski	bool "Texas Instruments DaVinci timer driver" if COMPILE_TEST
48721154f9SBartosz Golaszewski	help
49721154f9SBartosz Golaszewski	  Enables the support for the TI DaVinci timer driver.
50721154f9SBartosz Golaszewski
519b8bb773SBaruch Siachconfig DIGICOLOR_TIMER
52e6c1db13SDaniel Lezcano	bool "Digicolor timer driver" if COMPILE_TEST
532be6d9bfSArnd Bergmann	select CLKSRC_MMIO
54d7023e62SRichard Weinberger	depends on HAS_IOMEM
55e6c1db13SDaniel Lezcano	help
56e6c1db13SDaniel Lezcano	  Enables the support for the digicolor timer driver.
579b8bb773SBaruch Siach
5806c3df49SJamie Ilesconfig DW_APB_TIMER
595b097f6bSDaniel Lezcano	bool "DW APB timer driver" if COMPILE_TEST
605b097f6bSDaniel Lezcano	help
615b097f6bSDaniel Lezcano	  Enables the support for the dw_apb timer.
62489bcceaSMattias Wallin
63cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF
64cfda5901SDinh Nguyen	bool
651b4eca0fSHeiko Stuebner	select DW_APB_TIMER
66bb0eb050SDaniel Lezcano	select TIMER_OF
67cfda5901SDinh Nguyen
68f5bf0ee4SLinus Walleijconfig FTTMR010_TIMER
69f5bf0ee4SLinus Walleij	bool "Faraday Technology timer driver" if COMPILE_TEST
704750535bSLinus Walleij	depends on HAS_IOMEM
714750535bSLinus Walleij	select CLKSRC_MMIO
72bb0eb050SDaniel Lezcano	select TIMER_OF
734750535bSLinus Walleij	select MFD_SYSCON
744750535bSLinus Walleij	help
75f5bf0ee4SLinus Walleij	  Enables support for the Faraday Technology timer block
76f5bf0ee4SLinus Walleij	  FTTMR010.
774750535bSLinus Walleij
7813e0b405SLinus Walleijconfig IXP4XX_TIMER
7913e0b405SLinus Walleij	bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST
8013e0b405SLinus Walleij	depends on HAS_IOMEM
8113e0b405SLinus Walleij	select CLKSRC_MMIO
8213e0b405SLinus Walleij	help
8313e0b405SLinus Walleij	  Enables support for the Intel XScale IXP4xx SoC timer.
8413e0b405SLinus Walleij
85468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER
8640ada2aaSDaniel Lezcano	bool "Rockchip timer driver" if COMPILE_TEST
8740ada2aaSDaniel Lezcano	depends on ARM || ARM64
88bb0eb050SDaniel Lezcano	select TIMER_OF
895e0a39d0SAlexander Kochetkov	select CLKSRC_MMIO
9040ada2aaSDaniel Lezcano	help
9106293463SRandy Dunlap	  Enables the support for the Rockchip timer driver.
92468b8c4cSDaniel Lezcano
936fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
949519e80cSDaniel Lezcano	bool "Armada 370 and XP timer driver" if COMPILE_TEST
959519e80cSDaniel Lezcano	depends on ARM
96bb0eb050SDaniel Lezcano	select TIMER_OF
972be6d9bfSArnd Bergmann	select CLKSRC_MMIO
989519e80cSDaniel Lezcano	help
999519e80cSDaniel Lezcano	  Enables the support for the Armada 370 and XP timer driver.
1006fe9cbd1SGregory CLEMENT
101e4a6b378SCarlo Caioneconfig MESON6_TIMER
1020b7a7bb7SDaniel Lezcano	bool "Meson6 timer driver" if COMPILE_TEST
1037b6b0a45SBeniamino Galvani	select CLKSRC_MMIO
1040b7a7bb7SDaniel Lezcano	help
1050b7a7bb7SDaniel Lezcano	  Enables the support for the Meson6 timer driver.
106e4a6b378SCarlo Caione
1070c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER
108c9165549SDaniel Lezcano	bool "Orion timer driver" if COMPILE_TEST
109c9165549SDaniel Lezcano	depends on ARM
110bb0eb050SDaniel Lezcano	select TIMER_OF
1110c1dcfd5SSebastian Hesselbarth	select CLKSRC_MMIO
112c9165549SDaniel Lezcano	help
113c9165549SDaniel Lezcano	  Enables the support for the Orion timer driver
1140c1dcfd5SSebastian Hesselbarth
1154be78a86SAndreas Färberconfig OWL_TIMER
1164be78a86SAndreas Färber	bool "Owl timer driver" if COMPILE_TEST
1174be78a86SAndreas Färber	select CLKSRC_MMIO
1184be78a86SAndreas Färber	help
1194be78a86SAndreas Färber	  Enables the support for the Actions Semi Owl timer driver.
1204be78a86SAndreas Färber
1217f83a132SManivannan Sadhasivamconfig RDA_TIMER
1227f83a132SManivannan Sadhasivam	bool "RDA timer driver" if COMPILE_TEST
1237f83a132SManivannan Sadhasivam	select CLKSRC_MMIO
1247f83a132SManivannan Sadhasivam	select TIMER_OF
1257f83a132SManivannan Sadhasivam	help
1267f83a132SManivannan Sadhasivam	  Enables the support for the RDA Micro timer driver.
1277f83a132SManivannan Sadhasivam
128119fd635SMaxime Ripardconfig SUN4I_TIMER
129b4fcd48bSDaniel Lezcano	bool "Sun4i timer driver" if COMPILE_TEST
130d7023e62SRichard Weinberger	depends on HAS_IOMEM
13171c568c0SMaxime Ripard	select CLKSRC_MMIO
132239751edSDaniel Lezcano	select TIMER_OF
133b4fcd48bSDaniel Lezcano	help
134b4fcd48bSDaniel Lezcano	  Enables support for the Sun4i timer.
135b2ac5d75SMaxime Ripard
13667905540SMaxime Ripardconfig SUN5I_HSTIMER
137f0c5afb7SDaniel Lezcano	bool "Sun5i timer driver" if COMPILE_TEST
13867905540SMaxime Ripard	select CLKSRC_MMIO
139f0c5afb7SDaniel Lezcano	depends on COMMON_CLK
140f0c5afb7SDaniel Lezcano	help
141f0c5afb7SDaniel Lezcano	  Enables support the Sun5i timer.
14267905540SMaxime Ripard
143910978e7SThierry Redingconfig TEGRA_TIMER
144adce4bc8SDaniel Lezcano	bool "Tegra timer driver" if COMPILE_TEST
1452be6d9bfSArnd Bergmann	select CLKSRC_MMIO
146b4822dc7SJoseph Lo	select TIMER_OF
147acb4bb3fSDmitry Osipenko	depends on ARCH_TEGRA || COMPILE_TEST
148adce4bc8SDaniel Lezcano	help
149adce4bc8SDaniel Lezcano	  Enables support for the Tegra driver.
150910978e7SThierry Reding
151ff7ec345STony Priskconfig VT8500_TIMER
152b4bdf7efSDaniel Lezcano	bool "VT8500 timer driver" if COMPILE_TEST
153d7023e62SRichard Weinberger	depends on HAS_IOMEM
154b4bdf7efSDaniel Lezcano	help
155b4bdf7efSDaniel Lezcano	  Enables support for the VT8500 driver.
156ff7ec345STony Prisk
1571c00289eSTomer Maimonconfig NPCM7XX_TIMER
1581c00289eSTomer Maimon	bool "NPCM7xx timer driver" if COMPILE_TEST
1591c00289eSTomer Maimon	depends on HAS_IOMEM
16099834eeaSArnd Bergmann	select TIMER_OF
1611c00289eSTomer Maimon	select CLKSRC_MMIO
1621c00289eSTomer Maimon	help
1631c00289eSTomer Maimon	  Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture,
16406293463SRandy Dunlap	  where TIMER0 serves as clockevent and TIMER1 serves as clocksource.
1651c00289eSTomer Maimon
1664f0f234fSMichal Simekconfig CADENCE_TTC_TIMER
16757f49318SDaniel Lezcano	bool "Cadence TTC timer driver" if COMPILE_TEST
16857f49318SDaniel Lezcano	depends on COMMON_CLK
16957f49318SDaniel Lezcano	help
17006293463SRandy Dunlap	  Enables support for the Cadence TTC driver.
1714f0f234fSMichal Simek
172a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER
173b9755841SDaniel Lezcano	bool "ASM9260 timer driver" if COMPILE_TEST
174a8b1b9fcSDaniel Lezcano	select CLKSRC_MMIO
175bb0eb050SDaniel Lezcano	select TIMER_OF
176b9755841SDaniel Lezcano	help
177b9755841SDaniel Lezcano	  Enables support for the ASM9260 timer.
178a8b1b9fcSDaniel Lezcano
179694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
18070329653SDaniel Lezcano	bool "Nomakdik clocksource driver" if COMPILE_TEST
18170329653SDaniel Lezcano	depends on ARM
182694e33a7SLinus Walleij	select CLKSRC_MMIO
183694e33a7SLinus Walleij	help
184694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
185694e33a7SLinus Walleij	  to multiple interrupt generating programmable
186694e33a7SLinus Walleij	  32-bit free running decrementing counters.
187694e33a7SLinus Walleij
188489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
1891becd6edSDaniel Lezcano	bool "Clocksource PRCMU Timer" if COMPILE_TEST
190d7023e62SRichard Weinberger	depends on HAS_IOMEM
191489bcceaSMattias Wallin	help
19206293463SRandy Dunlap	  Use the always on PRCMU Timer as clocksource.
193489bcceaSMattias Wallin
194ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER
19506293463SRandy Dunlap	bool "Cirrus Logic timer driver" if COMPILE_TEST
196ecf0efdcSDaniel Lezcano	select CLKSRC_MMIO
197ecf0efdcSDaniel Lezcano	help
198ecf0efdcSDaniel Lezcano	  Enables support for the Cirrus Logic PS711 timer.
199ecf0efdcSDaniel Lezcano
200b56d5d21SDaniel Lezcanoconfig ATLAS7_TIMER
201b56d5d21SDaniel Lezcano	bool "Atlas7 timer driver" if COMPILE_TEST
202b56d5d21SDaniel Lezcano	select CLKSRC_MMIO
203b56d5d21SDaniel Lezcano	help
204b56d5d21SDaniel Lezcano	  Enables support for the Atlas7 timer.
205b56d5d21SDaniel Lezcano
206d81c50a0SDaniel Lezcanoconfig MXS_TIMER
20706293463SRandy Dunlap	bool "MXS timer driver" if COMPILE_TEST
208d81c50a0SDaniel Lezcano	select CLKSRC_MMIO
209d81c50a0SDaniel Lezcano	select STMP_DEVICE
210d81c50a0SDaniel Lezcano	help
21106293463SRandy Dunlap	  Enables support for the MXS timer.
212d81c50a0SDaniel Lezcano
213f3550d49SDaniel Lezcanoconfig PRIMA2_TIMER
214f3550d49SDaniel Lezcano	bool "Prima2 timer driver" if COMPILE_TEST
215f3550d49SDaniel Lezcano	select CLKSRC_MMIO
216f3550d49SDaniel Lezcano	help
217f3550d49SDaniel Lezcano	  Enables support for the Prima2 timer.
218f3550d49SDaniel Lezcano
21985f98db4SDaniel Lezcanoconfig U300_TIMER
22085f98db4SDaniel Lezcano	bool "U300 timer driver" if COMPILE_TEST
22185f98db4SDaniel Lezcano	depends on ARM
22285f98db4SDaniel Lezcano	select CLKSRC_MMIO
22385f98db4SDaniel Lezcano	help
22485f98db4SDaniel Lezcano	  Enables support for the U300 timer.
22585f98db4SDaniel Lezcano
226d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER
227d683b9dcSDaniel Lezcano	bool "NSpire timer driver" if COMPILE_TEST
228d683b9dcSDaniel Lezcano	select CLKSRC_MMIO
229d683b9dcSDaniel Lezcano	help
230d683b9dcSDaniel Lezcano	  Enables support for the Nspire timer.
231d683b9dcSDaniel Lezcano
232c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER
233c12547a0SDaniel Lezcano	bool "Keystone timer driver" if COMPILE_TEST
234c12547a0SDaniel Lezcano	depends on ARM || ARM64
235c12547a0SDaniel Lezcano	select CLKSRC_MMIO
236c12547a0SDaniel Lezcano	help
237c12547a0SDaniel Lezcano	  Enables support for the Keystone timer.
238c12547a0SDaniel Lezcano
239568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER
24006293463SRandy Dunlap	bool "Integrator-AP timer driver" if COMPILE_TEST
241568c0342SDaniel Lezcano	select CLKSRC_MMIO
242568c0342SDaniel Lezcano	help
24306293463SRandy Dunlap	  Enables support for the Integrator-AP timer.
244568c0342SDaniel Lezcano
2459c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32
2469c9b7818SUwe Kleine-König	bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
2479c9b7818SUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
24809ca2757SAxel Lin	select CLKSRC_MMIO
2499c9b7818SUwe Kleine-König	default ARCH_EFM32
2509c9b7818SUwe Kleine-König	help
2519c9b7818SUwe Kleine-König	  Support to use the timers of EFM32 SoCs as clock source and clock
2529c9b7818SUwe Kleine-König	  event device.
2539c9b7818SUwe Kleine-König
254050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX
255ddcf48c7SDaniel Lezcano	bool "Clocksource for LPC32XX" if COMPILE_TEST
2562f8a26c1SArnd Bergmann	depends on HAS_IOMEM
2571b18fd20SEzequiel Garcia	depends on ARM
258050dd322SJoachim Eastwood	select CLKSRC_MMIO
259bb0eb050SDaniel Lezcano	select TIMER_OF
260ddcf48c7SDaniel Lezcano	help
261ddcf48c7SDaniel Lezcano	  Support for the LPC32XX clocksource.
262050dd322SJoachim Eastwood
26384583983SEzequiel Garciaconfig CLKSRC_PISTACHIO
264dfdb1652SDaniel Lezcano	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
2652f8a26c1SArnd Bergmann	depends on HAS_IOMEM
266bb0eb050SDaniel Lezcano	select TIMER_OF
267dfdb1652SDaniel Lezcano	help
268dfdb1652SDaniel Lezcano	  Enables the clocksource for the Pistachio SoC.
26984583983SEzequiel Garcia
270fe851f56SFelipe Balbiconfig CLKSRC_TI_32K
271fe851f56SFelipe Balbi	bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
272dfedaf10SFelipe Balbi	depends on GENERIC_SCHED_CLOCK
273bb0eb050SDaniel Lezcano	select TIMER_OF if OF
274fe851f56SFelipe Balbi	help
275fe851f56SFelipe Balbi	  This option enables support for Texas Instruments 32.768 Hz clocksource
276fe851f56SFelipe Balbi	  available on many OMAP-like platforms.
277fe851f56SFelipe Balbi
278a5322457SNoam Camusconfig CLKSRC_NPS
279a5322457SNoam Camus	bool "NPS400 clocksource driver" if COMPILE_TEST
280a5322457SNoam Camus	depends on !PHYS_ADDR_T_64BIT
281a5322457SNoam Camus	select CLKSRC_MMIO
282bb0eb050SDaniel Lezcano	select TIMER_OF if OF
283a5322457SNoam Camus	help
284a5322457SNoam Camus	  NPS400 clocksource support.
28506293463SRandy Dunlap	  It has a 64-bit counter with update rate up to 1000MHz.
28606293463SRandy Dunlap	  This counter is accessed via couple of 32-bit memory-mapped registers.
287a5322457SNoam Camus
288e37e4593SMaxime Coquelinconfig CLKSRC_STM32
2891cb6c215SPaul Gortmaker	bool "Clocksource for STM32 SoCs" if !ARCH_STM32
2901cb6c215SPaul Gortmaker	depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
291e37e4593SMaxime Coquelin	select CLKSRC_MMIO
292d04af490SBenjamin Gaignard	select TIMER_OF
293e37e4593SMaxime Coquelin
29448b41c5eSBenjamin Gaignardconfig CLKSRC_STM32_LP
29548b41c5eSBenjamin Gaignard	bool "Low power clocksource for STM32 SoCs"
29648b41c5eSBenjamin Gaignard	depends on MFD_STM32_LPTIMER || COMPILE_TEST
29748b41c5eSBenjamin Gaignard
2980302637fSVladimir Murzinconfig CLKSRC_MPS2
2990302637fSVladimir Murzin	bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
3000302637fSVladimir Murzin	depends on GENERIC_SCHED_CLOCK
3010302637fSVladimir Murzin	select CLKSRC_MMIO
302bb0eb050SDaniel Lezcano	select TIMER_OF
3030302637fSVladimir Murzin
304c4c9a040SVineet Guptaconfig ARC_TIMERS
305c4c9a040SVineet Gupta	bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST
306bf287607SAlexey Brodkin	depends on GENERIC_SCHED_CLOCK
307bb0eb050SDaniel Lezcano	select TIMER_OF
308c4c9a040SVineet Gupta	help
309c4c9a040SVineet Gupta	  These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores
310c4c9a040SVineet Gupta	  (ARC700 as well as ARC HS38).
31106293463SRandy Dunlap	  TIMER0 serves as clockevent while TIMER1 provides clocksource.
312c4c9a040SVineet Gupta
313c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT
314c4c9a040SVineet Gupta	bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST
315c4c9a040SVineet Gupta	depends on ARC_TIMERS
316bb0eb050SDaniel Lezcano	select TIMER_OF
317c4c9a040SVineet Gupta	help
31806293463SRandy Dunlap	  This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP).
319c4c9a040SVineet Gupta	  RTC is implemented inside the core, while GFRC sits outside the core in
320c4c9a040SVineet Gupta	  ARConnect IP block. Driver automatically picks one of them for clocksource
321c4c9a040SVineet Gupta	  as appropriate.
322c4c9a040SVineet Gupta
3238a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER
3248a4da6e3SMark Rutland	bool
325bb0eb050SDaniel Lezcano	select TIMER_OF if OF
326fa1bffabSDaniel Lezcano	select TIMER_ACPI if ACPI
327a2c5d4edSJames Hogan
328037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM
32946fd5c6bSWill Deacon	bool "Enable ARM architected timer event stream generation by default"
330037f6377SWill Deacon	default y if ARM_ARCH_TIMER
33177f7ce9aSStephen Boyd	depends on ARM_ARCH_TIMER
332037f6377SWill Deacon	help
33346fd5c6bSWill Deacon	  This option enables support by default for event stream generation
33446fd5c6bSWill Deacon	  based on the ARM architected timer. It is used for waking up CPUs
33546fd5c6bSWill Deacon	  executing the wfe instruction at a frequency represented as a
33646fd5c6bSWill Deacon	  power-of-2 divisor of the clock rate. The behaviour can also be
33746fd5c6bSWill Deacon	  overridden on the command line using the
33846fd5c6bSWill Deacon	  clocksource.arm_arch_timer.evtstream parameter.
339037f6377SWill Deacon	  The main use of the event stream is wfe-based timeouts of userspace
340037f6377SWill Deacon	  locking implementations. It might also be useful for imposing timeout
341037f6377SWill Deacon	  on wfe to safeguard against any programming errors in case an expected
342037f6377SWill Deacon	  event is not generated.
343037f6377SWill Deacon	  This must be disabled for hardware validation purposes to detect any
344037f6377SWill Deacon	  hardware anomalies of missing events.
345037f6377SWill Deacon
34616d10ef2SDing Tianhongconfig ARM_ARCH_TIMER_OOL_WORKAROUND
34716d10ef2SDing Tianhong	bool
34816d10ef2SDing Tianhong
349f6dc1576SScott Woodconfig FSL_ERRATUM_A008585
350f6dc1576SScott Wood	bool "Workaround for Freescale/NXP Erratum A-008585"
351f6dc1576SScott Wood	default y
352f6dc1576SScott Wood	depends on ARM_ARCH_TIMER && ARM64
35316d10ef2SDing Tianhong	select ARM_ARCH_TIMER_OOL_WORKAROUND
354f6dc1576SScott Wood	help
355f6dc1576SScott Wood	  This option enables a workaround for Freescale/NXP Erratum
356f6dc1576SScott Wood	  A-008585 ("ARM generic timer may contain an erroneous
357f6dc1576SScott Wood	  value").  The workaround will only be active if the
358f6dc1576SScott Wood	  fsl,erratum-a008585 property is found in the timer node.
359f6dc1576SScott Wood
360bb42ca47SDing Tianhongconfig HISILICON_ERRATUM_161010101
361bb42ca47SDing Tianhong	bool "Workaround for Hisilicon Erratum 161010101"
362bb42ca47SDing Tianhong	default y
363bb42ca47SDing Tianhong	select ARM_ARCH_TIMER_OOL_WORKAROUND
364bb42ca47SDing Tianhong	depends on ARM_ARCH_TIMER && ARM64
365bb42ca47SDing Tianhong	help
366bb42ca47SDing Tianhong	  This option enables a workaround for Hisilicon Erratum
367bb42ca47SDing Tianhong	  161010101. The workaround will be active if the hisilicon,erratum-161010101
368bb42ca47SDing Tianhong	  property is found in the timer node.
369bb42ca47SDing Tianhong
370fa8d815fSMarc Zyngierconfig ARM64_ERRATUM_858921
371fa8d815fSMarc Zyngier	bool "Workaround for Cortex-A73 erratum 858921"
372fa8d815fSMarc Zyngier	default y
373fa8d815fSMarc Zyngier	select ARM_ARCH_TIMER_OOL_WORKAROUND
374fa8d815fSMarc Zyngier	depends on ARM_ARCH_TIMER && ARM64
375fa8d815fSMarc Zyngier	help
376fa8d815fSMarc Zyngier	  This option enables a workaround applicable to Cortex-A73
377fa8d815fSMarc Zyngier	  (all versions), whose counter may return incorrect values.
378fa8d815fSMarc Zyngier	  The workaround will be dynamically enabled when an affected
379fa8d815fSMarc Zyngier	  core is detected.
380fa8d815fSMarc Zyngier
381c950ca8cSSamuel Hollandconfig SUN50I_ERRATUM_UNKNOWN1
382c950ca8cSSamuel Holland	bool "Workaround for Allwinner A64 erratum UNKNOWN1"
383c950ca8cSSamuel Holland	default y
384c950ca8cSSamuel Holland	depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI
385c950ca8cSSamuel Holland	select ARM_ARCH_TIMER_OOL_WORKAROUND
386c950ca8cSSamuel Holland	help
387c950ca8cSSamuel Holland	  This option enables a workaround for instability in the timer on
388c950ca8cSSamuel Holland	  the Allwinner A64 SoC. The workaround will only be active if the
389c950ca8cSSamuel Holland	  allwinner,erratum-unknown1 property is found in the timer node.
390c950ca8cSSamuel Holland
391c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER
39267a87a43SDaniel Lezcano	bool "Support for the ARM global timer" if COMPILE_TEST
393bb0eb050SDaniel Lezcano	select TIMER_OF if OF
39467a87a43SDaniel Lezcano	depends on ARM
395c1b40e44SStuart Menefy	help
39606293463SRandy Dunlap	  This option enables support for the ARM global timer unit.
397c1b40e44SStuart Menefy
3980b7402dcSSudeep Hollaconfig ARM_TIMER_SP804
399dfc82faaSDavid Abdurachmanov	bool "Support for Dual Timer SP804 module" if COMPILE_TEST
400002af195SGuenter Roeck	depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
4010b7402dcSSudeep Holla	select CLKSRC_MMIO
402bb0eb050SDaniel Lezcano	select TIMER_OF if OF
4030b7402dcSSudeep Holla
404c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
405c1b40e44SStuart Menefy	bool
406c1b40e44SStuart Menefy	depends on ARM_GLOBAL_TIMER
407c1b40e44SStuart Menefy	default y
408c1b40e44SStuart Menefy	help
40906293463SRandy Dunlap	  Use ARM global timer clock source as sched_clock.
410c1b40e44SStuart Menefy
4114958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK
412e2146d86SDaniel Lezcano	bool "Support for the ARMv7M system time" if COMPILE_TEST
413bb0eb050SDaniel Lezcano	select TIMER_OF if OF
4144958ebb3SMaxime Coquelin	select CLKSRC_MMIO
4154958ebb3SMaxime Coquelin	help
41606293463SRandy Dunlap	  This option enables support for the ARMv7M system timer unit.
4174958ebb3SMaxime Coquelin
418b052ff30SMaxime Ripardconfig ATMEL_PIT
4192f982703SAlexandre Belloni	bool "Atmel PIT support" if COMPILE_TEST
4202f982703SAlexandre Belloni	depends on HAS_IOMEM
421bb0eb050SDaniel Lezcano	select TIMER_OF if OF
4222f982703SAlexandre Belloni	help
4232f982703SAlexandre Belloni	  Support for the Periodic Interval Timer found on Atmel SoCs.
424b052ff30SMaxime Ripard
425b53cdd03SAlexandre Belloniconfig ATMEL_ST
426b988d3f0SDaniel Lezcano	bool "Atmel ST timer support" if COMPILE_TEST
427bd2746f0SMasahiro Yamada	depends on HAS_IOMEM
428bb0eb050SDaniel Lezcano	select TIMER_OF
4297ab7ef74SAlexandre Belloni	select MFD_SYSCON
430b988d3f0SDaniel Lezcano	help
431b988d3f0SDaniel Lezcano	  Support for the Atmel ST timer.
432b53cdd03SAlexandre Belloni
4336275f494SAlexandre Belloniconfig ATMEL_TCB_CLKSRC
4346275f494SAlexandre Belloni	bool "Atmel TC Block timer driver" if COMPILE_TEST
4351ce861ceSAlexandre Belloni	depends on ARM && HAS_IOMEM
4366275f494SAlexandre Belloni	select TIMER_OF if OF
4376275f494SAlexandre Belloni	help
4386275f494SAlexandre Belloni	  Support for Timer Counter Blocks on Atmel SoCs.
4396275f494SAlexandre Belloni
4406938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT
44139366ef4SDaniel Lezcano	bool "Exynos multi core timer driver" if COMPILE_TEST
442f1a4c1f3SChanwoo Choi	depends on ARM || ARM64
4436938d75aSThomas Abraham	help
4446938d75aSThomas Abraham	  Support for Multi Core Timer controller on Exynos SoCs.
445241a9871SArnd Bergmann
446f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM
447de37b0b5SAlexandre Belloni	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
448d7023e62SRichard Weinberger	depends on HAS_IOMEM
449f1189989STomasz Figa	help
450f1189989STomasz Figa	  This is a new clocksource driver for the PWM timer found in
451f1189989STomasz Figa	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
452f1189989STomasz Figa	  for all devicetree enabled platforms. This driver will be
453f1189989STomasz Figa	  needed only on systems that do not have the Exynos MCT available.
454c1967249SJingchang Lu
4552529c3a3SXiubo Liconfig FSL_FTM_TIMER
456ef49336bSDaniel Lezcano	bool "Freescale FlexTimer Module driver" if COMPILE_TEST
457d7023e62SRichard Weinberger	depends on HAS_IOMEM
45803724ac3SDaniel Lezcano	select CLKSRC_MMIO
4592529c3a3SXiubo Li	help
4602529c3a3SXiubo Li	  Support for Freescale FlexTimer Module (FTM) timer.
4612529c3a3SXiubo Li
462c1967249SJingchang Luconfig VF_PIT_TIMER
463c1967249SJingchang Lu	bool
4642be6d9bfSArnd Bergmann	select CLKSRC_MMIO
465c1967249SJingchang Lu	help
46606293463SRandy Dunlap	  Support for Periodic Interrupt Timer on Freescale Vybrid Family SoCs.
467fd3f1270SMagnus Damm
46889355274SNeil Armstrongconfig OXNAS_RPS_TIMER
46989355274SNeil Armstrong	bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
470bb0eb050SDaniel Lezcano	select TIMER_OF
47189355274SNeil Armstrong	select CLKSRC_MMIO
47289355274SNeil Armstrong	help
47389355274SNeil Armstrong	  This enables support for the Oxford Semiconductor OXNAS RPS timers.
47489355274SNeil Armstrong
475fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT
476fd3f1270SMagnus Damm	bool
477fd3f1270SMagnus Damm
478ecb3530dSMatthias Bruggerconfig MTK_TIMER
479fbca9eabSDaniel Lezcano	bool "Mediatek timer driver" if COMPILE_TEST
4802f8a26c1SArnd Bergmann	depends on HAS_IOMEM
481bb0eb050SDaniel Lezcano	select TIMER_OF
482ecb3530dSMatthias Brugger	select CLKSRC_MMIO
483fbca9eabSDaniel Lezcano	help
484fbca9eabSDaniel Lezcano	  Support for Mediatek timer driver.
485ecb3530dSMatthias Brugger
486067bc914SBaolin Wangconfig SPRD_TIMER
4878a1ece26SChunyan Zhang	bool "Spreadtrum timer driver" if EXPERT
488067bc914SBaolin Wang	depends on HAS_IOMEM
4898a1ece26SChunyan Zhang	depends on (ARCH_SPRD || COMPILE_TEST)
4908a1ece26SChunyan Zhang	default ARCH_SPRD
491067bc914SBaolin Wang	select TIMER_OF
492067bc914SBaolin Wang	help
493067bc914SBaolin Wang	  Enables support for the Spreadtrum timer driver.
494067bc914SBaolin Wang
495fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2
496fd3f1270SMagnus Damm	bool
497fd3f1270SMagnus Damm
498fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU
499fd3f1270SMagnus Damm	bool
500fd3f1270SMagnus Damm
501fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI
502fd3f1270SMagnus Damm	bool
503fd3f1270SMagnus Damm
5049995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT
5059995f4f1SRich Felker	bool "J-Core PIT timer driver" if COMPILE_TEST
5069995f4f1SRich Felker	depends on OF
5079995f4f1SRich Felker	depends on HAS_IOMEM
5089995f4f1SRich Felker	select CLKSRC_MMIO
5099995f4f1SRich Felker	help
5109995f4f1SRich Felker	  This enables build of clocksource and clockevent driver for
5119995f4f1SRich Felker	  the integrated PIT in the J-Core synthesizable, open source SoC.
5129995f4f1SRich Felker
513fd3f1270SMagnus Dammconfig SH_TIMER_CMT
514fd3f1270SMagnus Damm	bool "Renesas CMT timer driver" if COMPILE_TEST
51511bc26feSRichard Weinberger	depends on HAS_IOMEM
516fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_CMT
517fd3f1270SMagnus Damm	help
518fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
519fd3f1270SMagnus Damm	  the Compare Match Timer (CMT) hardware available in 16/32/48-bit
520fd3f1270SMagnus Damm	  variants on a wide range of Mobile and Automotive SoCs from Renesas.
521fd3f1270SMagnus Damm
522fd3f1270SMagnus Dammconfig SH_TIMER_MTU2
523fd3f1270SMagnus Damm	bool "Renesas MTU2 timer driver" if COMPILE_TEST
52411bc26feSRichard Weinberger	depends on HAS_IOMEM
525fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_MTU2
526fd3f1270SMagnus Damm	help
527fd3f1270SMagnus Damm	  This enables build of a clockevent driver for the Multi-Function
5287e139187SKuninori Morimoto	  Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
52906293463SRandy Dunlap	  This hardware comes with 16-bit timer registers.
530fd3f1270SMagnus Damm
531fb6002a8SChris Brandtconfig RENESAS_OSTM
532fb6002a8SChris Brandt	bool "Renesas OSTM timer driver" if COMPILE_TEST
533fb6002a8SChris Brandt	select CLKSRC_MMIO
53422731423SGeert Uytterhoeven	select TIMER_OF
535fb6002a8SChris Brandt	help
536fb6002a8SChris Brandt	  Enables the support for the Renesas OSTM.
537fb6002a8SChris Brandt
538fd3f1270SMagnus Dammconfig SH_TIMER_TMU
539fd3f1270SMagnus Damm	bool "Renesas TMU timer driver" if COMPILE_TEST
54011bc26feSRichard Weinberger	depends on HAS_IOMEM
541fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_TMU
542fd3f1270SMagnus Damm	help
543fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
544fd3f1270SMagnus Damm	  the 32-bit Timer Unit (TMU) hardware available on a wide range
545fd3f1270SMagnus Damm	  SoCs from Renesas.
546fd3f1270SMagnus Damm
547fd3f1270SMagnus Dammconfig EM_TIMER_STI
548fd3f1270SMagnus Damm	bool "Renesas STI timer driver" if COMPILE_TEST
5492f8a26c1SArnd Bergmann	depends on HAS_IOMEM
550fd3f1270SMagnus Damm	default SYS_SUPPORTS_EM_STI
551fd3f1270SMagnus Damm	help
552fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
553fd3f1270SMagnus Damm	  the 48-bit System Timer (STI) hardware available on a SoCs
554fd3f1270SMagnus Damm	  such as EMEV2 from former NEC Electronics.
555dfc25e45SLinus Torvalds
5563f8e8ceeSKumar Galaconfig CLKSRC_QCOM
5573dc0e9f6SDaniel Lezcano	bool "Qualcomm MSM timer" if COMPILE_TEST
5583dc0e9f6SDaniel Lezcano	depends on ARM
559bb0eb050SDaniel Lezcano	select TIMER_OF
5603dc0e9f6SDaniel Lezcano	help
5613dc0e9f6SDaniel Lezcano	  This enables the clocksource and the per CPU clockevent driver for the
5623dc0e9f6SDaniel Lezcano	  Qualcomm SoCs.
563220e2a8dSPawel Moll
564220e2a8dSPawel Mollconfig CLKSRC_VERSATILE
5655cc87a4dSDaniel Lezcano	bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST
5665cc87a4dSDaniel Lezcano	depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
567bb0eb050SDaniel Lezcano	select TIMER_OF
568bfed0edeSRob Herring	default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM
569220e2a8dSPawel Moll	help
570220e2a8dSPawel Moll	  This option enables clock source based on free running
571220e2a8dSPawel Moll	  counter available in the "System Registers" block of
572bfed0edeSRob Herring	  ARM Versatile and Versatile Express reference platforms.
57358394271SJean Delvare
574fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC
575fa5635a2SAndrew Bresticker	bool
576fa5635a2SAndrew Bresticker	depends on MIPS_GIC
5777d7de1a6SSerge Semin	select CLOCKSOURCE_WATCHDOG
578bb0eb050SDaniel Lezcano	select TIMER_OF
579fa5635a2SAndrew Bresticker
580ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL
5815a7351f0SDaniel Lezcano	bool "Clocksource for Tango SoC" if COMPILE_TEST
5825a7351f0SDaniel Lezcano	depends on ARM
583bb0eb050SDaniel Lezcano	select TIMER_OF
5840881841fSDaniel Lezcano	select CLKSRC_MMIO
5855a7351f0SDaniel Lezcano	help
58606293463SRandy Dunlap	  This enables the clocksource for Tango SoC.
587ccd63ce4SMarc Gonzalez
588e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA
5895ae996cbSDaniel Lezcano	bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
590d7023e62SRichard Weinberger	depends on HAS_IOMEM
5915ae996cbSDaniel Lezcano	select CLKSRC_MMIO
592e074ff86SDmitry Eremin-Solenikov	help
593e074ff86SDmitry Eremin-Solenikov	  This enables OST0 support available on PXA and SA-11x0
594e074ff86SDmitry Eremin-Solenikov	  platforms.
595618b902dSYoshinori Sato
59697a23bebSDaniel Lezcanoconfig H8300_TMR8
59746e7c3c6SDaniel Lezcano	bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
5982f8a26c1SArnd Bergmann	depends on HAS_IOMEM
59946e7c3c6SDaniel Lezcano	help
60046e7c3c6SDaniel Lezcano	  This enables the 8 bits timer for the H8300 platform.
60197a23bebSDaniel Lezcano
602618b902dSYoshinori Satoconfig H8300_TMR16
60346e7c3c6SDaniel Lezcano	bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
6042f8a26c1SArnd Bergmann	depends on HAS_IOMEM
60546e7c3c6SDaniel Lezcano	help
60646e7c3c6SDaniel Lezcano	  This enables the 16 bits timer for the H8300 platform with the
60706293463SRandy Dunlap	  H83069 CPU.
608618b902dSYoshinori Sato
609618b902dSYoshinori Satoconfig H8300_TPU
61046e7c3c6SDaniel Lezcano	bool "Clocksource for the H8300 platform" if COMPILE_TEST
6112f8a26c1SArnd Bergmann	depends on HAS_IOMEM
61246e7c3c6SDaniel Lezcano	help
61346e7c3c6SDaniel Lezcano	  This enables the clocksource for the H8300 platform with the
61406293463SRandy Dunlap	  H8S2678 CPU.
615618b902dSYoshinori Sato
616bea5af41SShawn Guoconfig CLKSRC_IMX_GPT
617bea5af41SShawn Guo	bool "Clocksource using i.MX GPT" if COMPILE_TEST
618df181e38SAnson Huang	depends on (ARM || ARM64) && CLKDEV_LOOKUP
619bea5af41SShawn Guo	select CLKSRC_MMIO
620bea5af41SShawn Guo
621059ab7b8SDong Aishengconfig CLKSRC_IMX_TPM
622059ab7b8SDong Aisheng	bool "Clocksource using i.MX TPM" if COMPILE_TEST
6232f8a26c1SArnd Bergmann	depends on ARM && CLKDEV_LOOKUP
624059ab7b8SDong Aisheng	select CLKSRC_MMIO
625059ab7b8SDong Aisheng	help
626059ab7b8SDong Aisheng	  Enable this option to use IMX Timer/PWM Module (TPM) timer as
627059ab7b8SDong Aisheng	  clocksource.
628059ab7b8SDong Aisheng
6297117a44bSBai Pingconfig TIMER_IMX_SYS_CTR
6307117a44bSBai Ping	bool "i.MX system counter timer" if COMPILE_TEST
6317117a44bSBai Ping	select TIMER_OF
6327117a44bSBai Ping	help
6337117a44bSBai Ping	  Enable this option to use i.MX system counter timer as a
6347117a44bSBai Ping	  clockevent.
6357117a44bSBai Ping
63670bef01cSLee Jonesconfig CLKSRC_ST_LPC
637baacaf83SDaniel Lezcano	bool "Low power clocksource found in the LPC" if COMPILE_TEST
638bb0eb050SDaniel Lezcano	select TIMER_OF if OF
639863ee050SRichard Weinberger	depends on HAS_IOMEM
6402be6d9bfSArnd Bergmann	select CLKSRC_MMIO
64170bef01cSLee Jones	help
64270bef01cSLee Jones	  Enable this option to use the Low Power controller timer
64370bef01cSLee Jones	  as clocksource.
64470bef01cSLee Jones
64535dbb74aSRick Chenconfig ATCPIT100_TIMER
64635dbb74aSRick Chen	bool "ATCPIT100 timer driver"
64735dbb74aSRick Chen	depends on NDS32 || COMPILE_TEST
64835dbb74aSRick Chen	depends on HAS_IOMEM
64935dbb74aSRick Chen	select TIMER_OF
65035dbb74aSRick Chen	default NDS32
65135dbb74aSRick Chen	help
65235dbb74aSRick Chen	  This option enables support for the Andestech ATCPIT100 timers.
65335dbb74aSRick Chen
65462b01943SPalmer Dabbeltconfig RISCV_TIMER
65562b01943SPalmer Dabbelt	bool "Timer for the RISC-V platform"
65692e0d143SAnup Patel	depends on GENERIC_SCHED_CLOCK && RISCV
65762b01943SPalmer Dabbelt	default y
65862b01943SPalmer Dabbelt	select TIMER_PROBE
65962b01943SPalmer Dabbelt	select TIMER_OF
66062b01943SPalmer Dabbelt	help
66162b01943SPalmer Dabbelt	  This enables the per-hart timer built into all RISC-V systems, which
66262b01943SPalmer Dabbelt	  is accessed via both the SBI and the rdcycle instruction.  This is
66362b01943SPalmer Dabbelt	  required for all RISC-V systems.
66462b01943SPalmer Dabbelt
665a7ad38b0SGuo Renconfig CSKY_MP_TIMER
666a7ad38b0SGuo Ren	bool "SMP Timer for the C-SKY platform" if COMPILE_TEST
667a7ad38b0SGuo Ren	depends on CSKY
668a7ad38b0SGuo Ren	select TIMER_OF
669a7ad38b0SGuo Ren	help
670a7ad38b0SGuo Ren	  Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP
671a7ad38b0SGuo Ren	  system.
67206293463SRandy Dunlap	  csky,mptimer is not only used in SMP system, it also could be used in
67306293463SRandy Dunlap	  single core system. It's not a mmio reg and it uses mtcr/mfcr instruction.
674a7ad38b0SGuo Ren
67533745c3cSGuo Renconfig GX6605S_TIMER
67633745c3cSGuo Ren	bool "Gx6605s SOC system timer driver" if COMPILE_TEST
67733745c3cSGuo Ren	depends on CSKY
67833745c3cSGuo Ren	select CLKSRC_MMIO
67933745c3cSGuo Ren	select TIMER_OF
68033745c3cSGuo Ren	help
68133745c3cSGuo Ren	  This option enables support for gx6605s SOC's timer.
68233745c3cSGuo Ren
683b58f28f3SSugaya Taichiconfig MILBEAUT_TIMER
684b58f28f3SSugaya Taichi	bool "Milbeaut timer driver" if COMPILE_TEST
685b58f28f3SSugaya Taichi	depends on OF
686b58f28f3SSugaya Taichi	depends on ARM
687b58f28f3SSugaya Taichi	select TIMER_OF
688b58f28f3SSugaya Taichi	select CLKSRC_MMIO
689b58f28f3SSugaya Taichi	help
690b58f28f3SSugaya Taichi	  Enables the support for Milbeaut timer driver.
691b58f28f3SSugaya Taichi
69234e93683SPaul Cercueilconfig INGENIC_TIMER
69334e93683SPaul Cercueil	bool "Clocksource/timer using the TCU in Ingenic JZ SoCs"
69434e93683SPaul Cercueil	default MACH_INGENIC
69534e93683SPaul Cercueil	depends on MIPS || COMPILE_TEST
69634e93683SPaul Cercueil	depends on COMMON_CLK
69734e93683SPaul Cercueil	select MFD_SYSCON
69834e93683SPaul Cercueil	select TIMER_OF
69934e93683SPaul Cercueil	select IRQ_DOMAIN
70034e93683SPaul Cercueil	help
70134e93683SPaul Cercueil	  Support for the timer/counter unit of the Ingenic JZ SoCs.
70234e93683SPaul Cercueil
703ca7b72b5SMaarten ter Huurneconfig INGENIC_OST
704ca7b72b5SMaarten ter Huurne	bool "Clocksource for Ingenic OS Timer"
705ca7b72b5SMaarten ter Huurne	depends on MIPS || COMPILE_TEST
706ca7b72b5SMaarten ter Huurne	depends on COMMON_CLK
707ca7b72b5SMaarten ter Huurne	select MFD_SYSCON
708ca7b72b5SMaarten ter Huurne	help
709ca7b72b5SMaarten ter Huurne	  Support for the Operating System Timer of the Ingenic JZ SoCs.
710ca7b72b5SMaarten ter Huurne
711625022a5SClaudiu Bezneaconfig MICROCHIP_PIT64B
712625022a5SClaudiu Beznea	bool "Microchip PIT64B support"
713625022a5SClaudiu Beznea	depends on OF || COMPILE_TEST
714625022a5SClaudiu Beznea	select CLKSRC_MMIO
71525259f7aSMichael Ellerman	select TIMER_OF
716625022a5SClaudiu Beznea	help
717625022a5SClaudiu Beznea	  This option enables Microchip PIT64B timer for Atmel
718625022a5SClaudiu Beznea	  based system. It supports the oneshot, the periodic
719625022a5SClaudiu Beznea	  modes and high resolution. It is used as a clocksource
720625022a5SClaudiu Beznea	  and a clockevent.
721625022a5SClaudiu Beznea
72258394271SJean Delvareendmenu
723