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