Blame view

drivers/clocksource/Kconfig 13.5 KB
58394271c   Jean Delvare   clocksource: Add ...
1
  menu "Clock Source drivers"
3da6d49e8   Arnd Bergmann   clocksource: Disa...
2
  	depends on !ARCH_USES_GETTIMEOFFSET
58394271c   Jean Delvare   clocksource: Add ...
3

ae278a935   Stephen Warren   clocksource: add ...
4
5
  config CLKSRC_OF
  	bool
aad83b15a   Marc Zyngier   clocksource: Add ...
6
7
8
9
10
11
12
13
  	select CLKSRC_PROBE
  
  config CLKSRC_ACPI
  	bool
  	select CLKSRC_PROBE
  
  config CLKSRC_PROBE
  	bool
ae278a935   Stephen Warren   clocksource: add ...
14

89c0b8e25   Russell King   clocksource: add ...
15
16
  config CLKSRC_I8253
  	bool
442c8176d   Russell King   clocksource: add ...
17

e6220bdc9   Thomas Gleixner   i8253: Create com...
18
19
  config CLKEVT_I8253
  	bool
15f304b66   Ralf Baechle   i8253: Consolidat...
20
21
22
23
  config I8253_LOCK
  	bool
  
  config CLKBLD_I8253
e6220bdc9   Thomas Gleixner   i8253: Create com...
24
  	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
15f304b66   Ralf Baechle   i8253: Consolidat...
25

442c8176d   Russell King   clocksource: add ...
26
27
  config CLKSRC_MMIO
  	bool
06c3df495   Jamie Iles   clocksource: apb:...
28

2ea879a7c   Daniel Lezcano   clocksource/drive...
29
30
31
32
33
34
  config BCM2835_TIMER
  	bool "BCM2835 timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	help
  	  Enables the support for the BCM2835 timer driver.
1cad71e35   Daniel Lezcano   clocksource/drive...
35
36
37
38
39
40
  config BCM_KONA_TIMER
  	bool "BCM mobile timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	help
  	  Enables the support for the BCM Kona mobile timer driver.
9b8bb7736   Baruch Siach   clocksource: Driv...
41
  config DIGICOLOR_TIMER
e6c1db13f   Daniel Lezcano   clocksource/drive...
42
  	bool "Digicolor timer driver" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
43
  	depends on GENERIC_CLOCKEVENTS
2be6d9bfe   Arnd Bergmann   clocksource: Sele...
44
  	select CLKSRC_MMIO
d7023e62c   Richard Weinberger   clocksource: Fix ...
45
  	depends on HAS_IOMEM
e6c1db13f   Daniel Lezcano   clocksource/drive...
46
47
  	help
  	  Enables the support for the digicolor timer driver.
9b8bb7736   Baruch Siach   clocksource: Driv...
48

06c3df495   Jamie Iles   clocksource: apb:...
49
  config DW_APB_TIMER
5b097f6ba   Daniel Lezcano   clocksource/drive...
50
  	bool "DW APB timer driver" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
51
  	depends on GENERIC_CLOCKEVENTS
5b097f6ba   Daniel Lezcano   clocksource/drive...
52
53
  	help
  	  Enables the support for the dw_apb timer.
489bccea6   Mattias Wallin   clocksource: add ...
54

cfda59017   Dinh Nguyen   clocksource: dw_a...
55
56
  config DW_APB_TIMER_OF
  	bool
1b4eca0f6   Heiko Stuebner   clocksource: dw_a...
57
  	select DW_APB_TIMER
100214889   Heiko Stuebner   clocksource: dw_a...
58
  	select CLKSRC_OF
cfda59017   Dinh Nguyen   clocksource: dw_a...
59

468b8c4cf   Daniel Lezcano   clockevents: rock...
60
  config ROCKCHIP_TIMER
40ada2aac   Daniel Lezcano   clocksource/drive...
61
62
  	bool "Rockchip timer driver" if COMPILE_TEST
  	depends on ARM || ARM64
468b8c4cf   Daniel Lezcano   clockevents: rock...
63
  	select CLKSRC_OF
40ada2aac   Daniel Lezcano   clocksource/drive...
64
65
  	help
  	  Enables the support for the rockchip timer driver.
468b8c4cf   Daniel Lezcano   clockevents: rock...
66

6fe9cbd11   Gregory CLEMENT   clocksource: time...
67
  config ARMADA_370_XP_TIMER
9519e80c7   Daniel Lezcano   clocksource/drive...
68
69
  	bool "Armada 370 and XP timer driver" if COMPILE_TEST
  	depends on ARM
7b0dd72a4   Jean Pihet   arm: clocksource:...
70
  	select CLKSRC_OF
2be6d9bfe   Arnd Bergmann   clocksource: Sele...
71
  	select CLKSRC_MMIO
9519e80c7   Daniel Lezcano   clocksource/drive...
72
73
  	help
  	  Enables the support for the Armada 370 and XP timer driver.
6fe9cbd11   Gregory CLEMENT   clocksource: time...
74

e4a6b3787   Carlo Caione   ARM: meson6: cloc...
75
  config MESON6_TIMER
0b7a7bb70   Daniel Lezcano   clocksource/drive...
76
  	bool "Meson6 timer driver" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
77
  	depends on GENERIC_CLOCKEVENTS
7b6b0a455   Beniamino Galvani   clocksource: meso...
78
  	select CLKSRC_MMIO
0b7a7bb70   Daniel Lezcano   clocksource/drive...
79
80
  	help
  	  Enables the support for the Meson6 timer driver.
e4a6b3787   Carlo Caione   ARM: meson6: cloc...
81

0c1dcfd53   Sebastian Hesselbarth   clocksource: Add ...
82
  config ORION_TIMER
c91655497   Daniel Lezcano   clocksource/drive...
83
84
  	bool "Orion timer driver" if COMPILE_TEST
  	depends on ARM
0c1dcfd53   Sebastian Hesselbarth   clocksource: Add ...
85
86
  	select CLKSRC_OF
  	select CLKSRC_MMIO
c91655497   Daniel Lezcano   clocksource/drive...
87
88
  	help
  	  Enables the support for the Orion timer driver
0c1dcfd53   Sebastian Hesselbarth   clocksource: Add ...
89

119fd635e   Maxime Ripard   clocksource: sunx...
90
  config SUN4I_TIMER
b4fcd48b8   Daniel Lezcano   clocksource/drive...
91
  	bool "Sun4i timer driver" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
92
  	depends on GENERIC_CLOCKEVENTS
d7023e62c   Richard Weinberger   clocksource: Fix ...
93
  	depends on HAS_IOMEM
71c568c00   Maxime Ripard   clocksource: sun4...
94
  	select CLKSRC_MMIO
b4fcd48b8   Daniel Lezcano   clocksource/drive...
95
96
  	help
  	  Enables support for the Sun4i timer.
b2ac5d754   Maxime Ripard   clocksource: sunx...
97

67905540e   Maxime Ripard   clocksource: Add ...
98
  config SUN5I_HSTIMER
f0c5afb78   Daniel Lezcano   clocksource/drive...
99
  	bool "Sun5i timer driver" if COMPILE_TEST
67905540e   Maxime Ripard   clocksource: Add ...
100
  	select CLKSRC_MMIO
f0c5afb78   Daniel Lezcano   clocksource/drive...
101
102
103
  	depends on COMMON_CLK
  	help
  	  Enables support the Sun5i timer.
67905540e   Maxime Ripard   clocksource: Add ...
104

910978e75   Thierry Reding   clocksource: Buil...
105
  config TEGRA_TIMER
adce4bc83   Daniel Lezcano   clocksource/drive...
106
  	bool "Tegra timer driver" if COMPILE_TEST
2be6d9bfe   Arnd Bergmann   clocksource: Sele...
107
  	select CLKSRC_MMIO
adce4bc83   Daniel Lezcano   clocksource/drive...
108
109
110
  	depends on ARM
  	help
  	  Enables support for the Tegra driver.
910978e75   Thierry Reding   clocksource: Buil...
111

ff7ec345f   Tony Prisk   timer: vt8500: Mo...
112
  config VT8500_TIMER
b4bdf7ef3   Daniel Lezcano   clocksource/drive...
113
  	bool "VT8500 timer driver" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
114
  	depends on GENERIC_CLOCKEVENTS
d7023e62c   Richard Weinberger   clocksource: Fix ...
115
  	depends on HAS_IOMEM
b4bdf7ef3   Daniel Lezcano   clocksource/drive...
116
117
  	help
  	  Enables support for the VT8500 driver.
ff7ec345f   Tony Prisk   timer: vt8500: Mo...
118

4f0f234fc   Michal Simek   arm: zynq: Move t...
119
  config CADENCE_TTC_TIMER
57f49318f   Daniel Lezcano   clocksource/drive...
120
121
122
123
  	bool "Cadence TTC timer driver" if COMPILE_TEST
  	depends on COMMON_CLK
  	help
  	  Enables support for the cadence ttc driver.
4f0f234fc   Michal Simek   arm: zynq: Move t...
124

a8b1b9fc9   Daniel Lezcano   clockevents: asm9...
125
  config ASM9260_TIMER
b9755841e   Daniel Lezcano   clocksource/drive...
126
  	bool "ASM9260 timer driver" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
127
  	depends on GENERIC_CLOCKEVENTS
a8b1b9fc9   Daniel Lezcano   clockevents: asm9...
128
129
  	select CLKSRC_MMIO
  	select CLKSRC_OF
b9755841e   Daniel Lezcano   clocksource/drive...
130
131
  	help
  	  Enables support for the ASM9260 timer.
a8b1b9fc9   Daniel Lezcano   clockevents: asm9...
132

694e33a7f   Linus Walleij   ARM: plat-nomadik...
133
  config CLKSRC_NOMADIK_MTU
703296530   Daniel Lezcano   clocksource/drive...
134
135
  	bool "Nomakdik clocksource driver" if COMPILE_TEST
  	depends on ARM
694e33a7f   Linus Walleij   ARM: plat-nomadik...
136
137
138
139
140
141
142
143
144
145
146
  	select CLKSRC_MMIO
  	help
  	  Support for Multi Timer Unit. MTU provides access
  	  to multiple interrupt generating programmable
  	  32-bit free running decrementing counters.
  
  config CLKSRC_NOMADIK_MTU_SCHED_CLOCK
  	bool
  	depends on CLKSRC_NOMADIK_MTU
  	help
  	  Use the Multi Timer Unit as the sched_clock.
489bccea6   Mattias Wallin   clocksource: add ...
147
  config CLKSRC_DBX500_PRCMU
1becd6ede   Daniel Lezcano   clocksource/drive...
148
  	bool "Clocksource PRCMU Timer" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
149
  	depends on GENERIC_CLOCKEVENTS
d7023e62c   Richard Weinberger   clocksource: Fix ...
150
  	depends on HAS_IOMEM
489bccea6   Mattias Wallin   clocksource: add ...
151
152
  	help
  	  Use the always on PRCMU Timer as clocksource
ecf0efdc9   Daniel Lezcano   clocksource/drive...
153
154
155
156
157
158
  config CLPS711X_TIMER
  	bool "Cirrus logic timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	help
  	  Enables support for the Cirrus Logic PS711 timer.
b56d5d218   Daniel Lezcano   clocksource/drive...
159
160
161
162
163
164
  config ATLAS7_TIMER
  	bool "Atlas7 timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	help
  	  Enables support for the Atlas7 timer.
419be9e36   Daniel Lezcano   clocksource/drive...
165
166
167
168
169
170
  config MOXART_TIMER
  	bool "Moxart timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	help
  	  Enables support for the Moxart timer.
d81c50a03   Daniel Lezcano   clocksource/drive...
171
172
173
174
175
176
177
  config MXS_TIMER
  	bool "Mxs timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	select STMP_DEVICE
  	help
  	  Enables support for the Mxs timer.
f3550d499   Daniel Lezcano   clocksource/drive...
178
179
180
181
182
183
  config PRIMA2_TIMER
  	bool "Prima2 timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	help
  	  Enables support for the Prima2 timer.
85f98db4a   Daniel Lezcano   clocksource/drive...
184
185
186
187
188
189
190
  config U300_TIMER
  	bool "U300 timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	depends on ARM
  	select CLKSRC_MMIO
  	help
  	  Enables support for the U300 timer.
d683b9dcc   Daniel Lezcano   clocksource/drive...
191
192
193
194
195
196
  config NSPIRE_TIMER
  	bool "NSpire timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	help
  	  Enables support for the Nspire timer.
c12547a00   Daniel Lezcano   clocksource/drive...
197
198
199
200
201
202
203
  config KEYSTONE_TIMER
  	bool "Keystone timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	depends on ARM || ARM64
  	select CLKSRC_MMIO
  	help
  	  Enables support for the Keystone timer.
568c0342e   Daniel Lezcano   clocksource/drive...
204
205
206
207
208
209
  config INTEGRATOR_AP_TIMER
  	bool "Integrator-ap timer driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_MMIO
  	help
  	  Enables support for the Integrator-ap timer.
489bccea6   Mattias Wallin   clocksource: add ...
210
211
  config CLKSRC_DBX500_PRCMU_SCHED_CLOCK
  	bool "Clocksource PRCMU Timer sched_clock"
694e33a7f   Linus Walleij   ARM: plat-nomadik...
212
  	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
489bccea6   Mattias Wallin   clocksource: add ...
213
214
215
  	default y
  	help
  	  Use the always on PRCMU Timer as sched_clock
985c0679d   Marc Zyngier   arm64: Generic ti...
216

9c9b78180   Uwe Kleine-König   clocksource: Prov...
217
218
219
  config CLKSRC_EFM32
  	bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
  	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
09ca27579   Axel Lin   clocksource: time...
220
  	select CLKSRC_MMIO
9c9b78180   Uwe Kleine-König   clocksource: Prov...
221
222
223
224
  	default ARCH_EFM32
  	help
  	  Support to use the timers of EFM32 SoCs as clock source and clock
  	  event device.
050dd3222   Joachim Eastwood   clocksource/drive...
225
  config CLKSRC_LPC32XX
ddcf48c77   Daniel Lezcano   clocksource/drive...
226
  	bool "Clocksource for LPC32XX" if COMPILE_TEST
863ee0507   Richard Weinberger   clocksource/drive...
227
  	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
1b18fd202   Ezequiel Garcia   clocksource/drive...
228
  	depends on ARM
050dd3222   Joachim Eastwood   clocksource/drive...
229
230
  	select CLKSRC_MMIO
  	select CLKSRC_OF
ddcf48c77   Daniel Lezcano   clocksource/drive...
231
232
  	help
  	  Support for the LPC32XX clocksource.
050dd3222   Joachim Eastwood   clocksource/drive...
233

84583983c   Ezequiel Garcia   CLOCKSOURCE: Add ...
234
  config CLKSRC_PISTACHIO
dfdb16525   Daniel Lezcano   clocksource/drive...
235
  	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
863ee0507   Richard Weinberger   clocksource/drive...
236
  	depends on HAS_IOMEM
84583983c   Ezequiel Garcia   CLOCKSOURCE: Add ...
237
  	select CLKSRC_OF
dfdb16525   Daniel Lezcano   clocksource/drive...
238
239
  	help
  	  Enables the clocksource for the Pistachio SoC.
84583983c   Ezequiel Garcia   CLOCKSOURCE: Add ...
240

fe851f56d   Felipe Balbi   clocksource: add ...
241
242
  config CLKSRC_TI_32K
  	bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
dfedaf105   Felipe Balbi   clocksource: ti-3...
243
  	depends on GENERIC_SCHED_CLOCK
fe851f56d   Felipe Balbi   clocksource: add ...
244
245
246
247
  	select CLKSRC_OF if OF
  	help
  	  This option enables support for Texas Instruments 32.768 Hz clocksource
  	  available on many OMAP-like platforms.
a53224577   Noam Camus   clocksource: Add ...
248
249
250
251
252
253
254
255
256
  config CLKSRC_NPS
  	bool "NPS400 clocksource driver" if COMPILE_TEST
  	depends on !PHYS_ADDR_T_64BIT
  	select CLKSRC_MMIO
  	select CLKSRC_OF if OF
  	help
  	  NPS400 clocksource support.
  	  Got 64 bit counter with update rate up to 1000MHz.
  	  This counter is accessed via couple of 32 bit memory mapped registers.
e37e45934   Maxime Coquelin   clockevents/drive...
257
  config CLKSRC_STM32
1cb6c2151   Paul Gortmaker   clocksource: Incr...
258
259
  	bool "Clocksource for STM32 SoCs" if !ARCH_STM32
  	depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
e37e45934   Maxime Coquelin   clockevents/drive...
260
  	select CLKSRC_MMIO
0302637f1   Vladimir Murzin   clockevents/drive...
261
262
263
264
265
  config CLKSRC_MPS2
  	bool "Clocksource for MPS2 SoCs" if COMPILE_TEST
  	depends on GENERIC_SCHED_CLOCK
  	select CLKSRC_MMIO
  	select CLKSRC_OF
8a4da6e36   Mark Rutland   arm: arch_timer: ...
266
267
  config ARM_ARCH_TIMER
  	bool
0583fe478   Rob Herring   ARM: convert arm/...
268
  	select CLKSRC_OF if OF
ae281cbd2   Marc Zyngier   clocksource / arm...
269
  	select CLKSRC_ACPI if ACPI
a2c5d4ed9   James Hogan   metag: Time keeping
270

037f63776   Will Deacon   drivers: clocksou...
271
  config ARM_ARCH_TIMER_EVTSTREAM
46fd5c6b3   Will Deacon   clocksource/drive...
272
  	bool "Enable ARM architected timer event stream generation by default"
037f63776   Will Deacon   drivers: clocksou...
273
  	default y if ARM_ARCH_TIMER
77f7ce9a9   Stephen Boyd   clocksource: arm_...
274
  	depends on ARM_ARCH_TIMER
037f63776   Will Deacon   drivers: clocksou...
275
  	help
46fd5c6b3   Will Deacon   clocksource/drive...
276
277
278
279
280
281
  	  This option enables support by default for event stream generation
  	  based on the ARM architected timer. It is used for waking up CPUs
  	  executing the wfe instruction at a frequency represented as a
  	  power-of-2 divisor of the clock rate. The behaviour can also be
  	  overridden on the command line using the
  	  clocksource.arm_arch_timer.evtstream parameter.
037f63776   Will Deacon   drivers: clocksou...
282
283
284
285
286
287
  	  The main use of the event stream is wfe-based timeouts of userspace
  	  locking implementations. It might also be useful for imposing timeout
  	  on wfe to safeguard against any programming errors in case an expected
  	  event is not generated.
  	  This must be disabled for hardware validation purposes to detect any
  	  hardware anomalies of missing events.
c1b40e447   Stuart Menefy   clocksource: arm_...
288
  config ARM_GLOBAL_TIMER
67a87a43b   Daniel Lezcano   clocksource/drive...
289
  	bool "Support for the ARM global timer" if COMPILE_TEST
c1b40e447   Stuart Menefy   clocksource: arm_...
290
  	select CLKSRC_OF if OF
67a87a43b   Daniel Lezcano   clocksource/drive...
291
  	depends on ARM
c1b40e447   Stuart Menefy   clocksource: arm_...
292
293
  	help
  	  This options enables support for the ARM global timer unit
0b7402dce   Sudeep Holla   ARM: 8366/1: move...
294
295
  config ARM_TIMER_SP804
  	bool "Support for Dual Timer SP804 module"
002af195a   Guenter Roeck   ARM: Fix build if...
296
  	depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
0b7402dce   Sudeep Holla   ARM: 8366/1: move...
297
298
  	select CLKSRC_MMIO
  	select CLKSRC_OF if OF
c1b40e447   Stuart Menefy   clocksource: arm_...
299
300
301
302
303
304
  config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
  	bool
  	depends on ARM_GLOBAL_TIMER
  	default y
  	help
  	 Use ARM global timer clock source as sched_clock
4958ebb3d   Maxime Coquelin   clocksource/drive...
305
  config ARMV7M_SYSTICK
e2146d865   Daniel Lezcano   clocksource/drive...
306
  	bool "Support for the ARMv7M system time" if COMPILE_TEST
4958ebb3d   Maxime Coquelin   clocksource/drive...
307
308
309
310
  	select CLKSRC_OF if OF
  	select CLKSRC_MMIO
  	help
  	  This options enables support for the ARMv7M system timer unit
b052ff30c   Maxime Ripard   ARM: at91: PIT: M...
311
312
313
  config ATMEL_PIT
  	select CLKSRC_OF if OF
  	def_bool SOC_AT91SAM9 || SOC_SAMA5
b53cdd032   Alexandre Belloni   ARM: at91: time: ...
314
  config ATMEL_ST
b988d3f08   Daniel Lezcano   clocksource/drive...
315
316
  	bool "Atmel ST timer support" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
b53cdd032   Alexandre Belloni   ARM: at91: time: ...
317
  	select CLKSRC_OF
7ab7ef741   Alexandre Belloni   clocksource: atme...
318
  	select MFD_SYSCON
b988d3f08   Daniel Lezcano   clocksource/drive...
319
320
  	help
  	  Support for the Atmel ST timer.
b53cdd032   Alexandre Belloni   ARM: at91: time: ...
321

a2c5d4ed9   James Hogan   metag: Time keeping
322
323
324
325
  config CLKSRC_METAG_GENERIC
  	def_bool y if METAG
  	help
  	  This option enables support for the Meta per-thread timers.
6938d75a8   Thomas Abraham   ARM: EXYNOS: move...
326
327
  
  config CLKSRC_EXYNOS_MCT
39366ef42   Daniel Lezcano   clocksource/drive...
328
329
  	bool "Exynos multi core timer driver" if COMPILE_TEST
  	depends on ARM
6938d75a8   Thomas Abraham   ARM: EXYNOS: move...
330
331
  	help
  	  Support for Multi Core Timer controller on Exynos SoCs.
241a98712   Arnd Bergmann   Merge branch 'exy...
332

f11899894   Tomasz Figa   clocksource: add ...
333
  config CLKSRC_SAMSUNG_PWM
de37b0b56   Alexandre Belloni   clocksource/drive...
334
  	bool "PWM timer driver for Samsung S3C, S5P" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
335
  	depends on GENERIC_CLOCKEVENTS
d7023e62c   Richard Weinberger   clocksource: Fix ...
336
  	depends on HAS_IOMEM
f11899894   Tomasz Figa   clocksource: add ...
337
338
339
340
341
  	help
  	  This is a new clocksource driver for the PWM timer found in
  	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
  	  for all devicetree enabled platforms. This driver will be
  	  needed only on systems that do not have the Exynos MCT available.
c19672492   Jingchang Lu   clocksource: Add ...
342

2529c3a33   Xiubo Li   clocksource: Add ...
343
  config FSL_FTM_TIMER
ef49336bb   Daniel Lezcano   clocksource/drive...
344
  	bool "Freescale FlexTimer Module driver" if COMPILE_TEST
0901f1843   Daniel Lezcano   clocksource/drive...
345
  	depends on GENERIC_CLOCKEVENTS
d7023e62c   Richard Weinberger   clocksource: Fix ...
346
  	depends on HAS_IOMEM
03724ac3d   Daniel Lezcano   clocksource/drive...
347
  	select CLKSRC_MMIO
2529c3a33   Xiubo Li   clocksource: Add ...
348
349
  	help
  	  Support for Freescale FlexTimer Module (FTM) timer.
c19672492   Jingchang Lu   clocksource: Add ...
350
351
  config VF_PIT_TIMER
  	bool
2be6d9bfe   Arnd Bergmann   clocksource: Sele...
352
  	select CLKSRC_MMIO
c19672492   Jingchang Lu   clocksource: Add ...
353
354
  	help
  	  Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
fd3f1270d   Magnus Damm   clocksource: Add ...
355

89355274e   Neil Armstrong   clocksource/drive...
356
357
358
359
360
361
362
  config OXNAS_RPS_TIMER
  	bool "Oxford Semiconductor OXNAS RPS Timers driver" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
  	select CLKSRC_OF
  	select CLKSRC_MMIO
  	help
  	  This enables support for the Oxford Semiconductor OXNAS RPS timers.
fd3f1270d   Magnus Damm   clocksource: Add ...
363
364
  config SYS_SUPPORTS_SH_CMT
          bool
ecb3530dd   Matthias Brugger   clocksource: Add ...
365
  config MTK_TIMER
fbca9eabe   Daniel Lezcano   clocksource/drive...
366
  	bool "Mediatek timer driver" if COMPILE_TEST
863ee0507   Richard Weinberger   clocksource/drive...
367
  	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
ecb3530dd   Matthias Brugger   clocksource: Add ...
368
369
  	select CLKSRC_OF
  	select CLKSRC_MMIO
fbca9eabe   Daniel Lezcano   clocksource/drive...
370
371
  	help
  	  Support for Mediatek timer driver.
ecb3530dd   Matthias Brugger   clocksource: Add ...
372

fd3f1270d   Magnus Damm   clocksource: Add ...
373
374
375
376
377
378
379
380
381
382
383
  config SYS_SUPPORTS_SH_MTU2
          bool
  
  config SYS_SUPPORTS_SH_TMU
          bool
  
  config SYS_SUPPORTS_EM_STI
          bool
  
  config SH_TIMER_CMT
  	bool "Renesas CMT timer driver" if COMPILE_TEST
87291a926   Geert Uytterhoeven   clocksource: CMT,...
384
  	depends on GENERIC_CLOCKEVENTS
11bc26fe3   Richard Weinberger   clocksource/drive...
385
  	depends on HAS_IOMEM
fd3f1270d   Magnus Damm   clocksource: Add ...
386
387
388
389
390
391
392
393
  	default SYS_SUPPORTS_SH_CMT
  	help
  	  This enables build of a clocksource and clockevent driver for
  	  the Compare Match Timer (CMT) hardware available in 16/32/48-bit
  	  variants on a wide range of Mobile and Automotive SoCs from Renesas.
  
  config SH_TIMER_MTU2
  	bool "Renesas MTU2 timer driver" if COMPILE_TEST
87291a926   Geert Uytterhoeven   clocksource: CMT,...
394
  	depends on GENERIC_CLOCKEVENTS
11bc26fe3   Richard Weinberger   clocksource/drive...
395
  	depends on HAS_IOMEM
fd3f1270d   Magnus Damm   clocksource: Add ...
396
397
398
  	default SYS_SUPPORTS_SH_MTU2
  	help
  	  This enables build of a clockevent driver for the Multi-Function
7e1391876   Kuninori Morimoto   clocksource: sh_m...
399
  	  Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
fd3f1270d   Magnus Damm   clocksource: Add ...
400
401
402
403
  	  This hardware comes with 16 bit-timer registers.
  
  config SH_TIMER_TMU
  	bool "Renesas TMU timer driver" if COMPILE_TEST
87291a926   Geert Uytterhoeven   clocksource: CMT,...
404
  	depends on GENERIC_CLOCKEVENTS
11bc26fe3   Richard Weinberger   clocksource/drive...
405
  	depends on HAS_IOMEM
fd3f1270d   Magnus Damm   clocksource: Add ...
406
407
408
409
410
411
412
413
  	default SYS_SUPPORTS_SH_TMU
  	help
  	  This enables build of a clocksource and clockevent driver for
  	  the 32-bit Timer Unit (TMU) hardware available on a wide range
  	  SoCs from Renesas.
  
  config EM_TIMER_STI
  	bool "Renesas STI timer driver" if COMPILE_TEST
40c96312d   Chen Gang   clocksource: Kcon...
414
  	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
fd3f1270d   Magnus Damm   clocksource: Add ...
415
416
417
418
419
  	default SYS_SUPPORTS_EM_STI
  	help
  	  This enables build of a clocksource and clockevent driver for
  	  the 48-bit System Timer (STI) hardware available on a SoCs
  	  such as EMEV2 from former NEC Electronics.
dfc25e450   Linus Torvalds   Merge tag 'cleanu...
420

3f8e8cee2   Kumar Gala   clocksource: qcom...
421
  config CLKSRC_QCOM
3dc0e9f6f   Daniel Lezcano   clocksource/drive...
422
423
424
425
426
427
  	bool "Qualcomm MSM timer" if COMPILE_TEST
  	depends on ARM
  	select CLKSRC_OF
  	help
  	  This enables the clocksource and the per CPU clockevent driver for the
  	  Qualcomm SoCs.
220e2a8d2   Pawel Moll   clocksource: Sche...
428
429
  
  config CLKSRC_VERSATILE
5cc87a4df   Daniel Lezcano   clocksource/drive...
430
431
  	bool "ARM Versatile (Express) reference platforms clock source" if COMPILE_TEST
  	depends on GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
220e2a8d2   Pawel Moll   clocksource: Sche...
432
433
434
435
436
437
438
  	select CLKSRC_OF
  	default y if MFD_VEXPRESS_SYSREG
  	help
  	  This option enables clock source based on free running
  	  counter available in the "System Registers" block of
  	  ARM Versatile, RealView and Versatile Express reference
  	  platforms.
58394271c   Jean Delvare   clocksource: Add ...
439

fa5635a27   Andrew Bresticker   MIPS: Move GIC cl...
440
441
442
  config CLKSRC_MIPS_GIC
  	bool
  	depends on MIPS_GIC
e12aa828f   Andrew Bresticker   clocksource: mips...
443
  	select CLKSRC_OF
fa5635a27   Andrew Bresticker   MIPS: Move GIC cl...
444

ccd63ce47   Marc Gonzalez   clocksource/drive...
445
  config CLKSRC_TANGO_XTAL
5a7351f0e   Daniel Lezcano   clocksource/drive...
446
447
  	bool "Clocksource for Tango SoC" if COMPILE_TEST
  	depends on ARM
ccd63ce47   Marc Gonzalez   clocksource/drive...
448
  	select CLKSRC_OF
0881841f7   Daniel Lezcano   clocksource/drive...
449
  	select CLKSRC_MMIO
5a7351f0e   Daniel Lezcano   clocksource/drive...
450
451
  	help
  	  This enables the clocksource for Tango SoC
ccd63ce47   Marc Gonzalez   clocksource/drive...
452

e074ff86e   Dmitry Eremin-Solenikov   ARM: 8251/1: cloc...
453
  config CLKSRC_PXA
5ae996cbe   Daniel Lezcano   clocksource/drive...
454
455
  	bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
  	depends on GENERIC_CLOCKEVENTS
d7023e62c   Richard Weinberger   clocksource: Fix ...
456
  	depends on HAS_IOMEM
5ae996cbe   Daniel Lezcano   clocksource/drive...
457
  	select CLKSRC_MMIO
e074ff86e   Dmitry Eremin-Solenikov   ARM: 8251/1: cloc...
458
459
460
  	help
  	  This enables OST0 support available on PXA and SA-11x0
  	  platforms.
618b902d8   Yoshinori Sato   h8300: clocksource
461

97a23beb8   Daniel Lezcano   clocksource/drive...
462
  config H8300_TMR8
46e7c3c6e   Daniel Lezcano   clocksource/drive...
463
          bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
863ee0507   Richard Weinberger   clocksource/drive...
464
          depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
46e7c3c6e   Daniel Lezcano   clocksource/drive...
465
466
  	help
  	  This enables the 8 bits timer for the H8300 platform.
97a23beb8   Daniel Lezcano   clocksource/drive...
467

618b902d8   Yoshinori Sato   h8300: clocksource
468
  config H8300_TMR16
46e7c3c6e   Daniel Lezcano   clocksource/drive...
469
          bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
863ee0507   Richard Weinberger   clocksource/drive...
470
          depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
46e7c3c6e   Daniel Lezcano   clocksource/drive...
471
472
473
  	help
  	  This enables the 16 bits timer for the H8300 platform with the
  	  H83069 cpu.
618b902d8   Yoshinori Sato   h8300: clocksource
474
475
  
  config H8300_TPU
46e7c3c6e   Daniel Lezcano   clocksource/drive...
476
          bool "Clocksource for the H8300 platform" if COMPILE_TEST
863ee0507   Richard Weinberger   clocksource/drive...
477
          depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
46e7c3c6e   Daniel Lezcano   clocksource/drive...
478
479
480
  	help
  	  This enables the clocksource for the H8300 platform with the
  	  H8S2678 cpu.
618b902d8   Yoshinori Sato   h8300: clocksource
481

bea5af41d   Shawn Guo   ARM: imx: move ti...
482
483
484
485
  config CLKSRC_IMX_GPT
  	bool "Clocksource using i.MX GPT" if COMPILE_TEST
  	depends on ARM && CLKDEV_LOOKUP
  	select CLKSRC_MMIO
70bef01c0   Lee Jones   clocksource: sti:...
486
  config CLKSRC_ST_LPC
baacaf833   Daniel Lezcano   clocksource/drive...
487
  	bool "Low power clocksource found in the LPC" if COMPILE_TEST
70bef01c0   Lee Jones   clocksource: sti:...
488
  	select CLKSRC_OF if OF
863ee0507   Richard Weinberger   clocksource/drive...
489
  	depends on HAS_IOMEM
2be6d9bfe   Arnd Bergmann   clocksource: Sele...
490
  	select CLKSRC_MMIO
70bef01c0   Lee Jones   clocksource: sti:...
491
492
493
  	help
  	  Enable this option to use the Low Power controller timer
  	  as clocksource.
58394271c   Jean Delvare   clocksource: Add ...
494
  endmenu