xref: /openbmc/linux/drivers/clocksource/Kconfig (revision 6f6f3e31)
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
27eda9a4f7SKees Cook	select TIMER_OF
28af04aa85SKeerthy
2915f304b6SRalf Baechleconfig CLKBLD_I8253
30e6220bdcSThomas Gleixner	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
3115f304b6SRalf Baechle
32442c8176SRussell Kingconfig CLKSRC_MMIO
33442c8176SRussell King	bool
3406c3df49SJamie Iles
352ea879a7SDaniel Lezcanoconfig BCM2835_TIMER
362ea879a7SDaniel Lezcano	bool "BCM2835 timer driver" if COMPILE_TEST
372ea879a7SDaniel Lezcano	select CLKSRC_MMIO
382ea879a7SDaniel Lezcano	help
392ea879a7SDaniel Lezcano	  Enables the support for the BCM2835 timer driver.
402ea879a7SDaniel Lezcano
411cad71e3SDaniel Lezcanoconfig BCM_KONA_TIMER
421cad71e3SDaniel Lezcano	bool "BCM mobile timer driver" if COMPILE_TEST
431cad71e3SDaniel Lezcano	select CLKSRC_MMIO
441cad71e3SDaniel Lezcano	help
451cad71e3SDaniel Lezcano	  Enables the support for the BCM Kona mobile timer driver.
461cad71e3SDaniel Lezcano
47721154f9SBartosz Golaszewskiconfig DAVINCI_TIMER
48721154f9SBartosz Golaszewski	bool "Texas Instruments DaVinci timer driver" if COMPILE_TEST
49721154f9SBartosz Golaszewski	help
50721154f9SBartosz Golaszewski	  Enables the support for the TI DaVinci timer driver.
51721154f9SBartosz Golaszewski
529b8bb773SBaruch Siachconfig DIGICOLOR_TIMER
53e6c1db13SDaniel Lezcano	bool "Digicolor timer driver" if COMPILE_TEST
542be6d9bfSArnd Bergmann	select CLKSRC_MMIO
55d7023e62SRichard Weinberger	depends on HAS_IOMEM
56e6c1db13SDaniel Lezcano	help
57e6c1db13SDaniel Lezcano	  Enables the support for the digicolor timer driver.
589b8bb773SBaruch Siach
5906c3df49SJamie Ilesconfig DW_APB_TIMER
605b097f6bSDaniel Lezcano	bool "DW APB timer driver" if COMPILE_TEST
615b097f6bSDaniel Lezcano	help
625b097f6bSDaniel Lezcano	  Enables the support for the dw_apb timer.
63489bcceaSMattias Wallin
64cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF
65cfda5901SDinh Nguyen	bool
661b4eca0fSHeiko Stuebner	select DW_APB_TIMER
67bb0eb050SDaniel Lezcano	select TIMER_OF
68cfda5901SDinh Nguyen
69f5bf0ee4SLinus Walleijconfig FTTMR010_TIMER
70f5bf0ee4SLinus Walleij	bool "Faraday Technology timer driver" if COMPILE_TEST
714750535bSLinus Walleij	depends on HAS_IOMEM
724750535bSLinus Walleij	select CLKSRC_MMIO
73bb0eb050SDaniel Lezcano	select TIMER_OF
744750535bSLinus Walleij	select MFD_SYSCON
754750535bSLinus Walleij	help
76f5bf0ee4SLinus Walleij	  Enables support for the Faraday Technology timer block
77f5bf0ee4SLinus Walleij	  FTTMR010.
784750535bSLinus Walleij
7913e0b405SLinus Walleijconfig IXP4XX_TIMER
8013e0b405SLinus Walleij	bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST
8113e0b405SLinus Walleij	depends on HAS_IOMEM
8213e0b405SLinus Walleij	select CLKSRC_MMIO
8341929c9fSLinus Walleij	select TIMER_OF
8413e0b405SLinus Walleij	help
8513e0b405SLinus Walleij	  Enables support for the Intel XScale IXP4xx SoC timer.
8613e0b405SLinus Walleij
87468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER
8840ada2aaSDaniel Lezcano	bool "Rockchip timer driver" if COMPILE_TEST
8940ada2aaSDaniel Lezcano	depends on ARM || ARM64
90bb0eb050SDaniel Lezcano	select TIMER_OF
915e0a39d0SAlexander Kochetkov	select CLKSRC_MMIO
9240ada2aaSDaniel Lezcano	help
9306293463SRandy Dunlap	  Enables the support for the Rockchip timer driver.
94468b8c4cSDaniel Lezcano
956fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
969519e80cSDaniel Lezcano	bool "Armada 370 and XP timer driver" if COMPILE_TEST
979519e80cSDaniel Lezcano	depends on ARM
98bb0eb050SDaniel Lezcano	select TIMER_OF
992be6d9bfSArnd Bergmann	select CLKSRC_MMIO
1009519e80cSDaniel Lezcano	help
1019519e80cSDaniel Lezcano	  Enables the support for the Armada 370 and XP timer driver.
1026fe9cbd1SGregory CLEMENT
103e4a6b378SCarlo Caioneconfig MESON6_TIMER
1040b7a7bb7SDaniel Lezcano	bool "Meson6 timer driver" if COMPILE_TEST
1057b6b0a45SBeniamino Galvani	select CLKSRC_MMIO
1060b7a7bb7SDaniel Lezcano	help
1070b7a7bb7SDaniel Lezcano	  Enables the support for the Meson6 timer driver.
108e4a6b378SCarlo Caione
1090c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER
110c9165549SDaniel Lezcano	bool "Orion timer driver" if COMPILE_TEST
111c9165549SDaniel Lezcano	depends on ARM
112bb0eb050SDaniel Lezcano	select TIMER_OF
1130c1dcfd5SSebastian Hesselbarth	select CLKSRC_MMIO
114c9165549SDaniel Lezcano	help
115c9165549SDaniel Lezcano	  Enables the support for the Orion timer driver
1160c1dcfd5SSebastian Hesselbarth
1174be78a86SAndreas Färberconfig OWL_TIMER
1184be78a86SAndreas Färber	bool "Owl timer driver" if COMPILE_TEST
1194be78a86SAndreas Färber	select CLKSRC_MMIO
1204be78a86SAndreas Färber	help
1214be78a86SAndreas Färber	  Enables the support for the Actions Semi Owl timer driver.
1224be78a86SAndreas Färber
1237f83a132SManivannan Sadhasivamconfig RDA_TIMER
1247f83a132SManivannan Sadhasivam	bool "RDA timer driver" if COMPILE_TEST
1257f83a132SManivannan Sadhasivam	select CLKSRC_MMIO
1267f83a132SManivannan Sadhasivam	select TIMER_OF
1277f83a132SManivannan Sadhasivam	help
1287f83a132SManivannan Sadhasivam	  Enables the support for the RDA Micro timer driver.
1297f83a132SManivannan Sadhasivam
130119fd635SMaxime Ripardconfig SUN4I_TIMER
131b4fcd48bSDaniel Lezcano	bool "Sun4i timer driver" if COMPILE_TEST
132d7023e62SRichard Weinberger	depends on HAS_IOMEM
13371c568c0SMaxime Ripard	select CLKSRC_MMIO
134239751edSDaniel Lezcano	select TIMER_OF
135b4fcd48bSDaniel Lezcano	help
136b4fcd48bSDaniel Lezcano	  Enables support for the Sun4i timer.
137b2ac5d75SMaxime Ripard
13867905540SMaxime Ripardconfig SUN5I_HSTIMER
139f0c5afb7SDaniel Lezcano	bool "Sun5i timer driver" if COMPILE_TEST
14067905540SMaxime Ripard	select CLKSRC_MMIO
141f0c5afb7SDaniel Lezcano	depends on COMMON_CLK
142f0c5afb7SDaniel Lezcano	help
143f0c5afb7SDaniel Lezcano	  Enables support the Sun5i timer.
14467905540SMaxime Ripard
145910978e7SThierry Redingconfig TEGRA_TIMER
146adce4bc8SDaniel Lezcano	bool "Tegra timer driver" if COMPILE_TEST
1472be6d9bfSArnd Bergmann	select CLKSRC_MMIO
148b4822dc7SJoseph Lo	select TIMER_OF
149acb4bb3fSDmitry Osipenko	depends on ARCH_TEGRA || COMPILE_TEST
150adce4bc8SDaniel Lezcano	help
151adce4bc8SDaniel Lezcano	  Enables support for the Tegra driver.
152910978e7SThierry Reding
153ff7ec345STony Priskconfig VT8500_TIMER
154b4bdf7efSDaniel Lezcano	bool "VT8500 timer driver" if COMPILE_TEST
155d7023e62SRichard Weinberger	depends on HAS_IOMEM
156b4bdf7efSDaniel Lezcano	help
157b4bdf7efSDaniel Lezcano	  Enables support for the VT8500 driver.
158ff7ec345STony Prisk
1591c00289eSTomer Maimonconfig NPCM7XX_TIMER
1601c00289eSTomer Maimon	bool "NPCM7xx timer driver" if COMPILE_TEST
1611c00289eSTomer Maimon	depends on HAS_IOMEM
16299834eeaSArnd Bergmann	select TIMER_OF
1631c00289eSTomer Maimon	select CLKSRC_MMIO
1641c00289eSTomer Maimon	help
1651c00289eSTomer Maimon	  Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture,
16606293463SRandy Dunlap	  where TIMER0 serves as clockevent and TIMER1 serves as clocksource.
1671c00289eSTomer Maimon
1684f0f234fSMichal Simekconfig CADENCE_TTC_TIMER
16957f49318SDaniel Lezcano	bool "Cadence TTC timer driver" if COMPILE_TEST
17057f49318SDaniel Lezcano	depends on COMMON_CLK
17157f49318SDaniel Lezcano	help
17206293463SRandy Dunlap	  Enables support for the Cadence TTC driver.
1734f0f234fSMichal Simek
174a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER
175b9755841SDaniel Lezcano	bool "ASM9260 timer driver" if COMPILE_TEST
176a8b1b9fcSDaniel Lezcano	select CLKSRC_MMIO
177bb0eb050SDaniel Lezcano	select TIMER_OF
178b9755841SDaniel Lezcano	help
179b9755841SDaniel Lezcano	  Enables support for the ASM9260 timer.
180a8b1b9fcSDaniel Lezcano
181694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
18270329653SDaniel Lezcano	bool "Nomakdik clocksource driver" if COMPILE_TEST
18370329653SDaniel Lezcano	depends on ARM
184694e33a7SLinus Walleij	select CLKSRC_MMIO
185694e33a7SLinus Walleij	help
186694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
187694e33a7SLinus Walleij	  to multiple interrupt generating programmable
188694e33a7SLinus Walleij	  32-bit free running decrementing counters.
189694e33a7SLinus Walleij
190489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
1911becd6edSDaniel Lezcano	bool "Clocksource PRCMU Timer" if COMPILE_TEST
192d7023e62SRichard Weinberger	depends on HAS_IOMEM
193489bcceaSMattias Wallin	help
19406293463SRandy Dunlap	  Use the always on PRCMU Timer as clocksource.
195489bcceaSMattias Wallin
196ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER
19706293463SRandy Dunlap	bool "Cirrus Logic timer driver" if COMPILE_TEST
198ecf0efdcSDaniel Lezcano	select CLKSRC_MMIO
199ecf0efdcSDaniel Lezcano	help
200ecf0efdcSDaniel Lezcano	  Enables support for the Cirrus Logic PS711 timer.
201ecf0efdcSDaniel Lezcano
202d81c50a0SDaniel Lezcanoconfig MXS_TIMER
20306293463SRandy Dunlap	bool "MXS timer driver" if COMPILE_TEST
204d81c50a0SDaniel Lezcano	select CLKSRC_MMIO
205d81c50a0SDaniel Lezcano	select STMP_DEVICE
206d81c50a0SDaniel Lezcano	help
20706293463SRandy Dunlap	  Enables support for the MXS timer.
208d81c50a0SDaniel Lezcano
209d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER
210d683b9dcSDaniel Lezcano	bool "NSpire timer driver" if COMPILE_TEST
211d683b9dcSDaniel Lezcano	select CLKSRC_MMIO
212d683b9dcSDaniel Lezcano	help
213d683b9dcSDaniel Lezcano	  Enables support for the Nspire timer.
214d683b9dcSDaniel Lezcano
215c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER
216c12547a0SDaniel Lezcano	bool "Keystone timer driver" if COMPILE_TEST
217c12547a0SDaniel Lezcano	depends on ARM || ARM64
218c12547a0SDaniel Lezcano	select CLKSRC_MMIO
219c12547a0SDaniel Lezcano	help
220c12547a0SDaniel Lezcano	  Enables support for the Keystone timer.
221c12547a0SDaniel Lezcano
222568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER
22306293463SRandy Dunlap	bool "Integrator-AP timer driver" if COMPILE_TEST
224568c0342SDaniel Lezcano	select CLKSRC_MMIO
225568c0342SDaniel Lezcano	help
22606293463SRandy Dunlap	  Enables support for the Integrator-AP timer.
227568c0342SDaniel Lezcano
228050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX
229ddcf48c7SDaniel Lezcano	bool "Clocksource for LPC32XX" if COMPILE_TEST
2302f8a26c1SArnd Bergmann	depends on HAS_IOMEM
2311b18fd20SEzequiel Garcia	depends on ARM
232050dd322SJoachim Eastwood	select CLKSRC_MMIO
233bb0eb050SDaniel Lezcano	select TIMER_OF
234ddcf48c7SDaniel Lezcano	help
235ddcf48c7SDaniel Lezcano	  Support for the LPC32XX clocksource.
236050dd322SJoachim Eastwood
23784583983SEzequiel Garciaconfig CLKSRC_PISTACHIO
2381e4fd60bSJiaxun Yang	bool "Clocksource for Pistachio SoC"
2392f8a26c1SArnd Bergmann	depends on HAS_IOMEM
2401e4fd60bSJiaxun Yang	depends on MIPS || COMPILE_TEST
241bb0eb050SDaniel Lezcano	select TIMER_OF
242dfdb1652SDaniel Lezcano	help
243dfdb1652SDaniel Lezcano	  Enables the clocksource for the Pistachio SoC.
24484583983SEzequiel Garcia
245fe851f56SFelipe Balbiconfig CLKSRC_TI_32K
246fe851f56SFelipe Balbi	bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
247dfedaf10SFelipe Balbi	depends on GENERIC_SCHED_CLOCK
248bb0eb050SDaniel Lezcano	select TIMER_OF if OF
249fe851f56SFelipe Balbi	help
250fe851f56SFelipe Balbi	  This option enables support for Texas Instruments 32.768 Hz clocksource
251fe851f56SFelipe Balbi	  available on many OMAP-like platforms.
252fe851f56SFelipe Balbi
253e37e4593SMaxime Coquelinconfig CLKSRC_STM32
2541cb6c215SPaul Gortmaker	bool "Clocksource for STM32 SoCs" if !ARCH_STM32
2551cb6c215SPaul Gortmaker	depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
256e37e4593SMaxime Coquelin	select CLKSRC_MMIO
257d04af490SBenjamin Gaignard	select TIMER_OF
258e37e4593SMaxime Coquelin
25948b41c5eSBenjamin Gaignardconfig CLKSRC_STM32_LP
26048b41c5eSBenjamin Gaignard	bool "Low power clocksource for STM32 SoCs"
26148b41c5eSBenjamin Gaignard	depends on MFD_STM32_LPTIMER || COMPILE_TEST
26248b41c5eSBenjamin Gaignard
2630302637fSVladimir Murzinconfig CLKSRC_MPS2
2640302637fSVladimir Murzin	bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
2650302637fSVladimir Murzin	depends on GENERIC_SCHED_CLOCK
2660302637fSVladimir Murzin	select CLKSRC_MMIO
267bb0eb050SDaniel Lezcano	select TIMER_OF
2680302637fSVladimir Murzin
269c4c9a040SVineet Guptaconfig ARC_TIMERS
270c4c9a040SVineet Gupta	bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST
271bf287607SAlexey Brodkin	depends on GENERIC_SCHED_CLOCK
272bb0eb050SDaniel Lezcano	select TIMER_OF
273c4c9a040SVineet Gupta	help
274c4c9a040SVineet Gupta	  These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores
275c4c9a040SVineet Gupta	  (ARC700 as well as ARC HS38).
27606293463SRandy Dunlap	  TIMER0 serves as clockevent while TIMER1 provides clocksource.
277c4c9a040SVineet Gupta
278c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT
279c4c9a040SVineet Gupta	bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST
280c4c9a040SVineet Gupta	depends on ARC_TIMERS
281bb0eb050SDaniel Lezcano	select TIMER_OF
282c4c9a040SVineet Gupta	help
28306293463SRandy Dunlap	  This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP).
284c4c9a040SVineet Gupta	  RTC is implemented inside the core, while GFRC sits outside the core in
285c4c9a040SVineet Gupta	  ARConnect IP block. Driver automatically picks one of them for clocksource
286c4c9a040SVineet Gupta	  as appropriate.
287c4c9a040SVineet Gupta
2888a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER
2898a4da6e3SMark Rutland	bool
290bb0eb050SDaniel Lezcano	select TIMER_OF if OF
291fa1bffabSDaniel Lezcano	select TIMER_ACPI if ACPI
292a2c5d4edSJames Hogan
293037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM
29446fd5c6bSWill Deacon	bool "Enable ARM architected timer event stream generation by default"
295037f6377SWill Deacon	default y if ARM_ARCH_TIMER
29677f7ce9aSStephen Boyd	depends on ARM_ARCH_TIMER
297037f6377SWill Deacon	help
29846fd5c6bSWill Deacon	  This option enables support by default for event stream generation
29946fd5c6bSWill Deacon	  based on the ARM architected timer. It is used for waking up CPUs
30046fd5c6bSWill Deacon	  executing the wfe instruction at a frequency represented as a
30146fd5c6bSWill Deacon	  power-of-2 divisor of the clock rate. The behaviour can also be
30246fd5c6bSWill Deacon	  overridden on the command line using the
30346fd5c6bSWill Deacon	  clocksource.arm_arch_timer.evtstream parameter.
304037f6377SWill Deacon	  The main use of the event stream is wfe-based timeouts of userspace
305037f6377SWill Deacon	  locking implementations. It might also be useful for imposing timeout
306037f6377SWill Deacon	  on wfe to safeguard against any programming errors in case an expected
307037f6377SWill Deacon	  event is not generated.
308037f6377SWill Deacon	  This must be disabled for hardware validation purposes to detect any
309037f6377SWill Deacon	  hardware anomalies of missing events.
310037f6377SWill Deacon
31116d10ef2SDing Tianhongconfig ARM_ARCH_TIMER_OOL_WORKAROUND
31216d10ef2SDing Tianhong	bool
31316d10ef2SDing Tianhong
314f6dc1576SScott Woodconfig FSL_ERRATUM_A008585
315f6dc1576SScott Wood	bool "Workaround for Freescale/NXP Erratum A-008585"
316f6dc1576SScott Wood	default y
317f6dc1576SScott Wood	depends on ARM_ARCH_TIMER && ARM64
31816d10ef2SDing Tianhong	select ARM_ARCH_TIMER_OOL_WORKAROUND
319f6dc1576SScott Wood	help
320f6dc1576SScott Wood	  This option enables a workaround for Freescale/NXP Erratum
321f6dc1576SScott Wood	  A-008585 ("ARM generic timer may contain an erroneous
322f6dc1576SScott Wood	  value").  The workaround will only be active if the
323f6dc1576SScott Wood	  fsl,erratum-a008585 property is found in the timer node.
324f6dc1576SScott Wood
325bb42ca47SDing Tianhongconfig HISILICON_ERRATUM_161010101
326bb42ca47SDing Tianhong	bool "Workaround for Hisilicon Erratum 161010101"
327bb42ca47SDing Tianhong	default y
328bb42ca47SDing Tianhong	select ARM_ARCH_TIMER_OOL_WORKAROUND
329bb42ca47SDing Tianhong	depends on ARM_ARCH_TIMER && ARM64
330bb42ca47SDing Tianhong	help
331bb42ca47SDing Tianhong	  This option enables a workaround for Hisilicon Erratum
332bb42ca47SDing Tianhong	  161010101. The workaround will be active if the hisilicon,erratum-161010101
333bb42ca47SDing Tianhong	  property is found in the timer node.
334bb42ca47SDing Tianhong
335fa8d815fSMarc Zyngierconfig ARM64_ERRATUM_858921
336fa8d815fSMarc Zyngier	bool "Workaround for Cortex-A73 erratum 858921"
337fa8d815fSMarc Zyngier	default y
338fa8d815fSMarc Zyngier	select ARM_ARCH_TIMER_OOL_WORKAROUND
339fa8d815fSMarc Zyngier	depends on ARM_ARCH_TIMER && ARM64
340fa8d815fSMarc Zyngier	help
341fa8d815fSMarc Zyngier	  This option enables a workaround applicable to Cortex-A73
342fa8d815fSMarc Zyngier	  (all versions), whose counter may return incorrect values.
343fa8d815fSMarc Zyngier	  The workaround will be dynamically enabled when an affected
344fa8d815fSMarc Zyngier	  core is detected.
345fa8d815fSMarc Zyngier
346c950ca8cSSamuel Hollandconfig SUN50I_ERRATUM_UNKNOWN1
347c950ca8cSSamuel Holland	bool "Workaround for Allwinner A64 erratum UNKNOWN1"
348c950ca8cSSamuel Holland	default y
349c950ca8cSSamuel Holland	depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI
350c950ca8cSSamuel Holland	select ARM_ARCH_TIMER_OOL_WORKAROUND
351c950ca8cSSamuel Holland	help
352c950ca8cSSamuel Holland	  This option enables a workaround for instability in the timer on
353c950ca8cSSamuel Holland	  the Allwinner A64 SoC. The workaround will only be active if the
354c950ca8cSSamuel Holland	  allwinner,erratum-unknown1 property is found in the timer node.
355c950ca8cSSamuel Holland
356c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER
35767a87a43SDaniel Lezcano	bool "Support for the ARM global timer" if COMPILE_TEST
358bb0eb050SDaniel Lezcano	select TIMER_OF if OF
35967a87a43SDaniel Lezcano	depends on ARM
360c1b40e44SStuart Menefy	help
36106293463SRandy Dunlap	  This option enables support for the ARM global timer unit.
362c1b40e44SStuart Menefy
363171b45a4SAndrea Merelloconfig ARM_GT_INITIAL_PRESCALER_VAL
364171b45a4SAndrea Merello	int "ARM global timer initial prescaler value"
36568e2215eSAndrea Merello	default 2 if ARCH_ZYNQ
366171b45a4SAndrea Merello	default 1
367171b45a4SAndrea Merello	depends on ARM_GLOBAL_TIMER
368171b45a4SAndrea Merello	help
369171b45a4SAndrea Merello	  When the ARM global timer initializes, its current rate is declared
370*6f6f3e31SRandy Dunlap	  to the kernel and maintained forever. Should its parent clock
371171b45a4SAndrea Merello	  change, the driver tries to fix the timer's internal prescaler.
372171b45a4SAndrea Merello	  On some machs (i.e. Zynq) the initial prescaler value thus poses
373171b45a4SAndrea Merello	  bounds about how much the parent clock is allowed to decrease or
374171b45a4SAndrea Merello	  increase wrt the initial clock value.
375171b45a4SAndrea Merello	  This affects CPU_FREQ max delta from the initial frequency.
376171b45a4SAndrea Merello
3770b7402dcSSudeep Hollaconfig ARM_TIMER_SP804
378dfc82faaSDavid Abdurachmanov	bool "Support for Dual Timer SP804 module" if COMPILE_TEST
3792f4574ddSArnd Bergmann	depends on GENERIC_SCHED_CLOCK && HAVE_CLK
3800b7402dcSSudeep Holla	select CLKSRC_MMIO
381bb0eb050SDaniel Lezcano	select TIMER_OF if OF
3820b7402dcSSudeep Holla
383c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
384c1b40e44SStuart Menefy	bool
385c1b40e44SStuart Menefy	depends on ARM_GLOBAL_TIMER
386c1b40e44SStuart Menefy	default y
387c1b40e44SStuart Menefy	help
38806293463SRandy Dunlap	  Use ARM global timer clock source as sched_clock.
389c1b40e44SStuart Menefy
3904958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK
391e2146d86SDaniel Lezcano	bool "Support for the ARMv7M system time" if COMPILE_TEST
392bb0eb050SDaniel Lezcano	select TIMER_OF if OF
3934958ebb3SMaxime Coquelin	select CLKSRC_MMIO
3944958ebb3SMaxime Coquelin	help
39506293463SRandy Dunlap	  This option enables support for the ARMv7M system timer unit.
3964958ebb3SMaxime Coquelin
397b052ff30SMaxime Ripardconfig ATMEL_PIT
3982f982703SAlexandre Belloni	bool "Atmel PIT support" if COMPILE_TEST
3992f982703SAlexandre Belloni	depends on HAS_IOMEM
400bb0eb050SDaniel Lezcano	select TIMER_OF if OF
4012f982703SAlexandre Belloni	help
4022f982703SAlexandre Belloni	  Support for the Periodic Interval Timer found on Atmel SoCs.
403b052ff30SMaxime Ripard
404b53cdd03SAlexandre Belloniconfig ATMEL_ST
405b988d3f0SDaniel Lezcano	bool "Atmel ST timer support" if COMPILE_TEST
406bd2746f0SMasahiro Yamada	depends on HAS_IOMEM
407bb0eb050SDaniel Lezcano	select TIMER_OF
4087ab7ef74SAlexandre Belloni	select MFD_SYSCON
409b988d3f0SDaniel Lezcano	help
410b988d3f0SDaniel Lezcano	  Support for the Atmel ST timer.
411b53cdd03SAlexandre Belloni
4126275f494SAlexandre Belloniconfig ATMEL_TCB_CLKSRC
4136275f494SAlexandre Belloni	bool "Atmel TC Block timer driver" if COMPILE_TEST
4141ce861ceSAlexandre Belloni	depends on ARM && HAS_IOMEM
4156275f494SAlexandre Belloni	select TIMER_OF if OF
4166275f494SAlexandre Belloni	help
4176275f494SAlexandre Belloni	  Support for Timer Counter Blocks on Atmel SoCs.
4186275f494SAlexandre Belloni
4196938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT
42039366ef4SDaniel Lezcano	bool "Exynos multi core timer driver" if COMPILE_TEST
421f1a4c1f3SChanwoo Choi	depends on ARM || ARM64
4228602a80bSKrzysztof Kozlowski	depends on ARCH_EXYNOS || COMPILE_TEST
4236938d75aSThomas Abraham	help
4246938d75aSThomas Abraham	  Support for Multi Core Timer controller on Exynos SoCs.
425241a9871SArnd Bergmann
426f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM
427de37b0b5SAlexandre Belloni	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
428d7023e62SRichard Weinberger	depends on HAS_IOMEM
4298602a80bSKrzysztof Kozlowski	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
430f1189989STomasz Figa	help
431f1189989STomasz Figa	  This is a new clocksource driver for the PWM timer found in
432f1189989STomasz Figa	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
433f1189989STomasz Figa	  for all devicetree enabled platforms. This driver will be
434f1189989STomasz Figa	  needed only on systems that do not have the Exynos MCT available.
435c1967249SJingchang Lu
4362529c3a3SXiubo Liconfig FSL_FTM_TIMER
437ef49336bSDaniel Lezcano	bool "Freescale FlexTimer Module driver" if COMPILE_TEST
438d7023e62SRichard Weinberger	depends on HAS_IOMEM
43903724ac3SDaniel Lezcano	select CLKSRC_MMIO
4402529c3a3SXiubo Li	help
4412529c3a3SXiubo Li	  Support for Freescale FlexTimer Module (FTM) timer.
4422529c3a3SXiubo Li
443c1967249SJingchang Luconfig VF_PIT_TIMER
444c1967249SJingchang Lu	bool
4452be6d9bfSArnd Bergmann	select CLKSRC_MMIO
446c1967249SJingchang Lu	help
44706293463SRandy Dunlap	  Support for Periodic Interrupt Timer on Freescale Vybrid Family SoCs.
448fd3f1270SMagnus Damm
44989355274SNeil Armstrongconfig OXNAS_RPS_TIMER
45089355274SNeil Armstrong	bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
451bb0eb050SDaniel Lezcano	select TIMER_OF
45289355274SNeil Armstrong	select CLKSRC_MMIO
45389355274SNeil Armstrong	help
45489355274SNeil Armstrong	  This enables support for the Oxford Semiconductor OXNAS RPS timers.
45589355274SNeil Armstrong
456fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT
457fd3f1270SMagnus Damm	bool
458fd3f1270SMagnus Damm
459ecb3530dSMatthias Bruggerconfig MTK_TIMER
460fbca9eabSDaniel Lezcano	bool "Mediatek timer driver" if COMPILE_TEST
4612f8a26c1SArnd Bergmann	depends on HAS_IOMEM
462bb0eb050SDaniel Lezcano	select TIMER_OF
463ecb3530dSMatthias Brugger	select CLKSRC_MMIO
464fbca9eabSDaniel Lezcano	help
465fbca9eabSDaniel Lezcano	  Support for Mediatek timer driver.
466ecb3530dSMatthias Brugger
467067bc914SBaolin Wangconfig SPRD_TIMER
4688a1ece26SChunyan Zhang	bool "Spreadtrum timer driver" if EXPERT
469067bc914SBaolin Wang	depends on HAS_IOMEM
4708a1ece26SChunyan Zhang	depends on (ARCH_SPRD || COMPILE_TEST)
4718a1ece26SChunyan Zhang	default ARCH_SPRD
472067bc914SBaolin Wang	select TIMER_OF
473067bc914SBaolin Wang	help
474067bc914SBaolin Wang	  Enables support for the Spreadtrum timer driver.
475067bc914SBaolin Wang
476fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2
477fd3f1270SMagnus Damm	bool
478fd3f1270SMagnus Damm
479fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU
480fd3f1270SMagnus Damm	bool
481fd3f1270SMagnus Damm
482fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI
483fd3f1270SMagnus Damm	bool
484fd3f1270SMagnus Damm
4859995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT
4869995f4f1SRich Felker	bool "J-Core PIT timer driver" if COMPILE_TEST
4879995f4f1SRich Felker	depends on OF
4889995f4f1SRich Felker	depends on HAS_IOMEM
4899995f4f1SRich Felker	select CLKSRC_MMIO
4909995f4f1SRich Felker	help
4919995f4f1SRich Felker	  This enables build of clocksource and clockevent driver for
4929995f4f1SRich Felker	  the integrated PIT in the J-Core synthesizable, open source SoC.
4939995f4f1SRich Felker
494fd3f1270SMagnus Dammconfig SH_TIMER_CMT
495fd3f1270SMagnus Damm	bool "Renesas CMT timer driver" if COMPILE_TEST
49611bc26feSRichard Weinberger	depends on HAS_IOMEM
497fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_CMT
498fd3f1270SMagnus Damm	help
499fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
500fd3f1270SMagnus Damm	  the Compare Match Timer (CMT) hardware available in 16/32/48-bit
501fd3f1270SMagnus Damm	  variants on a wide range of Mobile and Automotive SoCs from Renesas.
502fd3f1270SMagnus Damm
503fd3f1270SMagnus Dammconfig SH_TIMER_MTU2
504fd3f1270SMagnus Damm	bool "Renesas MTU2 timer driver" if COMPILE_TEST
50511bc26feSRichard Weinberger	depends on HAS_IOMEM
506fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_MTU2
507fd3f1270SMagnus Damm	help
508fd3f1270SMagnus Damm	  This enables build of a clockevent driver for the Multi-Function
5097e139187SKuninori Morimoto	  Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
51006293463SRandy Dunlap	  This hardware comes with 16-bit timer registers.
511fd3f1270SMagnus Damm
512fb6002a8SChris Brandtconfig RENESAS_OSTM
513a2807f65SBiju Das	bool "Renesas OSTM timer driver"
514a2807f65SBiju Das	depends on ARCH_RENESAS || COMPILE_TEST
515fb6002a8SChris Brandt	select CLKSRC_MMIO
51622731423SGeert Uytterhoeven	select TIMER_OF
517fb6002a8SChris Brandt	help
518fb6002a8SChris Brandt	  Enables the support for the Renesas OSTM.
519fb6002a8SChris Brandt
520fd3f1270SMagnus Dammconfig SH_TIMER_TMU
521fd3f1270SMagnus Damm	bool "Renesas TMU timer driver" if COMPILE_TEST
52211bc26feSRichard Weinberger	depends on HAS_IOMEM
523fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_TMU
524fd3f1270SMagnus Damm	help
525fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
526fd3f1270SMagnus Damm	  the 32-bit Timer Unit (TMU) hardware available on a wide range
527fd3f1270SMagnus Damm	  SoCs from Renesas.
528fd3f1270SMagnus Damm
529fd3f1270SMagnus Dammconfig EM_TIMER_STI
530fd3f1270SMagnus Damm	bool "Renesas STI timer driver" if COMPILE_TEST
5312f8a26c1SArnd Bergmann	depends on HAS_IOMEM
532fd3f1270SMagnus Damm	default SYS_SUPPORTS_EM_STI
533fd3f1270SMagnus Damm	help
534fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
535fd3f1270SMagnus Damm	  the 48-bit System Timer (STI) hardware available on a SoCs
536fd3f1270SMagnus Damm	  such as EMEV2 from former NEC Electronics.
537dfc25e45SLinus Torvalds
5383f8e8ceeSKumar Galaconfig CLKSRC_QCOM
5393dc0e9f6SDaniel Lezcano	bool "Qualcomm MSM timer" if COMPILE_TEST
5403dc0e9f6SDaniel Lezcano	depends on ARM
541bb0eb050SDaniel Lezcano	select TIMER_OF
5423dc0e9f6SDaniel Lezcano	help
5433dc0e9f6SDaniel Lezcano	  This enables the clocksource and the per CPU clockevent driver for the
5443dc0e9f6SDaniel Lezcano	  Qualcomm SoCs.
545220e2a8dSPawel Moll
546220e2a8dSPawel Mollconfig CLKSRC_VERSATILE
5475cc87a4dSDaniel Lezcano	bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST
54877f6c0b8SArnd Bergmann	depends on GENERIC_SCHED_CLOCK
549bb0eb050SDaniel Lezcano	select TIMER_OF
550bfed0edeSRob Herring	default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM
551220e2a8dSPawel Moll	help
552220e2a8dSPawel Moll	  This option enables clock source based on free running
553220e2a8dSPawel Moll	  counter available in the "System Registers" block of
554bfed0edeSRob Herring	  ARM Versatile and Versatile Express reference platforms.
55558394271SJean Delvare
556fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC
557fa5635a2SAndrew Bresticker	bool
558fa5635a2SAndrew Bresticker	depends on MIPS_GIC
5597d7de1a6SSerge Semin	select CLOCKSOURCE_WATCHDOG
560bb0eb050SDaniel Lezcano	select TIMER_OF
561fa5635a2SAndrew Bresticker
562e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA
5635ae996cbSDaniel Lezcano	bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
564d7023e62SRichard Weinberger	depends on HAS_IOMEM
5655ae996cbSDaniel Lezcano	select CLKSRC_MMIO
566e074ff86SDmitry Eremin-Solenikov	help
567e074ff86SDmitry Eremin-Solenikov	  This enables OST0 support available on PXA and SA-11x0
568e074ff86SDmitry Eremin-Solenikov	  platforms.
569618b902dSYoshinori Sato
57097a23bebSDaniel Lezcanoconfig H8300_TMR8
57146e7c3c6SDaniel Lezcano	bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
5722f8a26c1SArnd Bergmann	depends on HAS_IOMEM
57346e7c3c6SDaniel Lezcano	help
57446e7c3c6SDaniel Lezcano	  This enables the 8 bits timer for the H8300 platform.
57597a23bebSDaniel Lezcano
576618b902dSYoshinori Satoconfig H8300_TMR16
57746e7c3c6SDaniel Lezcano	bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
5782f8a26c1SArnd Bergmann	depends on HAS_IOMEM
57946e7c3c6SDaniel Lezcano	help
58046e7c3c6SDaniel Lezcano	  This enables the 16 bits timer for the H8300 platform with the
58106293463SRandy Dunlap	  H83069 CPU.
582618b902dSYoshinori Sato
583618b902dSYoshinori Satoconfig H8300_TPU
58446e7c3c6SDaniel Lezcano	bool "Clocksource for the H8300 platform" if COMPILE_TEST
5852f8a26c1SArnd Bergmann	depends on HAS_IOMEM
58646e7c3c6SDaniel Lezcano	help
58746e7c3c6SDaniel Lezcano	  This enables the clocksource for the H8300 platform with the
58806293463SRandy Dunlap	  H8S2678 CPU.
589618b902dSYoshinori Sato
590bea5af41SShawn Guoconfig CLKSRC_IMX_GPT
591bea5af41SShawn Guo	bool "Clocksource using i.MX GPT" if COMPILE_TEST
5922f4574ddSArnd Bergmann	depends on (ARM || ARM64) && HAVE_CLK
593bea5af41SShawn Guo	select CLKSRC_MMIO
594bea5af41SShawn Guo
595059ab7b8SDong Aishengconfig CLKSRC_IMX_TPM
596059ab7b8SDong Aisheng	bool "Clocksource using i.MX TPM" if COMPILE_TEST
5972f4574ddSArnd Bergmann	depends on (ARM || ARM64) && HAVE_CLK
598059ab7b8SDong Aisheng	select CLKSRC_MMIO
599a6d0812aSAnson Huang	select TIMER_OF
600059ab7b8SDong Aisheng	help
601059ab7b8SDong Aisheng	  Enable this option to use IMX Timer/PWM Module (TPM) timer as
602059ab7b8SDong Aisheng	  clocksource.
603059ab7b8SDong Aisheng
6047117a44bSBai Pingconfig TIMER_IMX_SYS_CTR
6057117a44bSBai Ping	bool "i.MX system counter timer" if COMPILE_TEST
6067117a44bSBai Ping	select TIMER_OF
6077117a44bSBai Ping	help
6087117a44bSBai Ping	  Enable this option to use i.MX system counter timer as a
6097117a44bSBai Ping	  clockevent.
6107117a44bSBai Ping
61170bef01cSLee Jonesconfig CLKSRC_ST_LPC
612baacaf83SDaniel Lezcano	bool "Low power clocksource found in the LPC" if COMPILE_TEST
613bb0eb050SDaniel Lezcano	select TIMER_OF if OF
614863ee050SRichard Weinberger	depends on HAS_IOMEM
6152be6d9bfSArnd Bergmann	select CLKSRC_MMIO
61670bef01cSLee Jones	help
61770bef01cSLee Jones	  Enable this option to use the Low Power controller timer
61870bef01cSLee Jones	  as clocksource.
61970bef01cSLee Jones
62062b01943SPalmer Dabbeltconfig RISCV_TIMER
6212bc3fc87SAnup Patel	bool "Timer for the RISC-V platform" if COMPILE_TEST
622ab310544SKefeng Wang	depends on GENERIC_SCHED_CLOCK && RISCV && RISCV_SBI
62362b01943SPalmer Dabbelt	select TIMER_PROBE
62462b01943SPalmer Dabbelt	select TIMER_OF
62562b01943SPalmer Dabbelt	help
62662b01943SPalmer Dabbelt	  This enables the per-hart timer built into all RISC-V systems, which
62762b01943SPalmer Dabbelt	  is accessed via both the SBI and the rdcycle instruction.  This is
62862b01943SPalmer Dabbelt	  required for all RISC-V systems.
62962b01943SPalmer Dabbelt
6302ac6795fSAnup Patelconfig CLINT_TIMER
6312ac6795fSAnup Patel	bool "CLINT Timer for the RISC-V platform" if COMPILE_TEST
6322ac6795fSAnup Patel	depends on GENERIC_SCHED_CLOCK && RISCV
6332ac6795fSAnup Patel	select TIMER_PROBE
6342ac6795fSAnup Patel	select TIMER_OF
6352ac6795fSAnup Patel	help
6362ac6795fSAnup Patel	  This option enables the CLINT timer for RISC-V systems.  The CLINT
6372ac6795fSAnup Patel	  driver is usually used for NoMMU RISC-V systems.
6382ac6795fSAnup Patel
639a7ad38b0SGuo Renconfig CSKY_MP_TIMER
640a7ad38b0SGuo Ren	bool "SMP Timer for the C-SKY platform" if COMPILE_TEST
641a7ad38b0SGuo Ren	depends on CSKY
642a7ad38b0SGuo Ren	select TIMER_OF
643a7ad38b0SGuo Ren	help
644a7ad38b0SGuo Ren	  Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP
645a7ad38b0SGuo Ren	  system.
64606293463SRandy Dunlap	  csky,mptimer is not only used in SMP system, it also could be used in
64706293463SRandy Dunlap	  single core system. It's not a mmio reg and it uses mtcr/mfcr instruction.
648a7ad38b0SGuo Ren
64933745c3cSGuo Renconfig GX6605S_TIMER
65033745c3cSGuo Ren	bool "Gx6605s SOC system timer driver" if COMPILE_TEST
65133745c3cSGuo Ren	depends on CSKY
65233745c3cSGuo Ren	select CLKSRC_MMIO
65333745c3cSGuo Ren	select TIMER_OF
65433745c3cSGuo Ren	help
65533745c3cSGuo Ren	  This option enables support for gx6605s SOC's timer.
65633745c3cSGuo Ren
657b58f28f3SSugaya Taichiconfig MILBEAUT_TIMER
658b58f28f3SSugaya Taichi	bool "Milbeaut timer driver" if COMPILE_TEST
659b58f28f3SSugaya Taichi	depends on OF
660b58f28f3SSugaya Taichi	depends on ARM
661b58f28f3SSugaya Taichi	select TIMER_OF
662b58f28f3SSugaya Taichi	select CLKSRC_MMIO
663b58f28f3SSugaya Taichi	help
664b58f28f3SSugaya Taichi	  Enables the support for Milbeaut timer driver.
665b58f28f3SSugaya Taichi
6665fc1f93fSRomain Perierconfig MSC313E_TIMER
6675fc1f93fSRomain Perier	bool "MSC313E timer driver" if COMPILE_TEST
6685fc1f93fSRomain Perier	select TIMER_OF
6695fc1f93fSRomain Perier	select CLKSRC_MMIO
6705fc1f93fSRomain Perier	help
6715fc1f93fSRomain Perier	  Enables support for the MStar MSC313E timer driver.
6725fc1f93fSRomain Perier	  This provides access to multiple interrupt generating
6735fc1f93fSRomain Perier	  programmable 32-bit free running incrementing counters.
6745fc1f93fSRomain Perier
67534e93683SPaul Cercueilconfig INGENIC_TIMER
67634e93683SPaul Cercueil	bool "Clocksource/timer using the TCU in Ingenic JZ SoCs"
67734e93683SPaul Cercueil	default MACH_INGENIC
67834e93683SPaul Cercueil	depends on MIPS || COMPILE_TEST
67934e93683SPaul Cercueil	depends on COMMON_CLK
68034e93683SPaul Cercueil	select MFD_SYSCON
68134e93683SPaul Cercueil	select TIMER_OF
68234e93683SPaul Cercueil	select IRQ_DOMAIN
68334e93683SPaul Cercueil	help
68434e93683SPaul Cercueil	  Support for the timer/counter unit of the Ingenic JZ SoCs.
68534e93683SPaul Cercueil
6865ecafc12S周琰杰 (Zhou Yanjie)config INGENIC_SYSOST
6875ecafc12S周琰杰 (Zhou Yanjie)	bool "Clocksource/timer using the SYSOST in Ingenic X SoCs"
6885ecafc12S周琰杰 (Zhou Yanjie)	depends on MIPS || COMPILE_TEST
6895ecafc12S周琰杰 (Zhou Yanjie)	depends on COMMON_CLK
6905ecafc12S周琰杰 (Zhou Yanjie)	select MFD_SYSCON
6915ecafc12S周琰杰 (Zhou Yanjie)	select TIMER_OF
6925ecafc12S周琰杰 (Zhou Yanjie)	select IRQ_DOMAIN
6935ecafc12S周琰杰 (Zhou Yanjie)	help
6945ecafc12S周琰杰 (Zhou Yanjie)	  Support for the SYSOST of the Ingenic X Series SoCs.
6955ecafc12S周琰杰 (Zhou Yanjie)
696ca7b72b5SMaarten ter Huurneconfig INGENIC_OST
6975ecafc12S周琰杰 (Zhou Yanjie)	bool "Clocksource using the OST in Ingenic JZ SoCs"
698ca7b72b5SMaarten ter Huurne	depends on MIPS || COMPILE_TEST
699ca7b72b5SMaarten ter Huurne	depends on COMMON_CLK
700ca7b72b5SMaarten ter Huurne	select MFD_SYSCON
701ca7b72b5SMaarten ter Huurne	help
702ca7b72b5SMaarten ter Huurne	  Support for the Operating System Timer of the Ingenic JZ SoCs.
703ca7b72b5SMaarten ter Huurne
704625022a5SClaudiu Bezneaconfig MICROCHIP_PIT64B
705625022a5SClaudiu Beznea	bool "Microchip PIT64B support"
706625022a5SClaudiu Beznea	depends on OF || COMPILE_TEST
70725259f7aSMichael Ellerman	select TIMER_OF
708625022a5SClaudiu Beznea	help
709625022a5SClaudiu Beznea	  This option enables Microchip PIT64B timer for Atmel
710625022a5SClaudiu Beznea	  based system. It supports the oneshot, the periodic
711625022a5SClaudiu Beznea	  modes and high resolution. It is used as a clocksource
712625022a5SClaudiu Beznea	  and a clockevent.
713625022a5SClaudiu Beznea
71458394271SJean Delvareendmenu
715