Merge remote-tracking branch 'lsk/v3.10/topic/arm64-kgdb' into linux-linaro-lsk
[firefly-linux-kernel-4.4.55.git] / 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
25 config ARMADA_370_XP_TIMER
26         bool
27
28 config SUN4I_TIMER
29         bool
30
31 config VT8500_TIMER
32         bool
33
34 config CADENCE_TTC_TIMER
35         bool
36
37 config CLKSRC_NOMADIK_MTU
38         bool
39         depends on (ARCH_NOMADIK || ARCH_U8500)
40         select CLKSRC_MMIO
41         help
42           Support for Multi Timer Unit. MTU provides access
43           to multiple interrupt generating programmable
44           32-bit free running decrementing counters.
45
46 config CLKSRC_NOMADIK_MTU_SCHED_CLOCK
47         bool
48         depends on CLKSRC_NOMADIK_MTU
49         help
50           Use the Multi Timer Unit as the sched_clock.
51
52 config CLKSRC_DBX500_PRCMU
53         bool "Clocksource PRCMU Timer"
54         depends on UX500_SOC_DB8500
55         default y
56         help
57           Use the always on PRCMU Timer as clocksource
58
59 config CLKSRC_DBX500_PRCMU_SCHED_CLOCK
60         bool "Clocksource PRCMU Timer sched_clock"
61         depends on (CLKSRC_DBX500_PRCMU && !CLKSRC_NOMADIK_MTU_SCHED_CLOCK)
62         default y
63         help
64           Use the always on PRCMU Timer as sched_clock
65
66 config ARM_ARCH_TIMER
67         bool
68         select CLKSRC_OF if OF
69
70 config ARM_ARCH_TIMER_EVTSTREAM
71         bool "Support for ARM architected timer event stream generation"
72         default y if ARM_ARCH_TIMER
73         help
74           This option enables support for event stream generation based on
75           the ARM architected timer. It is used for waking up CPUs executing
76           the wfe instruction at a frequency represented as a power-of-2
77           divisor of the clock rate.
78           The main use of the event stream is wfe-based timeouts of userspace
79           locking implementations. It might also be useful for imposing timeout
80           on wfe to safeguard against any programming errors in case an expected
81           event is not generated.
82           This must be disabled for hardware validation purposes to detect any
83           hardware anomalies of missing events.
84
85 config CLKSRC_METAG_GENERIC
86         def_bool y if METAG
87         help
88           This option enables support for the Meta per-thread timers.
89
90 config CLKSRC_EXYNOS_MCT
91         def_bool y if ARCH_EXYNOS
92         help
93           Support for Multi Core Timer controller on Exynos SoCs.
94
95 config CLKSRC_SAMSUNG_PWM
96         bool
97         select CLKSRC_MMIO
98         help
99           This is a new clocksource driver for the PWM timer found in
100           Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
101           for all devicetree enabled platforms. This driver will be
102           needed only on systems that do not have the Exynos MCT available.