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