]> Pileus Git - ~andy/linux/blob - drivers/clocksource/Kconfig
drivers: clocksource: add support for ARM architected timer event stream
[~andy/linux] / drivers / clocksource / Kconfig
1 config CLKSRC_OF
2         bool
3
4 config CLKSRC_I8253
5         bool
6
7 config CLKEVT_I8253
8         bool
9
10 config I8253_LOCK
11         bool
12
13 config CLKBLD_I8253
14         def_bool y if CLKSRC_I8253 || CLKEVT_I8253 || I8253_LOCK
15
16 config CLKSRC_MMIO
17         bool
18
19 config DW_APB_TIMER
20         bool
21
22 config DW_APB_TIMER_OF
23         bool
24         select DW_APB_TIMER
25         select CLKSRC_OF
26
27 config ARMADA_370_XP_TIMER
28         bool
29
30 config ORION_TIMER
31         select CLKSRC_OF
32         select CLKSRC_MMIO
33         bool
34
35 config SUN4I_TIMER
36         bool
37
38 config VT8500_TIMER
39         bool
40
41 config CADENCE_TTC_TIMER
42         bool
43
44 config 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
53 config 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
59 config 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
66 config 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
73 config ARM_ARCH_TIMER
74         bool
75         select CLKSRC_OF if OF
76
77 config ARM_ARCH_TIMER_EVTSTREAM
78         bool "Support for ARM architected timer event stream generation"
79         default y if ARM_ARCH_TIMER
80         help
81           This option enables support for event stream generation based on
82           the ARM architected timer. It is used for waking up CPUs executing
83           the wfe instruction at a frequency represented as a power-of-2
84           divisor of the clock rate.
85           The main use of the event stream is wfe-based timeouts of userspace
86           locking implementations. It might also be useful for imposing timeout
87           on wfe to safeguard against any programming errors in case an expected
88           event is not generated.
89           This must be disabled for hardware validation purposes to detect any
90           hardware anomalies of missing events.
91
92 config ARM_GLOBAL_TIMER
93         bool
94         select CLKSRC_OF if OF
95         help
96           This options enables support for the ARM global timer unit
97
98 config CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
99         bool
100         depends on ARM_GLOBAL_TIMER
101         default y
102         help
103          Use ARM global timer clock source as sched_clock
104
105 config CLKSRC_METAG_GENERIC
106         def_bool y if METAG
107         help
108           This option enables support for the Meta per-thread timers.
109
110 config CLKSRC_EXYNOS_MCT
111         def_bool y if ARCH_EXYNOS
112         help
113           Support for Multi Core Timer controller on Exynos SoCs.
114
115 config CLKSRC_SAMSUNG_PWM
116         bool
117         help
118           This is a new clocksource driver for the PWM timer found in
119           Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
120           for all devicetree enabled platforms. This driver will be
121           needed only on systems that do not have the Exynos MCT available.
122
123 config VF_PIT_TIMER
124         bool
125         help
126           Support for Period Interrupt Timer on Freescale Vybrid Family SoCs.