• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2menu "Clock Source drivers"
3	depends on GENERIC_CLOCKEVENTS
4
5config TIMER_OF
6	bool
7	select TIMER_PROBE
8
9config TIMER_ACPI
10	bool
11	select TIMER_PROBE
12
13config TIMER_PROBE
14	bool
15
16config CLKSRC_I8253
17	bool
18
19config CLKEVT_I8253
20	bool
21
22config I8253_LOCK
23	bool
24
25config OMAP_DM_TIMER
26	bool
27	select TIMER_OF
28
29config CLKBLD_I8253
30	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
31
32config CLKSRC_MMIO
33	bool
34
35config BCM2835_TIMER
36	bool "BCM2835 timer driver" if COMPILE_TEST
37	select CLKSRC_MMIO
38	help
39	  Enables the support for the BCM2835 timer driver.
40
41config BCM_KONA_TIMER
42	bool "BCM mobile timer driver" if COMPILE_TEST
43	select CLKSRC_MMIO
44	help
45	  Enables the support for the BCM Kona mobile timer driver.
46
47config DAVINCI_TIMER
48	bool "Texas Instruments DaVinci timer driver" if COMPILE_TEST
49	help
50	  Enables the support for the TI DaVinci timer driver.
51
52config DIGICOLOR_TIMER
53	bool "Digicolor timer driver" if COMPILE_TEST
54	select CLKSRC_MMIO
55	depends on HAS_IOMEM
56	help
57	  Enables the support for the digicolor timer driver.
58
59config DW_APB_TIMER
60	bool "DW APB timer driver" if COMPILE_TEST
61	help
62	  Enables the support for the dw_apb timer.
63
64config DW_APB_TIMER_OF
65	bool
66	select DW_APB_TIMER
67	select TIMER_OF
68
69config FTTMR010_TIMER
70	bool "Faraday Technology timer driver" if COMPILE_TEST
71	depends on HAS_IOMEM
72	select CLKSRC_MMIO
73	select TIMER_OF
74	select MFD_SYSCON
75	help
76	  Enables support for the Faraday Technology timer block
77	  FTTMR010.
78
79config IXP4XX_TIMER
80	bool "Intel XScale IXP4xx timer driver" if COMPILE_TEST
81	depends on HAS_IOMEM
82	select CLKSRC_MMIO
83	select TIMER_OF if OF
84	help
85	  Enables support for the Intel XScale IXP4xx SoC timer.
86
87config ROCKCHIP_TIMER
88	bool "Rockchip timer driver" if COMPILE_TEST
89	depends on ARM || ARM64
90	select TIMER_OF
91	select CLKSRC_MMIO
92	help
93	  Enables the support for the Rockchip timer driver.
94
95config ARMADA_370_XP_TIMER
96	bool "Armada 370 and XP timer driver" if COMPILE_TEST
97	depends on ARM
98	select TIMER_OF
99	select CLKSRC_MMIO
100	help
101	  Enables the support for the Armada 370 and XP timer driver.
102
103config MESON6_TIMER
104	bool "Meson6 timer driver" if COMPILE_TEST
105	select CLKSRC_MMIO
106	help
107	  Enables the support for the Meson6 timer driver.
108
109config ORION_TIMER
110	bool "Orion timer driver" if COMPILE_TEST
111	depends on ARM
112	select TIMER_OF
113	select CLKSRC_MMIO
114	help
115	  Enables the support for the Orion timer driver
116
117config OWL_TIMER
118	bool "Owl timer driver" if COMPILE_TEST
119	select CLKSRC_MMIO
120	help
121	  Enables the support for the Actions Semi Owl timer driver.
122
123config RDA_TIMER
124	bool "RDA timer driver" if COMPILE_TEST
125	select CLKSRC_MMIO
126	select TIMER_OF
127	help
128	  Enables the support for the RDA Micro timer driver.
129
130config SUN4I_TIMER
131	bool "Sun4i timer driver" if COMPILE_TEST
132	depends on HAS_IOMEM
133	select CLKSRC_MMIO
134	select TIMER_OF
135	help
136	  Enables support for the Sun4i timer.
137
138config SUN5I_HSTIMER
139	bool "Sun5i timer driver" if COMPILE_TEST
140	select CLKSRC_MMIO
141	depends on COMMON_CLK
142	help
143	  Enables support the Sun5i timer.
144
145config TEGRA_TIMER
146	bool "Tegra timer driver" if COMPILE_TEST
147	select CLKSRC_MMIO
148	select TIMER_OF
149	depends on ARCH_TEGRA || COMPILE_TEST
150	help
151	  Enables support for the Tegra driver.
152
153config VT8500_TIMER
154	bool "VT8500 timer driver" if COMPILE_TEST
155	depends on HAS_IOMEM
156	help
157	  Enables support for the VT8500 driver.
158
159config NPCM7XX_TIMER
160	bool "NPCM7xx timer driver" if COMPILE_TEST
161	depends on HAS_IOMEM
162	select TIMER_OF
163	select CLKSRC_MMIO
164	help
165	  Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture,
166	  where TIMER0 serves as clockevent and TIMER1 serves as clocksource.
167
168config CADENCE_TTC_TIMER
169	bool "Cadence TTC timer driver" if COMPILE_TEST
170	depends on COMMON_CLK
171	help
172	  Enables support for the Cadence TTC driver.
173
174config ASM9260_TIMER
175	bool "ASM9260 timer driver" if COMPILE_TEST
176	select CLKSRC_MMIO
177	select TIMER_OF
178	help
179	  Enables support for the ASM9260 timer.
180
181config CLKSRC_NOMADIK_MTU
182	bool "Nomakdik clocksource driver" if COMPILE_TEST
183	depends on ARM
184	select CLKSRC_MMIO
185	help
186	  Support for Multi Timer Unit. MTU provides access
187	  to multiple interrupt generating programmable
188	  32-bit free running decrementing counters.
189
190config CLKSRC_DBX500_PRCMU
191	bool "Clocksource PRCMU Timer" if COMPILE_TEST
192	depends on HAS_IOMEM
193	help
194	  Use the always on PRCMU Timer as clocksource.
195
196config CLPS711X_TIMER
197	bool "Cirrus Logic timer driver" if COMPILE_TEST
198	select CLKSRC_MMIO
199	help
200	  Enables support for the Cirrus Logic PS711 timer.
201
202config ATLAS7_TIMER
203	bool "Atlas7 timer driver" if COMPILE_TEST
204	select CLKSRC_MMIO
205	help
206	  Enables support for the Atlas7 timer.
207
208config MXS_TIMER
209	bool "MXS timer driver" if COMPILE_TEST
210	select CLKSRC_MMIO
211	select STMP_DEVICE
212	help
213	  Enables support for the MXS timer.
214
215config PRIMA2_TIMER
216	bool "Prima2 timer driver" if COMPILE_TEST
217	select CLKSRC_MMIO
218	help
219	  Enables support for the Prima2 timer.
220
221config U300_TIMER
222	bool "U300 timer driver" if COMPILE_TEST
223	depends on ARM
224	select CLKSRC_MMIO
225	help
226	  Enables support for the U300 timer.
227
228config NSPIRE_TIMER
229	bool "NSpire timer driver" if COMPILE_TEST
230	select CLKSRC_MMIO
231	help
232	  Enables support for the Nspire timer.
233
234config KEYSTONE_TIMER
235	bool "Keystone timer driver" if COMPILE_TEST
236	depends on ARM || ARM64
237	select CLKSRC_MMIO
238	help
239	  Enables support for the Keystone timer.
240
241config INTEGRATOR_AP_TIMER
242	bool "Integrator-AP timer driver" if COMPILE_TEST
243	select CLKSRC_MMIO
244	help
245	  Enables support for the Integrator-AP timer.
246
247config CLKSRC_EFM32
248	bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
249	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
250	select CLKSRC_MMIO
251	default ARCH_EFM32
252	help
253	  Support to use the timers of EFM32 SoCs as clock source and clock
254	  event device.
255
256config CLKSRC_LPC32XX
257	bool "Clocksource for LPC32XX" if COMPILE_TEST
258	depends on HAS_IOMEM
259	depends on ARM
260	select CLKSRC_MMIO
261	select TIMER_OF
262	help
263	  Support for the LPC32XX clocksource.
264
265config CLKSRC_PISTACHIO
266	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
267	depends on HAS_IOMEM
268	select TIMER_OF
269	help
270	  Enables the clocksource for the Pistachio SoC.
271
272config CLKSRC_TI_32K
273	bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
274	depends on GENERIC_SCHED_CLOCK
275	select TIMER_OF if OF
276	help
277	  This option enables support for Texas Instruments 32.768 Hz clocksource
278	  available on many OMAP-like platforms.
279
280config CLKSRC_NPS
281	bool "NPS400 clocksource driver" if COMPILE_TEST
282	depends on !PHYS_ADDR_T_64BIT
283	select CLKSRC_MMIO
284	select TIMER_OF if OF
285	help
286	  NPS400 clocksource support.
287	  It has a 64-bit counter with update rate up to 1000MHz.
288	  This counter is accessed via couple of 32-bit memory-mapped registers.
289
290config CLKSRC_STM32
291	bool "Clocksource for STM32 SoCs" if !ARCH_STM32
292	depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
293	select CLKSRC_MMIO
294	select TIMER_OF
295
296config CLKSRC_STM32_LP
297	bool "Low power clocksource for STM32 SoCs"
298	depends on MFD_STM32_LPTIMER || COMPILE_TEST
299
300config CLKSRC_MPS2
301	bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
302	depends on GENERIC_SCHED_CLOCK
303	select CLKSRC_MMIO
304	select TIMER_OF
305
306config ARC_TIMERS
307	bool "Support for 32-bit TIMERn counters in ARC Cores" if COMPILE_TEST
308	depends on GENERIC_SCHED_CLOCK
309	select TIMER_OF
310	help
311	  These are legacy 32-bit TIMER0 and TIMER1 counters found on all ARC cores
312	  (ARC700 as well as ARC HS38).
313	  TIMER0 serves as clockevent while TIMER1 provides clocksource.
314
315config ARC_TIMERS_64BIT
316	bool "Support for 64-bit counters in ARC HS38 cores" if COMPILE_TEST
317	depends on ARC_TIMERS
318	select TIMER_OF
319	help
320	  This enables 2 different 64-bit timers: RTC (for UP) and GFRC (for SMP).
321	  RTC is implemented inside the core, while GFRC sits outside the core in
322	  ARConnect IP block. Driver automatically picks one of them for clocksource
323	  as appropriate.
324
325config ARM_ARCH_TIMER
326	bool
327	select TIMER_OF if OF
328	select TIMER_ACPI if ACPI
329
330config ARM_ARCH_TIMER_EVTSTREAM
331	bool "Enable ARM architected timer event stream generation by default"
332	default y if ARM_ARCH_TIMER
333	depends on ARM_ARCH_TIMER
334	help
335	  This option enables support by default for event stream generation
336	  based on the ARM architected timer. It is used for waking up CPUs
337	  executing the wfe instruction at a frequency represented as a
338	  power-of-2 divisor of the clock rate. The behaviour can also be
339	  overridden on the command line using the
340	  clocksource.arm_arch_timer.evtstream parameter.
341	  The main use of the event stream is wfe-based timeouts of userspace
342	  locking implementations. It might also be useful for imposing timeout
343	  on wfe to safeguard against any programming errors in case an expected
344	  event is not generated.
345	  This must be disabled for hardware validation purposes to detect any
346	  hardware anomalies of missing events.
347
348config ARM_ARCH_TIMER_OOL_WORKAROUND
349	bool
350
351config FSL_ERRATUM_A008585
352	bool "Workaround for Freescale/NXP Erratum A-008585"
353	default y
354	depends on ARM_ARCH_TIMER && ARM64
355	select ARM_ARCH_TIMER_OOL_WORKAROUND
356	help
357	  This option enables a workaround for Freescale/NXP Erratum
358	  A-008585 ("ARM generic timer may contain an erroneous
359	  value").  The workaround will only be active if the
360	  fsl,erratum-a008585 property is found in the timer node.
361
362config HISILICON_ERRATUM_161010101
363	bool "Workaround for Hisilicon Erratum 161010101"
364	default y
365	select ARM_ARCH_TIMER_OOL_WORKAROUND
366	depends on ARM_ARCH_TIMER && ARM64
367	help
368	  This option enables a workaround for Hisilicon Erratum
369	  161010101. The workaround will be active if the hisilicon,erratum-161010101
370	  property is found in the timer node.
371
372config ARM64_ERRATUM_858921
373	bool "Workaround for Cortex-A73 erratum 858921"
374	default y
375	select ARM_ARCH_TIMER_OOL_WORKAROUND
376	depends on ARM_ARCH_TIMER && ARM64
377	help
378	  This option enables a workaround applicable to Cortex-A73
379	  (all versions), whose counter may return incorrect values.
380	  The workaround will be dynamically enabled when an affected
381	  core is detected.
382
383config SUN50I_ERRATUM_UNKNOWN1
384	bool "Workaround for Allwinner A64 erratum UNKNOWN1"
385	default y
386	depends on ARM_ARCH_TIMER && ARM64 && ARCH_SUNXI
387	select ARM_ARCH_TIMER_OOL_WORKAROUND
388	help
389	  This option enables a workaround for instability in the timer on
390	  the Allwinner A64 SoC. The workaround will only be active if the
391	  allwinner,erratum-unknown1 property is found in the timer node.
392
393config ARM_GLOBAL_TIMER
394	bool "Support for the ARM global timer" if COMPILE_TEST
395	select TIMER_OF if OF
396	depends on ARM
397	help
398	  This option enables support for the ARM global timer unit.
399
400config ARM_TIMER_SP804
401	bool "Support for Dual Timer SP804 module" if COMPILE_TEST
402	depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
403	select CLKSRC_MMIO
404	select TIMER_OF if OF
405
406config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
407	bool
408	depends on ARM_GLOBAL_TIMER
409	default y
410	help
411	  Use ARM global timer clock source as sched_clock.
412
413config ARMV7M_SYSTICK
414	bool "Support for the ARMv7M system time" if COMPILE_TEST
415	select TIMER_OF if OF
416	select CLKSRC_MMIO
417	help
418	  This option enables support for the ARMv7M system timer unit.
419
420config ATMEL_PIT
421	bool "Atmel PIT support" if COMPILE_TEST
422	depends on HAS_IOMEM
423	select TIMER_OF if OF
424	help
425	  Support for the Periodic Interval Timer found on Atmel SoCs.
426
427config ATMEL_ST
428	bool "Atmel ST timer support" if COMPILE_TEST
429	depends on HAS_IOMEM
430	select TIMER_OF
431	select MFD_SYSCON
432	help
433	  Support for the Atmel ST timer.
434
435config ATMEL_TCB_CLKSRC
436	bool "Atmel TC Block timer driver" if COMPILE_TEST
437	depends on ARM && HAS_IOMEM
438	select TIMER_OF if OF
439	help
440	  Support for Timer Counter Blocks on Atmel SoCs.
441
442config CLKSRC_EXYNOS_MCT
443	bool "Exynos multi core timer driver" if COMPILE_TEST
444	depends on ARM || ARM64
445	help
446	  Support for Multi Core Timer controller on Exynos SoCs.
447
448config CLKSRC_SAMSUNG_PWM
449	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
450	depends on HAS_IOMEM
451	help
452	  This is a new clocksource driver for the PWM timer found in
453	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
454	  for all devicetree enabled platforms. This driver will be
455	  needed only on systems that do not have the Exynos MCT available.
456
457config FSL_FTM_TIMER
458	bool "Freescale FlexTimer Module driver" if COMPILE_TEST
459	depends on HAS_IOMEM
460	select CLKSRC_MMIO
461	help
462	  Support for Freescale FlexTimer Module (FTM) timer.
463
464config VF_PIT_TIMER
465	bool
466	select CLKSRC_MMIO
467	help
468	  Support for Periodic Interrupt Timer on Freescale Vybrid Family SoCs.
469
470config OXNAS_RPS_TIMER
471	bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
472	select TIMER_OF
473	select CLKSRC_MMIO
474	help
475	  This enables support for the Oxford Semiconductor OXNAS RPS timers.
476
477config SYS_SUPPORTS_SH_CMT
478	bool
479
480config MTK_TIMER
481	bool "Mediatek timer driver" if COMPILE_TEST
482	depends on HAS_IOMEM
483	select TIMER_OF
484	select CLKSRC_MMIO
485	help
486	  Support for Mediatek timer driver.
487
488config SPRD_TIMER
489	bool "Spreadtrum timer driver" if EXPERT
490	depends on HAS_IOMEM
491	depends on (ARCH_SPRD || COMPILE_TEST)
492	default ARCH_SPRD
493	select TIMER_OF
494	help
495	  Enables support for the Spreadtrum timer driver.
496
497config SYS_SUPPORTS_SH_MTU2
498	bool
499
500config SYS_SUPPORTS_SH_TMU
501	bool
502
503config SYS_SUPPORTS_EM_STI
504	bool
505
506config CLKSRC_JCORE_PIT
507	bool "J-Core PIT timer driver" if COMPILE_TEST
508	depends on OF
509	depends on HAS_IOMEM
510	select CLKSRC_MMIO
511	help
512	  This enables build of clocksource and clockevent driver for
513	  the integrated PIT in the J-Core synthesizable, open source SoC.
514
515config SH_TIMER_CMT
516	bool "Renesas CMT timer driver" if COMPILE_TEST
517	depends on HAS_IOMEM
518	default SYS_SUPPORTS_SH_CMT
519	help
520	  This enables build of a clocksource and clockevent driver for
521	  the Compare Match Timer (CMT) hardware available in 16/32/48-bit
522	  variants on a wide range of Mobile and Automotive SoCs from Renesas.
523
524config SH_TIMER_MTU2
525	bool "Renesas MTU2 timer driver" if COMPILE_TEST
526	depends on HAS_IOMEM
527	default SYS_SUPPORTS_SH_MTU2
528	help
529	  This enables build of a clockevent driver for the Multi-Function
530	  Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
531	  This hardware comes with 16-bit timer registers.
532
533config RENESAS_OSTM
534	bool "Renesas OSTM timer driver" if COMPILE_TEST
535	select CLKSRC_MMIO
536	select TIMER_OF
537	help
538	  Enables the support for the Renesas OSTM.
539
540config SH_TIMER_TMU
541	bool "Renesas TMU timer driver" if COMPILE_TEST
542	depends on HAS_IOMEM
543	default SYS_SUPPORTS_SH_TMU
544	help
545	  This enables build of a clocksource and clockevent driver for
546	  the 32-bit Timer Unit (TMU) hardware available on a wide range
547	  SoCs from Renesas.
548
549config EM_TIMER_STI
550	bool "Renesas STI timer driver" if COMPILE_TEST
551	depends on HAS_IOMEM
552	default SYS_SUPPORTS_EM_STI
553	help
554	  This enables build of a clocksource and clockevent driver for
555	  the 48-bit System Timer (STI) hardware available on a SoCs
556	  such as EMEV2 from former NEC Electronics.
557
558config CLKSRC_QCOM
559	bool "Qualcomm MSM timer" if COMPILE_TEST
560	depends on ARM
561	select TIMER_OF
562	help
563	  This enables the clocksource and the per CPU clockevent driver for the
564	  Qualcomm SoCs.
565
566config CLKSRC_VERSATILE
567	bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST
568	depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
569	select TIMER_OF
570	default y if (ARCH_VEXPRESS || ARCH_VERSATILE) && ARM
571	help
572	  This option enables clock source based on free running
573	  counter available in the "System Registers" block of
574	  ARM Versatile and Versatile Express reference platforms.
575
576config CLKSRC_MIPS_GIC
577	bool
578	depends on MIPS_GIC
579	select CLOCKSOURCE_WATCHDOG
580	select TIMER_OF
581
582config CLKSRC_TANGO_XTAL
583	bool "Clocksource for Tango SoC" if COMPILE_TEST
584	depends on ARM
585	select TIMER_OF
586	select CLKSRC_MMIO
587	help
588	  This enables the clocksource for Tango SoC.
589
590config CLKSRC_PXA
591	bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
592	depends on HAS_IOMEM
593	select CLKSRC_MMIO
594	help
595	  This enables OST0 support available on PXA and SA-11x0
596	  platforms.
597
598config H8300_TMR8
599	bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
600	depends on HAS_IOMEM
601	help
602	  This enables the 8 bits timer for the H8300 platform.
603
604config H8300_TMR16
605	bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
606	depends on HAS_IOMEM
607	help
608	  This enables the 16 bits timer for the H8300 platform with the
609	  H83069 CPU.
610
611config H8300_TPU
612	bool "Clocksource for the H8300 platform" if COMPILE_TEST
613	depends on HAS_IOMEM
614	help
615	  This enables the clocksource for the H8300 platform with the
616	  H8S2678 CPU.
617
618config CLKSRC_IMX_GPT
619	bool "Clocksource using i.MX GPT" if COMPILE_TEST
620	depends on (ARM || ARM64) && CLKDEV_LOOKUP
621	select CLKSRC_MMIO
622
623config CLKSRC_IMX_TPM
624	bool "Clocksource using i.MX TPM" if COMPILE_TEST
625	depends on (ARM || ARM64) && CLKDEV_LOOKUP
626	select CLKSRC_MMIO
627	select TIMER_OF
628	help
629	  Enable this option to use IMX Timer/PWM Module (TPM) timer as
630	  clocksource.
631
632config TIMER_IMX_SYS_CTR
633	bool "i.MX system counter timer" if COMPILE_TEST
634	select TIMER_OF
635	help
636	  Enable this option to use i.MX system counter timer as a
637	  clockevent.
638
639config CLKSRC_ST_LPC
640	bool "Low power clocksource found in the LPC" if COMPILE_TEST
641	select TIMER_OF if OF
642	depends on HAS_IOMEM
643	select CLKSRC_MMIO
644	help
645	  Enable this option to use the Low Power controller timer
646	  as clocksource.
647
648config ATCPIT100_TIMER
649	bool "ATCPIT100 timer driver"
650	depends on NDS32 || COMPILE_TEST
651	depends on HAS_IOMEM
652	select TIMER_OF
653	default NDS32
654	help
655	  This option enables support for the Andestech ATCPIT100 timers.
656
657config RISCV_TIMER
658	bool "Timer for the RISC-V platform" if COMPILE_TEST
659	depends on GENERIC_SCHED_CLOCK && RISCV && RISCV_SBI
660	select TIMER_PROBE
661	select TIMER_OF
662	help
663	  This enables the per-hart timer built into all RISC-V systems, which
664	  is accessed via both the SBI and the rdcycle instruction.  This is
665	  required for all RISC-V systems.
666
667config CLINT_TIMER
668	bool "CLINT Timer for the RISC-V platform" if COMPILE_TEST
669	depends on GENERIC_SCHED_CLOCK && RISCV
670	select TIMER_PROBE
671	select TIMER_OF
672	help
673	  This option enables the CLINT timer for RISC-V systems.  The CLINT
674	  driver is usually used for NoMMU RISC-V systems.
675
676config CSKY_MP_TIMER
677	bool "SMP Timer for the C-SKY platform" if COMPILE_TEST
678	depends on CSKY
679	select TIMER_OF
680	help
681	  Say yes here to enable C-SKY SMP timer driver used for C-SKY SMP
682	  system.
683	  csky,mptimer is not only used in SMP system, it also could be used in
684	  single core system. It's not a mmio reg and it uses mtcr/mfcr instruction.
685
686config GX6605S_TIMER
687	bool "Gx6605s SOC system timer driver" if COMPILE_TEST
688	depends on CSKY
689	select CLKSRC_MMIO
690	select TIMER_OF
691	help
692	  This option enables support for gx6605s SOC's timer.
693
694config MILBEAUT_TIMER
695	bool "Milbeaut timer driver" if COMPILE_TEST
696	depends on OF
697	depends on ARM
698	select TIMER_OF
699	select CLKSRC_MMIO
700	help
701	  Enables the support for Milbeaut timer driver.
702
703config INGENIC_TIMER
704	bool "Clocksource/timer using the TCU in Ingenic JZ SoCs"
705	default MACH_INGENIC
706	depends on MIPS || COMPILE_TEST
707	depends on COMMON_CLK
708	select MFD_SYSCON
709	select TIMER_OF
710	select IRQ_DOMAIN
711	help
712	  Support for the timer/counter unit of the Ingenic JZ SoCs.
713
714config INGENIC_SYSOST
715	bool "Clocksource/timer using the SYSOST in Ingenic X SoCs"
716	depends on MIPS || COMPILE_TEST
717	depends on COMMON_CLK
718	select MFD_SYSCON
719	select TIMER_OF
720	select IRQ_DOMAIN
721	help
722	  Support for the SYSOST of the Ingenic X Series SoCs.
723
724config INGENIC_OST
725	bool "Clocksource using the OST in Ingenic JZ SoCs"
726	depends on MIPS || COMPILE_TEST
727	depends on COMMON_CLK
728	select MFD_SYSCON
729	help
730	  Support for the Operating System Timer of the Ingenic JZ SoCs.
731
732config MICROCHIP_PIT64B
733	bool "Microchip PIT64B support"
734	depends on OF || COMPILE_TEST
735	select CLKSRC_MMIO
736	select TIMER_OF
737	help
738	  This option enables Microchip PIT64B timer for Atmel
739	  based system. It supports the oneshot, the periodic
740	  modes and high resolution. It is used as a clocksource
741	  and a clockevent.
742
743endmenu
744