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