xref: /linux/drivers/clocksource/Kconfig (revision ab0bbef3ae0f6b5a3b60671cd0124d0fc4fc2567)
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
25*ab0bbef3STony Lindgrenconfig OMAP_DM_SYSTIMER
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
59*ab0bbef3STony Lindgrenconfig OMAP_DM_TIMER
60*ab0bbef3STony Lindgren	tristate "OMAP dual-mode timer driver" if ARCH_K3 || COMPILE_TEST
61*ab0bbef3STony Lindgren	select TIMER_OF
62*ab0bbef3STony Lindgren	help
63*ab0bbef3STony Lindgren	  Enables the support for the TI dual-mode timer driver.
64*ab0bbef3STony Lindgren
6506c3df49SJamie Ilesconfig DW_APB_TIMER
665b097f6bSDaniel Lezcano	bool "DW APB timer driver" if COMPILE_TEST
675b097f6bSDaniel Lezcano	help
685b097f6bSDaniel Lezcano	  Enables the support for the dw_apb timer.
69489bcceaSMattias Wallin
70cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF
71cfda5901SDinh Nguyen	bool
721b4eca0fSHeiko Stuebner	select DW_APB_TIMER
73bb0eb050SDaniel Lezcano	select TIMER_OF
74cfda5901SDinh Nguyen
75f5bf0ee4SLinus Walleijconfig FTTMR010_TIMER
76f5bf0ee4SLinus Walleij	bool "Faraday Technology timer driver" if COMPILE_TEST
774750535bSLinus Walleij	depends on HAS_IOMEM
784750535bSLinus Walleij	select CLKSRC_MMIO
79bb0eb050SDaniel Lezcano	select TIMER_OF
804750535bSLinus Walleij	select MFD_SYSCON
814750535bSLinus Walleij	help
82f5bf0ee4SLinus Walleij	  Enables support for the Faraday Technology timer block
83f5bf0ee4SLinus Walleij	  FTTMR010.
844750535bSLinus Walleij
8513e0b405SLinus Walleijconfig IXP4XX_TIMER
8613e0b405SLinus Walleij	bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST
8713e0b405SLinus Walleij	depends on HAS_IOMEM
8813e0b405SLinus Walleij	select CLKSRC_MMIO
8941929c9fSLinus Walleij	select TIMER_OF
9013e0b405SLinus Walleij	help
9113e0b405SLinus Walleij	  Enables support for the Intel XScale IXP4xx SoC timer.
9213e0b405SLinus Walleij
93468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER
9440ada2aaSDaniel Lezcano	bool "Rockchip timer driver" if COMPILE_TEST
9540ada2aaSDaniel Lezcano	depends on ARM || ARM64
96bb0eb050SDaniel Lezcano	select TIMER_OF
975e0a39d0SAlexander Kochetkov	select CLKSRC_MMIO
9840ada2aaSDaniel Lezcano	help
9906293463SRandy Dunlap	  Enables the support for the Rockchip timer driver.
100468b8c4cSDaniel Lezcano
1016fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
1029519e80cSDaniel Lezcano	bool "Armada 370 and XP timer driver" if COMPILE_TEST
1039519e80cSDaniel Lezcano	depends on ARM
104bb0eb050SDaniel Lezcano	select TIMER_OF
1052be6d9bfSArnd Bergmann	select CLKSRC_MMIO
1069519e80cSDaniel Lezcano	help
1079519e80cSDaniel Lezcano	  Enables the support for the Armada 370 and XP timer driver.
1086fe9cbd1SGregory CLEMENT
109e4a6b378SCarlo Caioneconfig MESON6_TIMER
1100b7a7bb7SDaniel Lezcano	bool "Meson6 timer driver" if COMPILE_TEST
1117b6b0a45SBeniamino Galvani	select CLKSRC_MMIO
1120b7a7bb7SDaniel Lezcano	help
1130b7a7bb7SDaniel Lezcano	  Enables the support for the Meson6 timer driver.
114e4a6b378SCarlo Caione
1150c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER
116c9165549SDaniel Lezcano	bool "Orion timer driver" if COMPILE_TEST
117c9165549SDaniel Lezcano	depends on ARM
118bb0eb050SDaniel Lezcano	select TIMER_OF
1190c1dcfd5SSebastian Hesselbarth	select CLKSRC_MMIO
120c9165549SDaniel Lezcano	help
121c9165549SDaniel Lezcano	  Enables the support for the Orion timer driver
1220c1dcfd5SSebastian Hesselbarth
1234be78a86SAndreas Färberconfig OWL_TIMER
1244be78a86SAndreas Färber	bool "Owl timer driver" if COMPILE_TEST
1254be78a86SAndreas Färber	select CLKSRC_MMIO
1264be78a86SAndreas Färber	help
1274be78a86SAndreas Färber	  Enables the support for the Actions Semi Owl timer driver.
1284be78a86SAndreas Färber
1297f83a132SManivannan Sadhasivamconfig RDA_TIMER
1307f83a132SManivannan Sadhasivam	bool "RDA timer driver" if COMPILE_TEST
1317f83a132SManivannan Sadhasivam	select CLKSRC_MMIO
1327f83a132SManivannan Sadhasivam	select TIMER_OF
1337f83a132SManivannan Sadhasivam	help
1347f83a132SManivannan Sadhasivam	  Enables the support for the RDA Micro timer driver.
1357f83a132SManivannan Sadhasivam
136119fd635SMaxime Ripardconfig SUN4I_TIMER
137b4fcd48bSDaniel Lezcano	bool "Sun4i timer driver" if COMPILE_TEST
138d7023e62SRichard Weinberger	depends on HAS_IOMEM
13971c568c0SMaxime Ripard	select CLKSRC_MMIO
140239751edSDaniel Lezcano	select TIMER_OF
141b4fcd48bSDaniel Lezcano	help
142b4fcd48bSDaniel Lezcano	  Enables support for the Sun4i timer.
143b2ac5d75SMaxime Ripard
14467905540SMaxime Ripardconfig SUN5I_HSTIMER
145f0c5afb7SDaniel Lezcano	bool "Sun5i timer driver" if COMPILE_TEST
14667905540SMaxime Ripard	select CLKSRC_MMIO
147f0c5afb7SDaniel Lezcano	depends on COMMON_CLK
148f0c5afb7SDaniel Lezcano	help
149f0c5afb7SDaniel Lezcano	  Enables support the Sun5i timer.
15067905540SMaxime Ripard
151910978e7SThierry Redingconfig TEGRA_TIMER
152adce4bc8SDaniel Lezcano	bool "Tegra timer driver" if COMPILE_TEST
1532be6d9bfSArnd Bergmann	select CLKSRC_MMIO
154b4822dc7SJoseph Lo	select TIMER_OF
155acb4bb3fSDmitry Osipenko	depends on ARCH_TEGRA || COMPILE_TEST
156adce4bc8SDaniel Lezcano	help
157adce4bc8SDaniel Lezcano	  Enables support for the Tegra driver.
158910978e7SThierry Reding
15942cee19aSThierry Redingconfig TEGRA186_TIMER
16042cee19aSThierry Reding	tristate "NVIDIA Tegra186 timer driver"
16142cee19aSThierry Reding	depends on ARCH_TEGRA || COMPILE_TEST
16242cee19aSThierry Reding	depends on WATCHDOG && WATCHDOG_CORE
16342cee19aSThierry Reding	help
16442cee19aSThierry Reding	  Enables support for the timers and watchdogs found on NVIDIA
16542cee19aSThierry Reding	  Tegra186 and later SoCs.
16642cee19aSThierry Reding
167ff7ec345STony Priskconfig VT8500_TIMER
168b4bdf7efSDaniel Lezcano	bool "VT8500 timer driver" if COMPILE_TEST
169d7023e62SRichard Weinberger	depends on HAS_IOMEM
170b4bdf7efSDaniel Lezcano	help
171b4bdf7efSDaniel Lezcano	  Enables support for the VT8500 driver.
172ff7ec345STony Prisk
1731c00289eSTomer Maimonconfig NPCM7XX_TIMER
1741c00289eSTomer Maimon	bool "NPCM7xx timer driver" if COMPILE_TEST
1751c00289eSTomer Maimon	depends on HAS_IOMEM
17699834eeaSArnd Bergmann	select TIMER_OF
1771c00289eSTomer Maimon	select CLKSRC_MMIO
1781c00289eSTomer Maimon	help
1791c00289eSTomer Maimon	  Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture,
18006293463SRandy Dunlap	  where TIMER0 serves as clockevent and TIMER1 serves as clocksource.
1811c00289eSTomer Maimon
1824f0f234fSMichal Simekconfig CADENCE_TTC_TIMER
18357f49318SDaniel Lezcano	bool "Cadence TTC timer driver" if COMPILE_TEST
18457f49318SDaniel Lezcano	depends on COMMON_CLK
18557f49318SDaniel Lezcano	help
18606293463SRandy Dunlap	  Enables support for the Cadence TTC driver.
1874f0f234fSMichal Simek
188a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER
189b9755841SDaniel Lezcano	bool "ASM9260 timer driver" if COMPILE_TEST
190a8b1b9fcSDaniel Lezcano	select CLKSRC_MMIO
191bb0eb050SDaniel Lezcano	select TIMER_OF
192b9755841SDaniel Lezcano	help
193b9755841SDaniel Lezcano	  Enables support for the ASM9260 timer.
194a8b1b9fcSDaniel Lezcano
195694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
19670329653SDaniel Lezcano	bool "Nomakdik clocksource driver" if COMPILE_TEST
19770329653SDaniel Lezcano	depends on ARM
198694e33a7SLinus Walleij	select CLKSRC_MMIO
199694e33a7SLinus Walleij	help
200694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
201694e33a7SLinus Walleij	  to multiple interrupt generating programmable
202694e33a7SLinus Walleij	  32-bit free running decrementing counters.
203694e33a7SLinus Walleij
204489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
2051becd6edSDaniel Lezcano	bool "Clocksource PRCMU Timer" if COMPILE_TEST
206d7023e62SRichard Weinberger	depends on HAS_IOMEM
207489bcceaSMattias Wallin	help
20806293463SRandy Dunlap	  Use the always on PRCMU Timer as clocksource.
209489bcceaSMattias Wallin
210ecf0efdcSDaniel Lezcanoconfig CLPS711X_TIMER
21106293463SRandy Dunlap	bool "Cirrus Logic timer driver" if COMPILE_TEST
212ecf0efdcSDaniel Lezcano	select CLKSRC_MMIO
213ecf0efdcSDaniel Lezcano	help
214ecf0efdcSDaniel Lezcano	  Enables support for the Cirrus Logic PS711 timer.
215ecf0efdcSDaniel Lezcano
216d81c50a0SDaniel Lezcanoconfig MXS_TIMER
21706293463SRandy Dunlap	bool "MXS timer driver" if COMPILE_TEST
218d81c50a0SDaniel Lezcano	select CLKSRC_MMIO
219d81c50a0SDaniel Lezcano	select STMP_DEVICE
220d81c50a0SDaniel Lezcano	help
22106293463SRandy Dunlap	  Enables support for the MXS timer.
222d81c50a0SDaniel Lezcano
223d683b9dcSDaniel Lezcanoconfig NSPIRE_TIMER
224d683b9dcSDaniel Lezcano	bool "NSpire timer driver" if COMPILE_TEST
225d683b9dcSDaniel Lezcano	select CLKSRC_MMIO
226d683b9dcSDaniel Lezcano	help
227d683b9dcSDaniel Lezcano	  Enables support for the Nspire timer.
228d683b9dcSDaniel Lezcano
229c12547a0SDaniel Lezcanoconfig KEYSTONE_TIMER
230c12547a0SDaniel Lezcano	bool "Keystone timer driver" if COMPILE_TEST
231c12547a0SDaniel Lezcano	depends on ARM || ARM64
232c12547a0SDaniel Lezcano	select CLKSRC_MMIO
233c12547a0SDaniel Lezcano	help
234c12547a0SDaniel Lezcano	  Enables support for the Keystone timer.
235c12547a0SDaniel Lezcano
236568c0342SDaniel Lezcanoconfig INTEGRATOR_AP_TIMER
23706293463SRandy Dunlap	bool "Integrator-AP timer driver" if COMPILE_TEST
238568c0342SDaniel Lezcano	select CLKSRC_MMIO
239568c0342SDaniel Lezcano	help
24006293463SRandy Dunlap	  Enables support for the Integrator-AP timer.
241568c0342SDaniel Lezcano
242050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX
243ddcf48c7SDaniel Lezcano	bool "Clocksource for LPC32XX" if COMPILE_TEST
2442f8a26c1SArnd Bergmann	depends on HAS_IOMEM
2451b18fd20SEzequiel Garcia	depends on ARM
246050dd322SJoachim Eastwood	select CLKSRC_MMIO
247bb0eb050SDaniel Lezcano	select TIMER_OF
248ddcf48c7SDaniel Lezcano	help
249ddcf48c7SDaniel Lezcano	  Support for the LPC32XX clocksource.
250050dd322SJoachim Eastwood
25184583983SEzequiel Garciaconfig CLKSRC_PISTACHIO
2521e4fd60bSJiaxun Yang	bool "Clocksource for Pistachio SoC"
2532f8a26c1SArnd Bergmann	depends on HAS_IOMEM
2541e4fd60bSJiaxun Yang	depends on MIPS || COMPILE_TEST
255bb0eb050SDaniel Lezcano	select TIMER_OF
256dfdb1652SDaniel Lezcano	help
257dfdb1652SDaniel Lezcano	  Enables the clocksource for the Pistachio SoC.
25884583983SEzequiel Garcia
259fe851f56SFelipe Balbiconfig CLKSRC_TI_32K
260fe851f56SFelipe Balbi	bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
261dfedaf10SFelipe Balbi	depends on GENERIC_SCHED_CLOCK
262bb0eb050SDaniel Lezcano	select TIMER_OF if OF
263fe851f56SFelipe Balbi	help
264fe851f56SFelipe Balbi	  This option enables support for Texas Instruments 32.768 Hz clocksource
265fe851f56SFelipe Balbi	  available on many OMAP-like platforms.
266fe851f56SFelipe Balbi
267e37e4593SMaxime Coquelinconfig CLKSRC_STM32
2681cb6c215SPaul Gortmaker	bool "Clocksource for STM32 SoCs" if !ARCH_STM32
2691cb6c215SPaul Gortmaker	depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
270e37e4593SMaxime Coquelin	select CLKSRC_MMIO
271d04af490SBenjamin Gaignard	select TIMER_OF
272e37e4593SMaxime Coquelin
27348b41c5eSBenjamin Gaignardconfig CLKSRC_STM32_LP
27448b41c5eSBenjamin Gaignard	bool "Low power clocksource for STM32 SoCs"
27548b41c5eSBenjamin Gaignard	depends on MFD_STM32_LPTIMER || COMPILE_TEST
27648b41c5eSBenjamin Gaignard
2770302637fSVladimir Murzinconfig CLKSRC_MPS2
2780302637fSVladimir Murzin	bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
2790302637fSVladimir Murzin	depends on GENERIC_SCHED_CLOCK
2800302637fSVladimir Murzin	select CLKSRC_MMIO
281bb0eb050SDaniel Lezcano	select TIMER_OF
2820302637fSVladimir Murzin
283c4c9a040SVineet Guptaconfig ARC_TIMERS
284c4c9a040SVineet Gupta	bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST
285bf287607SAlexey Brodkin	depends on GENERIC_SCHED_CLOCK
286bb0eb050SDaniel Lezcano	select TIMER_OF
287c4c9a040SVineet Gupta	help
288c4c9a040SVineet Gupta	  These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores
289c4c9a040SVineet Gupta	  (ARC700 as well as ARC HS38).
29006293463SRandy Dunlap	  TIMER0 serves as clockevent while TIMER1 provides clocksource.
291c4c9a040SVineet Gupta
292c4c9a040SVineet Guptaconfig ARC_TIMERS_64BIT
293c4c9a040SVineet Gupta	bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST
294c4c9a040SVineet Gupta	depends on ARC_TIMERS
295bb0eb050SDaniel Lezcano	select TIMER_OF
296c4c9a040SVineet Gupta	help
29706293463SRandy Dunlap	  This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP).
298c4c9a040SVineet Gupta	  RTC is implemented inside the core, while GFRC sits outside the core in
299c4c9a040SVineet Gupta	  ARConnect IP block. Driver automatically picks one of them for clocksource
300c4c9a040SVineet Gupta	  as appropriate.
301c4c9a040SVineet Gupta
3028a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER
3038a4da6e3SMark Rutland	bool
304bb0eb050SDaniel Lezcano	select TIMER_OF if OF
305fa1bffabSDaniel Lezcano	select TIMER_ACPI if ACPI
306a2c5d4edSJames Hogan
307037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM
30846fd5c6bSWill Deacon	bool "Enable ARM architected timer event stream generation by default"
309037f6377SWill Deacon	default y if ARM_ARCH_TIMER
31077f7ce9aSStephen Boyd	depends on ARM_ARCH_TIMER
311037f6377SWill Deacon	help
31246fd5c6bSWill Deacon	  This option enables support by default for event stream generation
31346fd5c6bSWill Deacon	  based on the ARM architected timer. It is used for waking up CPUs
31446fd5c6bSWill Deacon	  executing the wfe instruction at a frequency represented as a
31546fd5c6bSWill Deacon	  power-of-2 divisor of the clock rate. The behaviour can also be
31646fd5c6bSWill Deacon	  overridden on the command line using the
31746fd5c6bSWill Deacon	  clocksource.arm_arch_timer.evtstream parameter.
318037f6377SWill Deacon	  The main use of the event stream is wfe-based timeouts of userspace
319037f6377SWill Deacon	  locking implementations. It might also be useful for imposing timeout
320037f6377SWill Deacon	  on wfe to safeguard against any programming errors in case an expected
321037f6377SWill Deacon	  event is not generated.
322037f6377SWill Deacon	  This must be disabled for hardware validation purposes to detect any
323037f6377SWill Deacon	  hardware anomalies of missing events.
324037f6377SWill Deacon
32516d10ef2SDing Tianhongconfig ARM_ARCH_TIMER_OOL_WORKAROUND
32616d10ef2SDing Tianhong	bool
32716d10ef2SDing Tianhong
328f6dc1576SScott Woodconfig FSL_ERRATUM_A008585
329f6dc1576SScott Wood	bool "Workaround for Freescale/NXP Erratum A-008585"
330f6dc1576SScott Wood	default y
331f6dc1576SScott Wood	depends on ARM_ARCH_TIMER && ARM64
33216d10ef2SDing Tianhong	select ARM_ARCH_TIMER_OOL_WORKAROUND
333f6dc1576SScott Wood	help
334f6dc1576SScott Wood	  This option enables a workaround for Freescale/NXP Erratum
335f6dc1576SScott Wood	  A-008585 ("ARM generic timer may contain an erroneous
336f6dc1576SScott Wood	  value").  The workaround will only be active if the
337f6dc1576SScott Wood	  fsl,erratum-a008585 property is found in the timer node.
338f6dc1576SScott Wood
339bb42ca47SDing Tianhongconfig HISILICON_ERRATUM_161010101
340bb42ca47SDing Tianhong	bool "Workaround for Hisilicon Erratum 161010101"
341bb42ca47SDing Tianhong	default y
342bb42ca47SDing Tianhong	select ARM_ARCH_TIMER_OOL_WORKAROUND
343bb42ca47SDing Tianhong	depends on ARM_ARCH_TIMER && ARM64
344bb42ca47SDing Tianhong	help
345bb42ca47SDing Tianhong	  This option enables a workaround for Hisilicon Erratum
346bb42ca47SDing Tianhong	  161010101. The workaround will be active if the hisilicon,erratum-161010101
347bb42ca47SDing Tianhong	  property is found in the timer node.
348bb42ca47SDing Tianhong
349fa8d815fSMarc Zyngierconfig ARM64_ERRATUM_858921
350fa8d815fSMarc Zyngier	bool "Workaround for Cortex-A73 erratum 858921"
351fa8d815fSMarc Zyngier	default y
352fa8d815fSMarc Zyngier	select ARM_ARCH_TIMER_OOL_WORKAROUND
353fa8d815fSMarc Zyngier	depends on ARM_ARCH_TIMER && ARM64
354fa8d815fSMarc Zyngier	help
355fa8d815fSMarc Zyngier	  This option enables a workaround applicable to Cortex-A73
356fa8d815fSMarc Zyngier	  (all versions), whose counter may return incorrect values.
357fa8d815fSMarc Zyngier	  The workaround will be dynamically enabled when an affected
358fa8d815fSMarc Zyngier	  core is detected.
359fa8d815fSMarc Zyngier
360c950ca8cSSamuel Hollandconfig SUN50I_ERRATUM_UNKNOWN1
361c950ca8cSSamuel Holland	bool "Workaround for Allwinner A64 erratum UNKNOWN1"
362c950ca8cSSamuel Holland	default y
363c950ca8cSSamuel Holland	depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI
364c950ca8cSSamuel Holland	select ARM_ARCH_TIMER_OOL_WORKAROUND
365c950ca8cSSamuel Holland	help
366c950ca8cSSamuel Holland	  This option enables a workaround for instability in the timer on
367c950ca8cSSamuel Holland	  the Allwinner A64 SoC. The workaround will only be active if the
368c950ca8cSSamuel Holland	  allwinner,erratum-unknown1 property is found in the timer node.
369c950ca8cSSamuel Holland
370c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER
37167a87a43SDaniel Lezcano	bool "Support for the ARM global timer" if COMPILE_TEST
372bb0eb050SDaniel Lezcano	select TIMER_OF if OF
37367a87a43SDaniel Lezcano	depends on ARM
374c1b40e44SStuart Menefy	help
37506293463SRandy Dunlap	  This option enables support for the ARM global timer unit.
376c1b40e44SStuart Menefy
377171b45a4SAndrea Merelloconfig ARM_GT_INITIAL_PRESCALER_VAL
378171b45a4SAndrea Merello	int "ARM global timer initial prescaler value"
37968e2215eSAndrea Merello	default 2 if ARCH_ZYNQ
380171b45a4SAndrea Merello	default 1
381171b45a4SAndrea Merello	depends on ARM_GLOBAL_TIMER
382171b45a4SAndrea Merello	help
383171b45a4SAndrea Merello	  When the ARM global timer initializes, its current rate is declared
3846f6f3e31SRandy Dunlap	  to the kernel and maintained forever. Should its parent clock
385171b45a4SAndrea Merello	  change, the driver tries to fix the timer's internal prescaler.
386171b45a4SAndrea Merello	  On some machs (i.e. Zynq) the initial prescaler value thus poses
387171b45a4SAndrea Merello	  bounds about how much the parent clock is allowed to decrease or
388171b45a4SAndrea Merello	  increase wrt the initial clock value.
389171b45a4SAndrea Merello	  This affects CPU_FREQ max delta from the initial frequency.
390171b45a4SAndrea Merello
3910b7402dcSSudeep Hollaconfig ARM_TIMER_SP804
392dfc82faaSDavid Abdurachmanov	bool "Support for Dual Timer SP804 module" if COMPILE_TEST
3932f4574ddSArnd Bergmann	depends on GENERIC_SCHED_CLOCK && HAVE_CLK
3940b7402dcSSudeep Holla	select CLKSRC_MMIO
395bb0eb050SDaniel Lezcano	select TIMER_OF if OF
3960b7402dcSSudeep Holla
397c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
398c1b40e44SStuart Menefy	bool
399c1b40e44SStuart Menefy	depends on ARM_GLOBAL_TIMER
400c1b40e44SStuart Menefy	default y
401c1b40e44SStuart Menefy	help
40206293463SRandy Dunlap	  Use ARM global timer clock source as sched_clock.
403c1b40e44SStuart Menefy
4044958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK
405e2146d86SDaniel Lezcano	bool "Support for the ARMv7M system time" if COMPILE_TEST
406bb0eb050SDaniel Lezcano	select TIMER_OF if OF
4074958ebb3SMaxime Coquelin	select CLKSRC_MMIO
4084958ebb3SMaxime Coquelin	help
40906293463SRandy Dunlap	  This option enables support for the ARMv7M system timer unit.
4104958ebb3SMaxime Coquelin
411b052ff30SMaxime Ripardconfig ATMEL_PIT
4122f982703SAlexandre Belloni	bool "Atmel PIT support" if COMPILE_TEST
4132f982703SAlexandre Belloni	depends on HAS_IOMEM
414bb0eb050SDaniel Lezcano	select TIMER_OF if OF
4152f982703SAlexandre Belloni	help
4162f982703SAlexandre Belloni	  Support for the Periodic Interval Timer found on Atmel SoCs.
417b052ff30SMaxime Ripard
418b53cdd03SAlexandre Belloniconfig ATMEL_ST
419b988d3f0SDaniel Lezcano	bool "Atmel ST timer support" if COMPILE_TEST
420bd2746f0SMasahiro Yamada	depends on HAS_IOMEM
421bb0eb050SDaniel Lezcano	select TIMER_OF
4227ab7ef74SAlexandre Belloni	select MFD_SYSCON
423b988d3f0SDaniel Lezcano	help
424b988d3f0SDaniel Lezcano	  Support for the Atmel ST timer.
425b53cdd03SAlexandre Belloni
4266275f494SAlexandre Belloniconfig ATMEL_TCB_CLKSRC
4276275f494SAlexandre Belloni	bool "Atmel TC Block timer driver" if COMPILE_TEST
4281ce861ceSAlexandre Belloni	depends on ARM && HAS_IOMEM
4296275f494SAlexandre Belloni	select TIMER_OF if OF
4306275f494SAlexandre Belloni	help
4316275f494SAlexandre Belloni	  Support for Timer Counter Blocks on Atmel SoCs.
4326275f494SAlexandre Belloni
4336938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT
43439366ef4SDaniel Lezcano	bool "Exynos multi core timer driver" if COMPILE_TEST
435f1a4c1f3SChanwoo Choi	depends on ARM || ARM64
4368602a80bSKrzysztof Kozlowski	depends on ARCH_EXYNOS || COMPILE_TEST
4376938d75aSThomas Abraham	help
4386938d75aSThomas Abraham	  Support for Multi Core Timer controller on Exynos SoCs.
439241a9871SArnd Bergmann
440f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM
441de37b0b5SAlexandre Belloni	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
442d7023e62SRichard Weinberger	depends on HAS_IOMEM
4438602a80bSKrzysztof Kozlowski	depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || ARCH_S5PV210 || COMPILE_TEST
444f1189989STomasz Figa	help
445f1189989STomasz Figa	  This is a new clocksource driver for the PWM timer found in
446f1189989STomasz Figa	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
447f1189989STomasz Figa	  for all devicetree enabled platforms. This driver will be
448f1189989STomasz Figa	  needed only on systems that do not have the Exynos MCT available.
449c1967249SJingchang Lu
4502529c3a3SXiubo Liconfig FSL_FTM_TIMER
451ef49336bSDaniel Lezcano	bool "Freescale FlexTimer Module driver" if COMPILE_TEST
452d7023e62SRichard Weinberger	depends on HAS_IOMEM
45303724ac3SDaniel Lezcano	select CLKSRC_MMIO
4542529c3a3SXiubo Li	help
4552529c3a3SXiubo Li	  Support for Freescale FlexTimer Module (FTM) timer.
4562529c3a3SXiubo Li
457c1967249SJingchang Luconfig VF_PIT_TIMER
458c1967249SJingchang Lu	bool
4592be6d9bfSArnd Bergmann	select CLKSRC_MMIO
460c1967249SJingchang Lu	help
46106293463SRandy Dunlap	  Support for Periodic Interrupt Timer on Freescale Vybrid Family SoCs.
462fd3f1270SMagnus Damm
46389355274SNeil Armstrongconfig OXNAS_RPS_TIMER
46489355274SNeil Armstrong	bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
465bb0eb050SDaniel Lezcano	select TIMER_OF
46689355274SNeil Armstrong	select CLKSRC_MMIO
46789355274SNeil Armstrong	help
46889355274SNeil Armstrong	  This enables support for the Oxford Semiconductor OXNAS RPS timers.
46989355274SNeil Armstrong
470fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT
471fd3f1270SMagnus Damm	bool
472fd3f1270SMagnus Damm
473ecb3530dSMatthias Bruggerconfig MTK_TIMER
474fbca9eabSDaniel Lezcano	bool "Mediatek timer driver" if COMPILE_TEST
4752f8a26c1SArnd Bergmann	depends on HAS_IOMEM
476bb0eb050SDaniel Lezcano	select TIMER_OF
477ecb3530dSMatthias Brugger	select CLKSRC_MMIO
478fbca9eabSDaniel Lezcano	help
479fbca9eabSDaniel Lezcano	  Support for Mediatek timer driver.
480ecb3530dSMatthias Brugger
481067bc914SBaolin Wangconfig SPRD_TIMER
4828a1ece26SChunyan Zhang	bool "Spreadtrum timer driver" if EXPERT
483067bc914SBaolin Wang	depends on HAS_IOMEM
4848a1ece26SChunyan Zhang	depends on (ARCH_SPRD || COMPILE_TEST)
4858a1ece26SChunyan Zhang	default ARCH_SPRD
486067bc914SBaolin Wang	select TIMER_OF
487067bc914SBaolin Wang	help
488067bc914SBaolin Wang	  Enables support for the Spreadtrum timer driver.
489067bc914SBaolin Wang
490fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2
491fd3f1270SMagnus Damm	bool
492fd3f1270SMagnus Damm
493fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU
494fd3f1270SMagnus Damm	bool
495fd3f1270SMagnus Damm
496fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI
497fd3f1270SMagnus Damm	bool
498fd3f1270SMagnus Damm
4999995f4f1SRich Felkerconfig CLKSRC_JCORE_PIT
5009995f4f1SRich Felker	bool "J-Core PIT timer driver" if COMPILE_TEST
5019995f4f1SRich Felker	depends on OF
5029995f4f1SRich Felker	depends on HAS_IOMEM
5039995f4f1SRich Felker	select CLKSRC_MMIO
5049995f4f1SRich Felker	help
5059995f4f1SRich Felker	  This enables build of clocksource and clockevent driver for
5069995f4f1SRich Felker	  the integrated PIT in the J-Core synthesizable, open source SoC.
5079995f4f1SRich Felker
508fd3f1270SMagnus Dammconfig SH_TIMER_CMT
509fd3f1270SMagnus Damm	bool "Renesas CMT timer driver" if COMPILE_TEST
51011bc26feSRichard Weinberger	depends on HAS_IOMEM
511fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_CMT
512fd3f1270SMagnus Damm	help
513fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
514fd3f1270SMagnus Damm	  the Compare Match Timer (CMT) hardware available in 16/32/48-bit
515fd3f1270SMagnus Damm	  variants on a wide range of Mobile and Automotive SoCs from Renesas.
516fd3f1270SMagnus Damm
517fd3f1270SMagnus Dammconfig SH_TIMER_MTU2
518fd3f1270SMagnus Damm	bool "Renesas MTU2 timer driver" if COMPILE_TEST
51911bc26feSRichard Weinberger	depends on HAS_IOMEM
520fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_MTU2
521fd3f1270SMagnus Damm	help
522fd3f1270SMagnus Damm	  This enables build of a clockevent driver for the Multi-Function
5237e139187SKuninori Morimoto	  Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
52406293463SRandy Dunlap	  This hardware comes with 16-bit timer registers.
525fd3f1270SMagnus Damm
526fb6002a8SChris Brandtconfig RENESAS_OSTM
527a2807f65SBiju Das	bool "Renesas OSTM timer driver"
528a2807f65SBiju Das	depends on ARCH_RENESAS || COMPILE_TEST
529fb6002a8SChris Brandt	select CLKSRC_MMIO
53022731423SGeert Uytterhoeven	select TIMER_OF
531fb6002a8SChris Brandt	help
532fb6002a8SChris Brandt	  Enables the support for the Renesas OSTM.
533fb6002a8SChris Brandt
534fd3f1270SMagnus Dammconfig SH_TIMER_TMU
535fd3f1270SMagnus Damm	bool "Renesas TMU timer driver" if COMPILE_TEST
53611bc26feSRichard Weinberger	depends on HAS_IOMEM
537fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_TMU
538fd3f1270SMagnus Damm	help
539fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
540fd3f1270SMagnus Damm	  the 32-bit Timer Unit (TMU) hardware available on a wide range
541fd3f1270SMagnus Damm	  SoCs from Renesas.
542fd3f1270SMagnus Damm
543fd3f1270SMagnus Dammconfig EM_TIMER_STI
544fd3f1270SMagnus Damm	bool "Renesas STI timer driver" if COMPILE_TEST
5452f8a26c1SArnd Bergmann	depends on HAS_IOMEM
546fd3f1270SMagnus Damm	default SYS_SUPPORTS_EM_STI
547fd3f1270SMagnus Damm	help
548fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
549fd3f1270SMagnus Damm	  the 48-bit System Timer (STI) hardware available on a SoCs
550fd3f1270SMagnus Damm	  such as EMEV2 from former NEC Electronics.
551dfc25e45SLinus Torvalds
5523f8e8ceeSKumar Galaconfig CLKSRC_QCOM
5533dc0e9f6SDaniel Lezcano	bool "Qualcomm MSM timer" if COMPILE_TEST
5543dc0e9f6SDaniel Lezcano	depends on ARM
555bb0eb050SDaniel Lezcano	select TIMER_OF
5563dc0e9f6SDaniel Lezcano	help
5573dc0e9f6SDaniel Lezcano	  This enables the clocksource and the per CPU clockevent driver for the
5583dc0e9f6SDaniel Lezcano	  Qualcomm SoCs.
559220e2a8dSPawel Moll
560220e2a8dSPawel Mollconfig CLKSRC_VERSATILE
5615cc87a4dSDaniel Lezcano	bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST
56277f6c0b8SArnd Bergmann	depends on GENERIC_SCHED_CLOCK
563bb0eb050SDaniel Lezcano	select TIMER_OF
564bfed0edeSRob Herring	default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM
565220e2a8dSPawel Moll	help
566220e2a8dSPawel Moll	  This option enables clock source based on free running
567220e2a8dSPawel Moll	  counter available in the "System Registers" block of
568bfed0edeSRob Herring	  ARM Versatile and Versatile Express reference platforms.
56958394271SJean Delvare
570fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC
571fa5635a2SAndrew Bresticker	bool
572fa5635a2SAndrew Bresticker	depends on MIPS_GIC
5737d7de1a6SSerge Semin	select CLOCKSOURCE_WATCHDOG
574bb0eb050SDaniel Lezcano	select TIMER_OF
575fa5635a2SAndrew Bresticker
576e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA
5775ae996cbSDaniel Lezcano	bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
578d7023e62SRichard Weinberger	depends on HAS_IOMEM
5795ae996cbSDaniel Lezcano	select CLKSRC_MMIO
580e074ff86SDmitry Eremin-Solenikov	help
581e074ff86SDmitry Eremin-Solenikov	  This enables OST0 support available on PXA and SA-11x0
582e074ff86SDmitry Eremin-Solenikov	  platforms.
583618b902dSYoshinori Sato
58497a23bebSDaniel Lezcanoconfig H8300_TMR8
58546e7c3c6SDaniel Lezcano	bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
5862f8a26c1SArnd Bergmann	depends on HAS_IOMEM
58746e7c3c6SDaniel Lezcano	help
58846e7c3c6SDaniel Lezcano	  This enables the 8 bits timer for the H8300 platform.
58997a23bebSDaniel Lezcano
590618b902dSYoshinori Satoconfig H8300_TMR16
59146e7c3c6SDaniel Lezcano	bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
5922f8a26c1SArnd Bergmann	depends on HAS_IOMEM
59346e7c3c6SDaniel Lezcano	help
59446e7c3c6SDaniel Lezcano	  This enables the 16 bits timer for the H8300 platform with the
59506293463SRandy Dunlap	  H83069 CPU.
596618b902dSYoshinori Sato
597618b902dSYoshinori Satoconfig H8300_TPU
59846e7c3c6SDaniel Lezcano	bool "Clocksource for the H8300 platform" if COMPILE_TEST
5992f8a26c1SArnd Bergmann	depends on HAS_IOMEM
60046e7c3c6SDaniel Lezcano	help
60146e7c3c6SDaniel Lezcano	  This enables the clocksource for the H8300 platform with the
60206293463SRandy Dunlap	  H8S2678 CPU.
603618b902dSYoshinori Sato
604bea5af41SShawn Guoconfig CLKSRC_IMX_GPT
605bea5af41SShawn Guo	bool "Clocksource using i.MX GPT" if COMPILE_TEST
6062f4574ddSArnd Bergmann	depends on (ARM || ARM64) && HAVE_CLK
607bea5af41SShawn Guo	select CLKSRC_MMIO
608bea5af41SShawn Guo
609059ab7b8SDong Aishengconfig CLKSRC_IMX_TPM
610059ab7b8SDong Aisheng	bool "Clocksource using i.MX TPM" if COMPILE_TEST
6112f4574ddSArnd Bergmann	depends on (ARM || ARM64) && HAVE_CLK
612059ab7b8SDong Aisheng	select CLKSRC_MMIO
613a6d0812aSAnson Huang	select TIMER_OF
614059ab7b8SDong Aisheng	help
615059ab7b8SDong Aisheng	  Enable this option to use IMX Timer/PWM Module (TPM) timer as
616059ab7b8SDong Aisheng	  clocksource.
617059ab7b8SDong Aisheng
6187117a44bSBai Pingconfig TIMER_IMX_SYS_CTR
6197117a44bSBai Ping	bool "i.MX system counter timer" if COMPILE_TEST
6207117a44bSBai Ping	select TIMER_OF
6217117a44bSBai Ping	help
6227117a44bSBai Ping	  Enable this option to use i.MX system counter timer as a
6237117a44bSBai Ping	  clockevent.
6247117a44bSBai Ping
62570bef01cSLee Jonesconfig CLKSRC_ST_LPC
626baacaf83SDaniel Lezcano	bool "Low power clocksource found in the LPC" if COMPILE_TEST
627bb0eb050SDaniel Lezcano	select TIMER_OF if OF
628863ee050SRichard Weinberger	depends on HAS_IOMEM
6292be6d9bfSArnd Bergmann	select CLKSRC_MMIO
63070bef01cSLee Jones	help
63170bef01cSLee Jones	  Enable this option to use the Low Power controller timer
63270bef01cSLee Jones	  as clocksource.
63370bef01cSLee Jones
63462b01943SPalmer Dabbeltconfig RISCV_TIMER
6352bc3fc87SAnup Patel	bool "Timer for the RISC-V platform" if COMPILE_TEST
636ab310544SKefeng Wang	depends on GENERIC_SCHED_CLOCK && RISCV && RISCV_SBI
63762b01943SPalmer Dabbelt	select TIMER_PROBE
63862b01943SPalmer Dabbelt	select TIMER_OF
63962b01943SPalmer Dabbelt	help
64062b01943SPalmer Dabbelt	  This enables the per-hart timer built into all RISC-V systems, which
64162b01943SPalmer Dabbelt	  is accessed via both the SBI and the rdcycle instruction.  This is
64262b01943SPalmer Dabbelt	  required for all RISC-V systems.
64362b01943SPalmer Dabbelt
6442ac6795fSAnup Patelconfig CLINT_TIMER
6452ac6795fSAnup Patel	bool "CLINT Timer for the RISC-V platform" if COMPILE_TEST
6462ac6795fSAnup Patel	depends on GENERIC_SCHED_CLOCK && RISCV
6472ac6795fSAnup Patel	select TIMER_PROBE
6482ac6795fSAnup Patel	select TIMER_OF
6492ac6795fSAnup Patel	help
6502ac6795fSAnup Patel	  This option enables the CLINT timer for RISC-V systems.  The CLINT
6512ac6795fSAnup Patel	  driver is usually used for NoMMU RISC-V systems.
6522ac6795fSAnup Patel
653a7ad38b0SGuo Renconfig CSKY_MP_TIMER
654a7ad38b0SGuo Ren	bool "SMP Timer for the C-SKY platform" if COMPILE_TEST
655a7ad38b0SGuo Ren	depends on CSKY
656a7ad38b0SGuo Ren	select TIMER_OF
657a7ad38b0SGuo Ren	help
658a7ad38b0SGuo Ren	  Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP
659a7ad38b0SGuo Ren	  system.
66006293463SRandy Dunlap	  csky,mptimer is not only used in SMP system, it also could be used in
66106293463SRandy Dunlap	  single core system. It's not a mmio reg and it uses mtcr/mfcr instruction.
662a7ad38b0SGuo Ren
66333745c3cSGuo Renconfig GX6605S_TIMER
66433745c3cSGuo Ren	bool "Gx6605s SOC system timer driver" if COMPILE_TEST
66533745c3cSGuo Ren	depends on CSKY
66633745c3cSGuo Ren	select CLKSRC_MMIO
66733745c3cSGuo Ren	select TIMER_OF
66833745c3cSGuo Ren	help
66933745c3cSGuo Ren	  This option enables support for gx6605s SOC's timer.
67033745c3cSGuo Ren
671b58f28f3SSugaya Taichiconfig MILBEAUT_TIMER
672b58f28f3SSugaya Taichi	bool "Milbeaut timer driver" if COMPILE_TEST
673b58f28f3SSugaya Taichi	depends on OF
674b58f28f3SSugaya Taichi	depends on ARM
675b58f28f3SSugaya Taichi	select TIMER_OF
676b58f28f3SSugaya Taichi	select CLKSRC_MMIO
677b58f28f3SSugaya Taichi	help
678b58f28f3SSugaya Taichi	  Enables the support for Milbeaut timer driver.
679b58f28f3SSugaya Taichi
6805fc1f93fSRomain Perierconfig MSC313E_TIMER
6815fc1f93fSRomain Perier	bool "MSC313E timer driver" if COMPILE_TEST
6825fc1f93fSRomain Perier	select TIMER_OF
6835fc1f93fSRomain Perier	select CLKSRC_MMIO
6845fc1f93fSRomain Perier	help
6855fc1f93fSRomain Perier	  Enables support for the MStar MSC313E timer driver.
6865fc1f93fSRomain Perier	  This provides access to multiple interrupt generating
6875fc1f93fSRomain Perier	  programmable 32-bit free running incrementing counters.
6885fc1f93fSRomain Perier
68934e93683SPaul Cercueilconfig INGENIC_TIMER
69034e93683SPaul Cercueil	bool "Clocksource/timer using the TCU in Ingenic JZ SoCs"
69134e93683SPaul Cercueil	default MACH_INGENIC
69234e93683SPaul Cercueil	depends on MIPS || COMPILE_TEST
69334e93683SPaul Cercueil	depends on COMMON_CLK
69434e93683SPaul Cercueil	select MFD_SYSCON
69534e93683SPaul Cercueil	select TIMER_OF
69634e93683SPaul Cercueil	select IRQ_DOMAIN
69734e93683SPaul Cercueil	help
69834e93683SPaul Cercueil	  Support for the timer/counter unit of the Ingenic JZ SoCs.
69934e93683SPaul Cercueil
7005ecafc12S周琰杰 (Zhou Yanjie)config INGENIC_SYSOST
7015ecafc12S周琰杰 (Zhou Yanjie)	bool "Clocksource/timer using the SYSOST in Ingenic X SoCs"
7025ecafc12S周琰杰 (Zhou Yanjie)	depends on MIPS || COMPILE_TEST
7035ecafc12S周琰杰 (Zhou Yanjie)	depends on COMMON_CLK
7045ecafc12S周琰杰 (Zhou Yanjie)	select MFD_SYSCON
7055ecafc12S周琰杰 (Zhou Yanjie)	select TIMER_OF
7065ecafc12S周琰杰 (Zhou Yanjie)	select IRQ_DOMAIN
7075ecafc12S周琰杰 (Zhou Yanjie)	help
7085ecafc12S周琰杰 (Zhou Yanjie)	  Support for the SYSOST of the Ingenic X Series SoCs.
7095ecafc12S周琰杰 (Zhou Yanjie)
710ca7b72b5SMaarten ter Huurneconfig INGENIC_OST
7115ecafc12S周琰杰 (Zhou Yanjie)	bool "Clocksource using the OST in Ingenic JZ SoCs"
712ca7b72b5SMaarten ter Huurne	depends on MIPS || COMPILE_TEST
713ca7b72b5SMaarten ter Huurne	depends on COMMON_CLK
714ca7b72b5SMaarten ter Huurne	select MFD_SYSCON
715ca7b72b5SMaarten ter Huurne	help
716ca7b72b5SMaarten ter Huurne	  Support for the Operating System Timer of the Ingenic JZ SoCs.
717ca7b72b5SMaarten ter Huurne
718625022a5SClaudiu Bezneaconfig MICROCHIP_PIT64B
719625022a5SClaudiu Beznea	bool "Microchip PIT64B support"
720625022a5SClaudiu Beznea	depends on OF || COMPILE_TEST
72125259f7aSMichael Ellerman	select TIMER_OF
722625022a5SClaudiu Beznea	help
723625022a5SClaudiu Beznea	  This option enables Microchip PIT64B timer for Atmel
724625022a5SClaudiu Beznea	  based system. It supports the oneshot, the periodic
725625022a5SClaudiu Beznea	  modes and high resolution. It is used as a clocksource
726625022a5SClaudiu Beznea	  and a clockevent.
727625022a5SClaudiu Beznea
72858394271SJean Delvareendmenu
729