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