xref: /openbmc/linux/drivers/clocksource/Kconfig (revision 2be6d9bf)
158394271SJean Delvaremenu "Clock Source drivers"
23da6d49eSArnd Bergmann	depends on !ARCH_USES_GETTIMEOFFSET
358394271SJean Delvare
4ae278a93SStephen Warrenconfig CLKSRC_OF
5ae278a93SStephen Warren	bool
6aad83b15SMarc Zyngier	select CLKSRC_PROBE
7aad83b15SMarc Zyngier
8aad83b15SMarc Zyngierconfig CLKSRC_ACPI
9aad83b15SMarc Zyngier	bool
10aad83b15SMarc Zyngier	select CLKSRC_PROBE
11aad83b15SMarc Zyngier
12aad83b15SMarc Zyngierconfig CLKSRC_PROBE
13aad83b15SMarc Zyngier	bool
14ae278a93SStephen Warren
1589c0b8e2SRussell Kingconfig CLKSRC_I8253
1689c0b8e2SRussell King	bool
17442c8176SRussell King
18e6220bdcSThomas Gleixnerconfig CLKEVT_I8253
19e6220bdcSThomas Gleixner	bool
20e6220bdcSThomas Gleixner
2115f304b6SRalf Baechleconfig I8253_LOCK
2215f304b6SRalf Baechle	bool
2315f304b6SRalf Baechle
2415f304b6SRalf Baechleconfig CLKBLD_I8253
25e6220bdcSThomas Gleixner	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
2615f304b6SRalf Baechle
27442c8176SRussell Kingconfig CLKSRC_MMIO
28442c8176SRussell King	bool
2906c3df49SJamie Iles
309b8bb773SBaruch Siachconfig DIGICOLOR_TIMER
31e6c1db13SDaniel Lezcano	bool "Digicolor timer driver" if COMPILE_TEST
320901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
332be6d9bfSArnd Bergmann	select CLKSRC_MMIO
34e6c1db13SDaniel Lezcano	help
35e6c1db13SDaniel Lezcano	  Enables the support for the digicolor timer driver.
369b8bb773SBaruch Siach
3706c3df49SJamie Ilesconfig DW_APB_TIMER
385b097f6bSDaniel Lezcano	bool "DW APB timer driver" if COMPILE_TEST
390901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
405b097f6bSDaniel Lezcano	help
415b097f6bSDaniel Lezcano	  Enables the support for the dw_apb timer.
42489bcceaSMattias Wallin
43cfda5901SDinh Nguyenconfig DW_APB_TIMER_OF
44cfda5901SDinh Nguyen	bool
451b4eca0fSHeiko Stuebner	select DW_APB_TIMER
4610021488SHeiko Stuebner	select CLKSRC_OF
47cfda5901SDinh Nguyen
48468b8c4cSDaniel Lezcanoconfig ROCKCHIP_TIMER
4940ada2aaSDaniel Lezcano	bool "Rockchip timer driver" if COMPILE_TEST
5040ada2aaSDaniel Lezcano	depends on ARM || ARM64
51468b8c4cSDaniel Lezcano	select CLKSRC_OF
5240ada2aaSDaniel Lezcano	help
5340ada2aaSDaniel Lezcano	  Enables the support for the rockchip timer driver.
54468b8c4cSDaniel Lezcano
556fe9cbd1SGregory CLEMENTconfig ARMADA_370_XP_TIMER
569519e80cSDaniel Lezcano	bool "Armada 370 and XP timer driver" if COMPILE_TEST
579519e80cSDaniel Lezcano	depends on ARM
587b0dd72aSJean Pihet	select CLKSRC_OF
592be6d9bfSArnd Bergmann	select CLKSRC_MMIO
609519e80cSDaniel Lezcano	help
619519e80cSDaniel Lezcano	  Enables the support for the Armada 370 and XP timer driver.
626fe9cbd1SGregory CLEMENT
63e4a6b378SCarlo Caioneconfig MESON6_TIMER
640b7a7bb7SDaniel Lezcano	bool "Meson6 timer driver" if COMPILE_TEST
650901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
667b6b0a45SBeniamino Galvani	select CLKSRC_MMIO
670b7a7bb7SDaniel Lezcano	help
680b7a7bb7SDaniel Lezcano	  Enables the support for the Meson6 timer driver.
69e4a6b378SCarlo Caione
700c1dcfd5SSebastian Hesselbarthconfig ORION_TIMER
71c9165549SDaniel Lezcano	bool "Orion timer driver" if COMPILE_TEST
72c9165549SDaniel Lezcano	depends on ARM
730c1dcfd5SSebastian Hesselbarth	select CLKSRC_OF
740c1dcfd5SSebastian Hesselbarth	select CLKSRC_MMIO
75c9165549SDaniel Lezcano	help
76c9165549SDaniel Lezcano	  Enables the support for the Orion timer driver
770c1dcfd5SSebastian Hesselbarth
78119fd635SMaxime Ripardconfig SUN4I_TIMER
79b4fcd48bSDaniel Lezcano	bool "Sun4i timer driver" if COMPILE_TEST
800901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
8171c568c0SMaxime Ripard	select CLKSRC_MMIO
82b4fcd48bSDaniel Lezcano	help
83b4fcd48bSDaniel Lezcano	  Enables support for the Sun4i timer.
84b2ac5d75SMaxime Ripard
8567905540SMaxime Ripardconfig SUN5I_HSTIMER
86f0c5afb7SDaniel Lezcano	bool "Sun5i timer driver" if COMPILE_TEST
8767905540SMaxime Ripard	select CLKSRC_MMIO
88f0c5afb7SDaniel Lezcano	depends on COMMON_CLK
89f0c5afb7SDaniel Lezcano	help
90f0c5afb7SDaniel Lezcano	  Enables support the Sun5i timer.
9167905540SMaxime Ripard
92910978e7SThierry Redingconfig TEGRA_TIMER
93adce4bc8SDaniel Lezcano	bool "Tegra timer driver" if COMPILE_TEST
942be6d9bfSArnd Bergmann	select CLKSRC_MMIO
95adce4bc8SDaniel Lezcano	depends on ARM
96adce4bc8SDaniel Lezcano	help
97adce4bc8SDaniel Lezcano	  Enables support for the Tegra driver.
98910978e7SThierry Reding
99ff7ec345STony Priskconfig VT8500_TIMER
100b4bdf7efSDaniel Lezcano	bool "VT8500 timer driver" if COMPILE_TEST
1010901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
102b4bdf7efSDaniel Lezcano	help
103b4bdf7efSDaniel Lezcano	  Enables support for the VT8500 driver.
104ff7ec345STony Prisk
1054f0f234fSMichal Simekconfig CADENCE_TTC_TIMER
10657f49318SDaniel Lezcano	bool "Cadence TTC timer driver" if COMPILE_TEST
10757f49318SDaniel Lezcano	depends on COMMON_CLK
10857f49318SDaniel Lezcano	help
10957f49318SDaniel Lezcano	  Enables support for the cadence ttc driver.
1104f0f234fSMichal Simek
111a8b1b9fcSDaniel Lezcanoconfig ASM9260_TIMER
112b9755841SDaniel Lezcano	bool "ASM9260 timer driver" if COMPILE_TEST
1130901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
114a8b1b9fcSDaniel Lezcano	select CLKSRC_MMIO
115a8b1b9fcSDaniel Lezcano	select CLKSRC_OF
116b9755841SDaniel Lezcano	help
117b9755841SDaniel Lezcano	  Enables support for the ASM9260 timer.
118a8b1b9fcSDaniel Lezcano
119694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU
12070329653SDaniel Lezcano	bool "Nomakdik clocksource driver" if COMPILE_TEST
12170329653SDaniel Lezcano	depends on ARM
122694e33a7SLinus Walleij	select CLKSRC_MMIO
123694e33a7SLinus Walleij	help
124694e33a7SLinus Walleij	  Support for Multi Timer Unit. MTU provides access
125694e33a7SLinus Walleij	  to multiple interrupt generating programmable
126694e33a7SLinus Walleij	  32-bit free running decrementing counters.
127694e33a7SLinus Walleij
128694e33a7SLinus Walleijconfig CLKSRC_NOMADIK_MTU_SCHED_CLOCK
129694e33a7SLinus Walleij	bool
130694e33a7SLinus Walleij	depends on CLKSRC_NOMADIK_MTU
131694e33a7SLinus Walleij	help
132694e33a7SLinus Walleij	  Use the Multi Timer Unit as the sched_clock.
133694e33a7SLinus Walleij
134489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU
1351becd6edSDaniel Lezcano	bool "Clocksource PRCMU Timer" if COMPILE_TEST
1360901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
137489bcceaSMattias Wallin	help
138489bcceaSMattias Wallin	  Use the always on PRCMU Timer as clocksource
139489bcceaSMattias Wallin
140489bcceaSMattias Wallinconfig CLKSRC_DBX500_PRCMU_SCHED_CLOCK
141489bcceaSMattias Wallin	bool "Clocksource PRCMU Timer sched_clock"
142694e33a7SLinus Walleij	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
143489bcceaSMattias Wallin	default y
144489bcceaSMattias Wallin	help
145489bcceaSMattias Wallin	  Use the always on PRCMU Timer as sched_clock
146985c0679SMarc Zyngier
1479c9b7818SUwe Kleine-Königconfig CLKSRC_EFM32
1489c9b7818SUwe Kleine-König	bool "Clocksource for Energy Micro's EFM32 SoCs" if !ARCH_EFM32
1499c9b7818SUwe Kleine-König	depends on OF && ARM && (ARCH_EFM32 || COMPILE_TEST)
15009ca2757SAxel Lin	select CLKSRC_MMIO
1519c9b7818SUwe Kleine-König	default ARCH_EFM32
1529c9b7818SUwe Kleine-König	help
1539c9b7818SUwe Kleine-König	  Support to use the timers of EFM32 SoCs as clock source and clock
1549c9b7818SUwe Kleine-König	  event device.
1559c9b7818SUwe Kleine-König
156050dd322SJoachim Eastwoodconfig CLKSRC_LPC32XX
157ddcf48c7SDaniel Lezcano	bool "Clocksource for LPC32XX" if COMPILE_TEST
158863ee050SRichard Weinberger	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
159050dd322SJoachim Eastwood	select CLKSRC_MMIO
160050dd322SJoachim Eastwood	select CLKSRC_OF
161ddcf48c7SDaniel Lezcano	help
162ddcf48c7SDaniel Lezcano	  Support for the LPC32XX clocksource.
163050dd322SJoachim Eastwood
16484583983SEzequiel Garciaconfig CLKSRC_PISTACHIO
165dfdb1652SDaniel Lezcano	bool "Clocksource for Pistachio SoC" if COMPILE_TEST
166863ee050SRichard Weinberger	depends on HAS_IOMEM
16784583983SEzequiel Garcia	select CLKSRC_OF
168dfdb1652SDaniel Lezcano	help
169dfdb1652SDaniel Lezcano	  Enables the clocksource for the Pistachio SoC.
17084583983SEzequiel Garcia
171fe851f56SFelipe Balbiconfig CLKSRC_TI_32K
172fe851f56SFelipe Balbi	bool "Texas Instruments 32.768 Hz Clocksource" if COMPILE_TEST
173dfedaf10SFelipe Balbi	depends on GENERIC_SCHED_CLOCK
174fe851f56SFelipe Balbi	select CLKSRC_OF if OF
175fe851f56SFelipe Balbi	help
176fe851f56SFelipe Balbi	  This option enables support for Texas Instruments 32.768 Hz clocksource
177fe851f56SFelipe Balbi	  available on many OMAP-like platforms.
178fe851f56SFelipe Balbi
179e37e4593SMaxime Coquelinconfig CLKSRC_STM32
1801cb6c215SPaul Gortmaker	bool "Clocksource for STM32 SoCs" if !ARCH_STM32
1811cb6c215SPaul Gortmaker	depends on OF && ARM && (ARCH_STM32 || COMPILE_TEST)
182e37e4593SMaxime Coquelin	select CLKSRC_MMIO
183e37e4593SMaxime Coquelin
1848a4da6e3SMark Rutlandconfig ARM_ARCH_TIMER
1858a4da6e3SMark Rutland	bool
1860583fe47SRob Herring	select CLKSRC_OF if OF
187ae281cbdSMarc Zyngier	select CLKSRC_ACPI if ACPI
188a2c5d4edSJames Hogan
189037f6377SWill Deaconconfig ARM_ARCH_TIMER_EVTSTREAM
190037f6377SWill Deacon	bool "Support for ARM architected timer event stream generation"
191037f6377SWill Deacon	default y if ARM_ARCH_TIMER
19277f7ce9aSStephen Boyd	depends on ARM_ARCH_TIMER
193037f6377SWill Deacon	help
194037f6377SWill Deacon	  This option enables support for event stream generation based on
195037f6377SWill Deacon	  the ARM architected timer. It is used for waking up CPUs executing
196037f6377SWill Deacon	  the wfe instruction at a frequency represented as a power-of-2
197037f6377SWill Deacon	  divisor of the clock rate.
198037f6377SWill Deacon	  The main use of the event stream is wfe-based timeouts of userspace
199037f6377SWill Deacon	  locking implementations. It might also be useful for imposing timeout
200037f6377SWill Deacon	  on wfe to safeguard against any programming errors in case an expected
201037f6377SWill Deacon	  event is not generated.
202037f6377SWill Deacon	  This must be disabled for hardware validation purposes to detect any
203037f6377SWill Deacon	  hardware anomalies of missing events.
204037f6377SWill Deacon
205c1b40e44SStuart Menefyconfig ARM_GLOBAL_TIMER
206c1b40e44SStuart Menefy	bool
207c1b40e44SStuart Menefy	select CLKSRC_OF if OF
208c1b40e44SStuart Menefy	help
209c1b40e44SStuart Menefy	  This options enables support for the ARM global timer unit
210c1b40e44SStuart Menefy
2110b7402dcSSudeep Hollaconfig ARM_TIMER_SP804
2120b7402dcSSudeep Holla	bool "Support for Dual Timer SP804 module"
213002af195SGuenter Roeck	depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
2140b7402dcSSudeep Holla	select CLKSRC_MMIO
2150b7402dcSSudeep Holla	select CLKSRC_OF if OF
2160b7402dcSSudeep Holla
217c1b40e44SStuart Menefyconfig CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
218c1b40e44SStuart Menefy	bool
219c1b40e44SStuart Menefy	depends on ARM_GLOBAL_TIMER
220c1b40e44SStuart Menefy	default y
221c1b40e44SStuart Menefy	help
222c1b40e44SStuart Menefy	 Use ARM global timer clock source as sched_clock
223c1b40e44SStuart Menefy
2244958ebb3SMaxime Coquelinconfig ARMV7M_SYSTICK
2254958ebb3SMaxime Coquelin	bool
2264958ebb3SMaxime Coquelin	select CLKSRC_OF if OF
2274958ebb3SMaxime Coquelin	select CLKSRC_MMIO
2284958ebb3SMaxime Coquelin	help
2294958ebb3SMaxime Coquelin	  This options enables support for the ARMv7M system timer unit
2304958ebb3SMaxime Coquelin
231b052ff30SMaxime Ripardconfig ATMEL_PIT
232b052ff30SMaxime Ripard	select CLKSRC_OF if OF
233b052ff30SMaxime Ripard	def_bool SOC_AT91SAM9 || SOC_SAMA5
234b052ff30SMaxime Ripard
235b53cdd03SAlexandre Belloniconfig ATMEL_ST
236b53cdd03SAlexandre Belloni	bool
237b53cdd03SAlexandre Belloni	select CLKSRC_OF
2387ab7ef74SAlexandre Belloni	select MFD_SYSCON
239b53cdd03SAlexandre Belloni
240a2c5d4edSJames Hoganconfig CLKSRC_METAG_GENERIC
241a2c5d4edSJames Hogan	def_bool y if METAG
242a2c5d4edSJames Hogan	help
243a2c5d4edSJames Hogan	  This option enables support for the Meta per-thread timers.
2446938d75aSThomas Abraham
2456938d75aSThomas Abrahamconfig CLKSRC_EXYNOS_MCT
24639366ef4SDaniel Lezcano	bool "Exynos multi core timer driver" if COMPILE_TEST
24739366ef4SDaniel Lezcano	depends on ARM
2486938d75aSThomas Abraham	help
2496938d75aSThomas Abraham	  Support for Multi Core Timer controller on Exynos SoCs.
250241a9871SArnd Bergmann
251f1189989STomasz Figaconfig CLKSRC_SAMSUNG_PWM
252778c5696SDaniel Lezcano	bool "PWM timer drvier for Samsung S3C, S5P" if COMPILE_TEST
2530901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
254f1189989STomasz Figa	help
255f1189989STomasz Figa	  This is a new clocksource driver for the PWM timer found in
256f1189989STomasz Figa	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
257f1189989STomasz Figa	  for all devicetree enabled platforms. This driver will be
258f1189989STomasz Figa	  needed only on systems that do not have the Exynos MCT available.
259c1967249SJingchang Lu
2602529c3a3SXiubo Liconfig FSL_FTM_TIMER
261ef49336bSDaniel Lezcano	bool "Freescale FlexTimer Module driver" if COMPILE_TEST
2620901f184SDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
26303724ac3SDaniel Lezcano	select CLKSRC_MMIO
2642529c3a3SXiubo Li	help
2652529c3a3SXiubo Li	  Support for Freescale FlexTimer Module (FTM) timer.
2662529c3a3SXiubo Li
267c1967249SJingchang Luconfig VF_PIT_TIMER
268c1967249SJingchang Lu	bool
2692be6d9bfSArnd Bergmann	select CLKSRC_MMIO
270c1967249SJingchang Lu	help
271c1967249SJingchang Lu	  Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
272fd3f1270SMagnus Damm
273fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_CMT
274fd3f1270SMagnus Damm        bool
275fd3f1270SMagnus Damm
276ecb3530dSMatthias Bruggerconfig MTK_TIMER
277fbca9eabSDaniel Lezcano	bool "Mediatek timer driver" if COMPILE_TEST
278863ee050SRichard Weinberger	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
279ecb3530dSMatthias Brugger	select CLKSRC_OF
280ecb3530dSMatthias Brugger	select CLKSRC_MMIO
281fbca9eabSDaniel Lezcano	help
282fbca9eabSDaniel Lezcano	  Support for Mediatek timer driver.
283ecb3530dSMatthias Brugger
284fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_MTU2
285fd3f1270SMagnus Damm        bool
286fd3f1270SMagnus Damm
287fd3f1270SMagnus Dammconfig SYS_SUPPORTS_SH_TMU
288fd3f1270SMagnus Damm        bool
289fd3f1270SMagnus Damm
290fd3f1270SMagnus Dammconfig SYS_SUPPORTS_EM_STI
291fd3f1270SMagnus Damm        bool
292fd3f1270SMagnus Damm
293fd3f1270SMagnus Dammconfig SH_TIMER_CMT
294fd3f1270SMagnus Damm	bool "Renesas CMT timer driver" if COMPILE_TEST
29587291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
29611bc26feSRichard Weinberger	depends on HAS_IOMEM
297fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_CMT
298fd3f1270SMagnus Damm	help
299fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
300fd3f1270SMagnus Damm	  the Compare Match Timer (CMT) hardware available in 16/32/48-bit
301fd3f1270SMagnus Damm	  variants on a wide range of Mobile and Automotive SoCs from Renesas.
302fd3f1270SMagnus Damm
303fd3f1270SMagnus Dammconfig SH_TIMER_MTU2
304fd3f1270SMagnus Damm	bool "Renesas MTU2 timer driver" if COMPILE_TEST
30587291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
30611bc26feSRichard Weinberger	depends on HAS_IOMEM
307fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_MTU2
308fd3f1270SMagnus Damm	help
309fd3f1270SMagnus Damm	  This enables build of a clockevent driver for the Multi-Function
3107e139187SKuninori Morimoto	  Timer Pulse Unit 2 (MTU2) hardware available on SoCs from Renesas.
311fd3f1270SMagnus Damm	  This hardware comes with 16 bit-timer registers.
312fd3f1270SMagnus Damm
313fd3f1270SMagnus Dammconfig SH_TIMER_TMU
314fd3f1270SMagnus Damm	bool "Renesas TMU timer driver" if COMPILE_TEST
31587291a92SGeert Uytterhoeven	depends on GENERIC_CLOCKEVENTS
31611bc26feSRichard Weinberger	depends on HAS_IOMEM
317fd3f1270SMagnus Damm	default SYS_SUPPORTS_SH_TMU
318fd3f1270SMagnus Damm	help
319fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
320fd3f1270SMagnus Damm	  the 32-bit Timer Unit (TMU) hardware available on a wide range
321fd3f1270SMagnus Damm	  SoCs from Renesas.
322fd3f1270SMagnus Damm
323fd3f1270SMagnus Dammconfig EM_TIMER_STI
324fd3f1270SMagnus Damm	bool "Renesas STI timer driver" if COMPILE_TEST
32540c96312SChen Gang	depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
326fd3f1270SMagnus Damm	default SYS_SUPPORTS_EM_STI
327fd3f1270SMagnus Damm	help
328fd3f1270SMagnus Damm	  This enables build of a clocksource and clockevent driver for
329fd3f1270SMagnus Damm	  the 48-bit System Timer (STI) hardware available on a SoCs
330fd3f1270SMagnus Damm	  such as EMEV2 from former NEC Electronics.
331dfc25e45SLinus Torvalds
3323f8e8ceeSKumar Galaconfig CLKSRC_QCOM
3333dc0e9f6SDaniel Lezcano	bool "Qualcomm MSM timer" if COMPILE_TEST
3343dc0e9f6SDaniel Lezcano	depends on ARM
3353dc0e9f6SDaniel Lezcano	select CLKSRC_OF
3363dc0e9f6SDaniel Lezcano	help
3373dc0e9f6SDaniel Lezcano	  This enables the clocksource and the per CPU clockevent driver for the
3383dc0e9f6SDaniel Lezcano	  Qualcomm SoCs.
339220e2a8dSPawel Moll
340220e2a8dSPawel Mollconfig CLKSRC_VERSATILE
341220e2a8dSPawel Moll	bool "ARM Versatile (Express) reference platforms clock source"
342ff37015bSDeng-Cheng Zhu	depends on PLAT_VERSATILE && GENERIC_SCHED_CLOCK && !ARCH_USES_GETTIMEOFFSET
343220e2a8dSPawel Moll	select CLKSRC_OF
344220e2a8dSPawel Moll	default y if MFD_VEXPRESS_SYSREG
345220e2a8dSPawel Moll	help
346220e2a8dSPawel Moll	  This option enables clock source based on free running
347220e2a8dSPawel Moll	  counter available in the "System Registers" block of
348220e2a8dSPawel Moll	  ARM Versatile, RealView and Versatile Express reference
349220e2a8dSPawel Moll	  platforms.
35058394271SJean Delvare
351fa5635a2SAndrew Brestickerconfig CLKSRC_MIPS_GIC
352fa5635a2SAndrew Bresticker	bool
353fa5635a2SAndrew Bresticker	depends on MIPS_GIC
354e12aa828SAndrew Bresticker	select CLKSRC_OF
355fa5635a2SAndrew Bresticker
356ccd63ce4SMarc Gonzalezconfig CLKSRC_TANGO_XTAL
3575a7351f0SDaniel Lezcano	bool "Clocksource for Tango SoC" if COMPILE_TEST
3585a7351f0SDaniel Lezcano	depends on ARM
359ccd63ce4SMarc Gonzalez	select CLKSRC_OF
3600881841fSDaniel Lezcano	select CLKSRC_MMIO
3615a7351f0SDaniel Lezcano	help
3625a7351f0SDaniel Lezcano	  This enables the clocksource for Tango SoC
363ccd63ce4SMarc Gonzalez
364e074ff86SDmitry Eremin-Solenikovconfig CLKSRC_PXA
3655ae996cbSDaniel Lezcano	bool "Clocksource for PXA or SA-11x0 platform" if COMPILE_TEST
3665ae996cbSDaniel Lezcano	depends on GENERIC_CLOCKEVENTS
3675ae996cbSDaniel Lezcano	select CLKSRC_MMIO
368e074ff86SDmitry Eremin-Solenikov	help
369e074ff86SDmitry Eremin-Solenikov	  This enables OST0 support available on PXA and SA-11x0
370e074ff86SDmitry Eremin-Solenikov	  platforms.
371618b902dSYoshinori Sato
37297a23bebSDaniel Lezcanoconfig H8300_TMR8
37346e7c3c6SDaniel Lezcano        bool "Clockevent timer for the H8300 platform" if COMPILE_TEST
374863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
37546e7c3c6SDaniel Lezcano	help
37646e7c3c6SDaniel Lezcano	  This enables the 8 bits timer for the H8300 platform.
37797a23bebSDaniel Lezcano
378618b902dSYoshinori Satoconfig H8300_TMR16
37946e7c3c6SDaniel Lezcano        bool "Clockevent timer for the H83069 platform" if COMPILE_TEST
380863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
38146e7c3c6SDaniel Lezcano	help
38246e7c3c6SDaniel Lezcano	  This enables the 16 bits timer for the H8300 platform with the
38346e7c3c6SDaniel Lezcano	  H83069 cpu.
384618b902dSYoshinori Sato
385618b902dSYoshinori Satoconfig H8300_TPU
38646e7c3c6SDaniel Lezcano        bool "Clocksource for the H8300 platform" if COMPILE_TEST
387863ee050SRichard Weinberger        depends on GENERIC_CLOCKEVENTS && HAS_IOMEM
38846e7c3c6SDaniel Lezcano	help
38946e7c3c6SDaniel Lezcano	  This enables the clocksource for the H8300 platform with the
39046e7c3c6SDaniel Lezcano	  H8S2678 cpu.
391618b902dSYoshinori Sato
392bea5af41SShawn Guoconfig CLKSRC_IMX_GPT
393bea5af41SShawn Guo	bool "Clocksource using i.MX GPT" if COMPILE_TEST
394bea5af41SShawn Guo	depends on ARM && CLKDEV_LOOKUP
395bea5af41SShawn Guo	select CLKSRC_MMIO
396bea5af41SShawn Guo
39770bef01cSLee Jonesconfig CLKSRC_ST_LPC
398baacaf83SDaniel Lezcano	bool "Low power clocksource found in the LPC" if COMPILE_TEST
39970bef01cSLee Jones	select CLKSRC_OF if OF
400863ee050SRichard Weinberger	depends on HAS_IOMEM
4012be6d9bfSArnd Bergmann	select CLKSRC_MMIO
40270bef01cSLee Jones	help
40370bef01cSLee Jones	  Enable this option to use the Low Power controller timer
40470bef01cSLee Jones	  as clocksource.
40570bef01cSLee Jones
40658394271SJean Delvareendmenu
407