Commit | Line | Data |
---|---|---|
58394271 | 1 | menu "Clock Source drivers" |
3da6d49e | 2 | depends on !ARCH_USES_GETTIMEOFFSET |
58394271 | 3 | |
ae278a93 SW |
4 | config CLKSRC_OF |
5 | bool | |
aad83b15 MZ |
6 | select CLKSRC_PROBE |
7 | ||
8 | config CLKSRC_ACPI | |
9 | bool | |
10 | select CLKSRC_PROBE | |
11 | ||
12 | config CLKSRC_PROBE | |
13 | bool | |
ae278a93 | 14 | |
89c0b8e2 RK |
15 | config CLKSRC_I8253 |
16 | bool | |
442c8176 | 17 | |
e6220bdc TG |
18 | config CLKEVT_I8253 |
19 | bool | |
20 | ||
15f304b6 RB |
21 | config I8253_LOCK |
22 | bool | |
23 | ||
24 | config CLKBLD_I8253 | |
e6220bdc | 25 | def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK |
15f304b6 | 26 | |
442c8176 RK |
27 | config CLKSRC_MMIO |
28 | bool | |
06c3df49 | 29 | |
9b8bb773 BS |
30 | config DIGICOLOR_TIMER |
31 | bool | |
32 | ||
06c3df49 JI |
33 | config DW_APB_TIMER |
34 | bool | |
489bccea | 35 | |
cfda5901 DN |
36 | config DW_APB_TIMER_OF |
37 | bool | |
1b4eca0f | 38 | select DW_APB_TIMER |
10021488 | 39 | select CLKSRC_OF |
cfda5901 | 40 | |
468b8c4c DL |
41 | config ROCKCHIP_TIMER |
42 | bool | |
43 | select CLKSRC_OF | |
44 | ||
6fe9cbd1 GC |
45 | config ARMADA_370_XP_TIMER |
46 | bool | |
7b0dd72a | 47 | select CLKSRC_OF |
6fe9cbd1 | 48 | |
e4a6b378 CC |
49 | config MESON6_TIMER |
50 | bool | |
7b6b0a45 | 51 | select CLKSRC_MMIO |
e4a6b378 | 52 | |
0c1dcfd5 SH |
53 | config ORION_TIMER |
54 | select CLKSRC_OF | |
55 | select CLKSRC_MMIO | |
56 | bool | |
57 | ||
119fd635 | 58 | config SUN4I_TIMER |
71c568c0 | 59 | select CLKSRC_MMIO |
b2ac5d75 MR |
60 | bool |
61 | ||
67905540 MR |
62 | config SUN5I_HSTIMER |
63 | select CLKSRC_MMIO | |
64 | bool | |
65 | ||
910978e7 TR |
66 | config TEGRA_TIMER |
67 | bool | |
68 | ||
ff7ec345 TP |
69 | config VT8500_TIMER |
70 | bool | |
71 | ||
4f0f234f MS |
72 | config CADENCE_TTC_TIMER |
73 | bool | |
74 | ||
a8b1b9fc DL |
75 | config ASM9260_TIMER |
76 | bool | |
77 | select CLKSRC_MMIO | |
78 | select CLKSRC_OF | |
79 | ||
694e33a7 LW |
80 | config CLKSRC_NOMADIK_MTU |
81 | bool | |
82 | depends on (ARCH_NOMADIK || ARCH_U8500) | |
83 | select CLKSRC_MMIO | |
84 | help | |
85 | Support for Multi Timer Unit. MTU provides access | |
86 | to multiple interrupt generating programmable | |
87 | 32-bit free running decrementing counters. | |
88 | ||
89 | config CLKSRC_NOMADIK_MTU_SCHED_CLOCK | |
90 | bool | |
91 | depends on CLKSRC_NOMADIK_MTU | |
92 | help | |
93 | Use the Multi Timer Unit as the sched_clock. | |
94 | ||
489bccea MW |
95 | config CLKSRC_DBX500_PRCMU |
96 | bool "Clocksource PRCMU Timer" | |
29746f48 | 97 | depends on UX500_SOC_DB8500 |
489bccea MW |
98 | default y |
99 | help | |
100 | Use the always on PRCMU Timer as clocksource | |
101 | ||
102 | config CLKSRC_DBX500_PRCMU_SCHED_CLOCK | |
103 | bool "Clocksource PRCMU Timer sched_clock" | |
694e33a7 | 104 | depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK) |
489bccea MW |
105 | default y |
106 | help | |
107 | Use the always on PRCMU Timer as sched_clock | |
985c0679 | 108 | |
9c9b7818 UKK |
109 | config CLKSRC_EFM32 |
110 | bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32 | |
111 | depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST) | |
09ca2757 | 112 | select CLKSRC_MMIO |
9c9b7818 UKK |
113 | default ARCH_EFM32 |
114 | help | |
115 | Support to use the timers of EFM32 SoCs as clock source and clock | |
116 | event device. | |
117 | ||
050dd322 JE |
118 | config CLKSRC_LPC32XX |
119 | bool | |
120 | select CLKSRC_MMIO | |
121 | select CLKSRC_OF | |
122 | ||
84583983 | 123 | config CLKSRC_PISTACHIO |
dfdb1652 | 124 | bool "Clocksource for Pistachio SoC" if COMPILE_TEST |
84583983 | 125 | select CLKSRC_OF |
dfdb1652 DL |
126 | help |
127 | Enables the clocksource for the Pistachio SoC. | |
84583983 | 128 | |
fe851f56 FB |
129 | config CLKSRC_TI_32K |
130 | bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST | |
dfedaf10 | 131 | depends on GENERIC_SCHED_CLOCK |
fe851f56 FB |
132 | select CLKSRC_OF if OF |
133 | help | |
134 | This option enables support for Texas Instruments 32.768 Hz clocksource | |
135 | available on many OMAP-like platforms. | |
136 | ||
e37e4593 | 137 | config CLKSRC_STM32 |
1cb6c215 PG |
138 | bool "Clocksource for STM32 SoCs" if !ARCH_STM32 |
139 | depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST) | |
e37e4593 MC |
140 | select CLKSRC_MMIO |
141 | ||
8a4da6e3 MR |
142 | config ARM_ARCH_TIMER |
143 | bool | |
0583fe47 | 144 | select CLKSRC_OF if OF |
ae281cbd | 145 | select CLKSRC_ACPI if ACPI |
a2c5d4ed | 146 | |
037f6377 WD |
147 | config ARM_ARCH_TIMER_EVTSTREAM |
148 | bool "Support for ARM architected timer event stream generation" | |
149 | default y if ARM_ARCH_TIMER | |
77f7ce9a | 150 | depends on ARM_ARCH_TIMER |
037f6377 WD |
151 | help |
152 | This option enables support for event stream generation based on | |
153 | the ARM architected timer. It is used for waking up CPUs executing | |
154 | the wfe instruction at a frequency represented as a power-of-2 | |
155 | divisor of the clock rate. | |
156 | The main use of the event stream is wfe-based timeouts of userspace | |
157 | locking implementations. It might also be useful for imposing timeout | |
158 | on wfe to safeguard against any programming errors in case an expected | |
159 | event is not generated. | |
160 | This must be disabled for hardware validation purposes to detect any | |
161 | hardware anomalies of missing events. | |
162 | ||
c1b40e44 SM |
163 | config ARM_GLOBAL_TIMER |
164 | bool | |
165 | select CLKSRC_OF if OF | |
166 | help | |
167 | This options enables support for the ARM global timer unit | |
168 | ||
0b7402dc SH |
169 | config ARM_TIMER_SP804 |
170 | bool "Support for Dual Timer SP804 module" | |
002af195 | 171 | depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP |
0b7402dc SH |
172 | select CLKSRC_MMIO |
173 | select CLKSRC_OF if OF | |
174 | ||
c1b40e44 SM |
175 | config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK |
176 | bool | |
177 | depends on ARM_GLOBAL_TIMER | |
178 | default y | |
179 | help | |
180 | Use ARM global timer clock source as sched_clock | |
181 | ||
4958ebb3 MC |
182 | config ARMV7M_SYSTICK |
183 | bool | |
184 | select CLKSRC_OF if OF | |
185 | select CLKSRC_MMIO | |
186 | help | |
187 | This options enables support for the ARMv7M system timer unit | |
188 | ||
b052ff30 MR |
189 | config ATMEL_PIT |
190 | select CLKSRC_OF if OF | |
191 | def_bool SOC_AT91SAM9 || SOC_SAMA5 | |
192 | ||
b53cdd03 AB |
193 | config ATMEL_ST |
194 | bool | |
195 | select CLKSRC_OF | |
7ab7ef74 | 196 | select MFD_SYSCON |
b53cdd03 | 197 | |
a2c5d4ed JH |
198 | config CLKSRC_METAG_GENERIC |
199 | def_bool y if METAG | |
200 | help | |
201 | This option enables support for the Meta per-thread timers. | |
6938d75a TA |
202 | |
203 | config CLKSRC_EXYNOS_MCT | |
204 | def_bool y if ARCH_EXYNOS | |
3252a646 | 205 | depends on !ARM64 |
6938d75a TA |
206 | help |
207 | Support for Multi Core Timer controller on Exynos SoCs. | |
241a9871 | 208 | |
f1189989 | 209 | config CLKSRC_SAMSUNG_PWM |
77d84434 | 210 | bool |
f1189989 TF |
211 | help |
212 | This is a new clocksource driver for the PWM timer found in | |
213 | Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver | |
214 | for all devicetree enabled platforms. This driver will be | |
215 | needed only on systems that do not have the Exynos MCT available. | |
c1967249 | 216 | |
2529c3a3 XL |
217 | config FSL_FTM_TIMER |
218 | bool | |
219 | help | |
220 | Support for Freescale FlexTimer Module (FTM) timer. | |
221 | ||
c1967249 JL |
222 | config VF_PIT_TIMER |
223 | bool | |
224 | help | |
225 | Support for Period Interrupt Timer on Freescale Vybrid Family SoCs. | |
fd3f1270 MD |
226 | |
227 | config SYS_SUPPORTS_SH_CMT | |
228 | bool | |
229 | ||
ecb3530d | 230 | config MTK_TIMER |
fbca9eab | 231 | bool "Mediatek timer driver" if COMPILE_TEST |
ecb3530d MB |
232 | select CLKSRC_OF |
233 | select CLKSRC_MMIO | |
fbca9eab DL |
234 | help |
235 | Support for Mediatek timer driver. | |
ecb3530d | 236 | |
fd3f1270 MD |
237 | config SYS_SUPPORTS_SH_MTU2 |
238 | bool | |
239 | ||
240 | config SYS_SUPPORTS_SH_TMU | |
241 | bool | |
242 | ||
243 | config SYS_SUPPORTS_EM_STI | |
244 | bool | |
245 | ||
246 | config SH_TIMER_CMT | |
247 | bool "Renesas CMT timer driver" if COMPILE_TEST | |
87291a92 | 248 | depends on GENERIC_CLOCKEVENTS |
11bc26fe | 249 | depends on HAS_IOMEM |
fd3f1270 MD |
250 | default SYS_SUPPORTS_SH_CMT |
251 | help | |
252 | This enables build of a clocksource and clockevent driver for | |
253 | the Compare Match Timer (CMT) hardware available in 16/32/48-bit | |
254 | variants on a wide range of Mobile and Automotive SoCs from Renesas. | |
255 | ||
256 | config SH_TIMER_MTU2 | |
257 | bool "Renesas MTU2 timer driver" if COMPILE_TEST | |
87291a92 | 258 | depends on GENERIC_CLOCKEVENTS |
11bc26fe | 259 | depends on HAS_IOMEM |
fd3f1270 MD |
260 | default SYS_SUPPORTS_SH_MTU2 |
261 | help | |
262 | This enables build of a clockevent driver for the Multi-Function | |
7e139187 | 263 | Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas. |
fd3f1270 MD |
264 | This hardware comes with 16 bit-timer registers. |
265 | ||
266 | config SH_TIMER_TMU | |
267 | bool "Renesas TMU timer driver" if COMPILE_TEST | |
87291a92 | 268 | depends on GENERIC_CLOCKEVENTS |
11bc26fe | 269 | depends on HAS_IOMEM |
fd3f1270 MD |
270 | default SYS_SUPPORTS_SH_TMU |
271 | help | |
272 | This enables build of a clocksource and clockevent driver for | |
273 | the 32-bit Timer Unit (TMU) hardware available on a wide range | |
274 | SoCs from Renesas. | |
275 | ||
276 | config EM_TIMER_STI | |
277 | bool "Renesas STI timer driver" if COMPILE_TEST | |
40c96312 | 278 | depends on GENERIC_CLOCKEVENTS && HAS_IOMEM |
fd3f1270 MD |
279 | default SYS_SUPPORTS_EM_STI |
280 | help | |
281 | This enables build of a clocksource and clockevent driver for | |
282 | the 48-bit System Timer (STI) hardware available on a SoCs | |
283 | such as EMEV2 from former NEC Electronics. | |
dfc25e45 | 284 | |
3f8e8cee | 285 | config CLKSRC_QCOM |
3dc0e9f6 DL |
286 | bool "Qualcomm MSM timer" if COMPILE_TEST |
287 | depends on ARM | |
288 | select CLKSRC_OF | |
289 | help | |
290 | This enables the clocksource and the per CPU clockevent driver for the | |
291 | Qualcomm SoCs. | |
220e2a8d PM |
292 | |
293 | config CLKSRC_VERSATILE | |
294 | bool "ARM Versatile (Express) reference platforms clock source" | |
ff37015b | 295 | depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET |
220e2a8d PM |
296 | select CLKSRC_OF |
297 | default y if MFD_VEXPRESS_SYSREG | |
298 | help | |
299 | This option enables clock source based on free running | |
300 | counter available in the "System Registers" block of | |
301 | ARM Versatile, RealView and Versatile Express reference | |
302 | platforms. | |
58394271 | 303 | |
fa5635a2 AB |
304 | config CLKSRC_MIPS_GIC |
305 | bool | |
306 | depends on MIPS_GIC | |
e12aa828 | 307 | select CLKSRC_OF |
fa5635a2 | 308 | |
ccd63ce4 | 309 | config CLKSRC_TANGO_XTAL |
5a7351f0 DL |
310 | bool "Clocksource for Tango SoC" if COMPILE_TEST |
311 | depends on ARM | |
ccd63ce4 | 312 | select CLKSRC_OF |
5a7351f0 DL |
313 | help |
314 | This enables the clocksource for Tango SoC | |
ccd63ce4 | 315 | |
e074ff86 | 316 | config CLKSRC_PXA |
5ae996cb DL |
317 | bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST |
318 | depends on GENERIC_CLOCKEVENTS | |
319 | select CLKSRC_MMIO | |
e074ff86 DES |
320 | help |
321 | This enables OST0 support available on PXA and SA-11x0 | |
322 | platforms. | |
618b902d YS |
323 | |
324 | config H8300_TMR16 | |
325 | bool | |
326 | ||
327 | config H8300_TPU | |
328 | bool | |
329 | ||
bea5af41 SG |
330 | config CLKSRC_IMX_GPT |
331 | bool "Clocksource using i.MX GPT" if COMPILE_TEST | |
332 | depends on ARM && CLKDEV_LOOKUP | |
333 | select CLKSRC_MMIO | |
334 | ||
70bef01c | 335 | config CLKSRC_ST_LPC |
baacaf83 | 336 | bool "Low power clocksource found in the LPC" if COMPILE_TEST |
70bef01c LJ |
337 | select CLKSRC_OF if OF |
338 | help | |
339 | Enable this option to use the Low Power controller timer | |
340 | as clocksource. | |
341 | ||
58394271 | 342 | endmenu |