xref: /openbmc/linux/drivers/clocksource/Kconfig (revision c1d45424)
1config CLKSRC_OF
2	bool
3
4config CLKSRC_I8253
5	bool
6
7config CLKEVT_I8253
8	bool
9
10config I8253_LOCK
11	bool
12
13config CLKBLD_I8253
14	def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
15
16config CLKSRC_MMIO
17	bool
18
19config DW_APB_TIMER
20	bool
21
22config DW_APB_TIMER_OF
23	bool
24	select DW_APB_TIMER
25	select CLKSRC_OF
26
27config ARMADA_370_XP_TIMER
28	bool
29
30config ORION_TIMER
31	select CLKSRC_OF
32	select CLKSRC_MMIO
33	bool
34
35config SUN4I_TIMER
36	bool
37
38config VT8500_TIMER
39	bool
40
41config CADENCE_TTC_TIMER
42	bool
43
44config CLKSRC_NOMADIK_MTU
45	bool
46	depends on (ARCH_NOMADIK || ARCH_U8500)
47	select CLKSRC_MMIO
48	help
49	  Support for Multi Timer Unit. MTU provides access
50	  to multiple interrupt generating programmable
51	  32-bit free running decrementing counters.
52
53config CLKSRC_NOMADIK_MTU_SCHED_CLOCK
54	bool
55	depends on CLKSRC_NOMADIK_MTU
56	help
57	  Use the Multi Timer Unit as the sched_clock.
58
59config CLKSRC_DBX500_PRCMU
60	bool "Clocksource PRCMU Timer"
61	depends on UX500_SOC_DB8500
62	default y
63	help
64	  Use the always on PRCMU Timer as clocksource
65
66config CLKSRC_DBX500_PRCMU_SCHED_CLOCK
67	bool "Clocksource PRCMU Timer sched_clock"
68	depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
69	default y
70	help
71	  Use the always on PRCMU Timer as sched_clock
72
73config ARM_ARCH_TIMER
74	bool
75	select CLKSRC_OF if OF
76
77config ARM_GLOBAL_TIMER
78	bool
79	select CLKSRC_OF if OF
80	help
81	  This options enables support for the ARM global timer unit
82
83config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
84	bool
85	depends on ARM_GLOBAL_TIMER
86	default y
87	help
88	 Use ARM global timer clock source as sched_clock
89
90config CLKSRC_METAG_GENERIC
91	def_bool y if METAG
92	help
93	  This option enables support for the Meta per-thread timers.
94
95config CLKSRC_EXYNOS_MCT
96	def_bool y if ARCH_EXYNOS
97	help
98	  Support for Multi Core Timer controller on Exynos SoCs.
99
100config CLKSRC_SAMSUNG_PWM
101	bool
102	select CLKSRC_MMIO
103	help
104	  This is a new clocksource driver for the PWM timer found in
105	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
106	  for all devicetree enabled platforms. This driver will be
107	  needed only on systems that do not have the Exynos MCT available.
108
109config VF_PIT_TIMER
110	bool
111	help
112	  Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.
113