xref: /linux/drivers/clocksource/Kconfig (revision f58c91ce82cbb55a48fbc1a0cb7c84c0d0a4e1bd)
1config CLKSRC_OF
2	bool
3
4config CLKSRC_I8253
5	bool
6
7config CLKEVT_I8253
8	bool
9
10config I8253_LOCK
11	bool
12
13config CLKBLD_I8253
14	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
15
16config CLKSRC_MMIO
17	bool
18
19config DW_APB_TIMER
20	bool
21
22config DW_APB_TIMER_OF
23	bool
24	select DW_APB_TIMER
25	select CLKSRC_OF
26
27config ARMADA_370_XP_TIMER
28	bool
29	select CLKSRC_OF
30
31config ORION_TIMER
32	select CLKSRC_OF
33	select CLKSRC_MMIO
34	bool
35
36config SUN4I_TIMER
37	select CLKSRC_MMIO
38	bool
39
40config VT8500_TIMER
41	bool
42
43config CADENCE_TTC_TIMER
44	bool
45
46config CLKSRC_NOMADIK_MTU
47	bool
48	depends on (ARCH_NOMADIK || ARCH_U8500)
49	select CLKSRC_MMIO
50	help
51	  Support for Multi Timer Unit. MTU provides access
52	  to multiple interrupt generating programmable
53	  32-bit free running decrementing counters.
54
55config CLKSRC_NOMADIK_MTU_SCHED_CLOCK
56	bool
57	depends on CLKSRC_NOMADIK_MTU
58	help
59	  Use the Multi Timer Unit as the sched_clock.
60
61config CLKSRC_DBX500_PRCMU
62	bool "Clocksource PRCMU Timer"
63	depends on UX500_SOC_DB8500
64	default y
65	help
66	  Use the always on PRCMU Timer as clocksource
67
68config CLKSRC_DBX500_PRCMU_SCHED_CLOCK
69	bool "Clocksource PRCMU Timer sched_clock"
70	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
71	default y
72	help
73	  Use the always on PRCMU Timer as sched_clock
74
75config CLKSRC_EFM32
76	bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
77	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
78	default ARCH_EFM32
79	help
80	  Support to use the timers of EFM32 SoCs as clock source and clock
81	  event device.
82
83config ARM_ARCH_TIMER
84	bool
85	select CLKSRC_OF if OF
86
87config ARM_ARCH_TIMER_EVTSTREAM
88	bool "Support for ARM architected timer event stream generation"
89	default y if ARM_ARCH_TIMER
90	help
91	  This option enables support for event stream generation based on
92	  the ARM architected timer. It is used for waking up CPUs executing
93	  the wfe instruction at a frequency represented as a power-of-2
94	  divisor of the clock rate.
95	  The main use of the event stream is wfe-based timeouts of userspace
96	  locking implementations. It might also be useful for imposing timeout
97	  on wfe to safeguard against any programming errors in case an expected
98	  event is not generated.
99	  This must be disabled for hardware validation purposes to detect any
100	  hardware anomalies of missing events.
101
102config ARM_GLOBAL_TIMER
103	bool
104	select CLKSRC_OF if OF
105	help
106	  This options enables support for the ARM global timer unit
107
108config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
109	bool
110	depends on ARM_GLOBAL_TIMER
111	default y
112	help
113	 Use ARM global timer clock source as sched_clock
114
115config CLKSRC_METAG_GENERIC
116	def_bool y if METAG
117	help
118	  This option enables support for the Meta per-thread timers.
119
120config CLKSRC_EXYNOS_MCT
121	def_bool y if ARCH_EXYNOS
122	help
123	  Support for Multi Core Timer controller on Exynos SoCs.
124
125config CLKSRC_SAMSUNG_PWM
126	bool
127	help
128	  This is a new clocksource driver for the PWM timer found in
129	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
130	  for all devicetree enabled platforms. This driver will be
131	  needed only on systems that do not have the Exynos MCT available.
132
133config VF_PIT_TIMER
134	bool
135	help
136	  Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
137