diff options
| author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-26 17:47:14 -0400 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-05-02 15:55:58 -0400 |
| commit | 6275f4947e2f13a13a509d9fec4e1e5b15152680 (patch) | |
| tree | 43a558dfce8ecfb6db122ab1298b79026deaa33f | |
| parent | 7803dc865bd2963192c623546fb240d01e3e7aa0 (diff) | |
clocksource/drivers/tcb_clksrc: Move Kconfig option
Move the ATMEL_TCB_CLKSRC option to drivers/clocksource and make it silent
if COMPILE_TEST is not selected.
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
| -rw-r--r-- | drivers/clocksource/Kconfig | 7 | ||||
| -rw-r--r-- | drivers/misc/Kconfig | 14 |
2 files changed, 7 insertions, 14 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index ede5d20299b9..eb1560187434 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig | |||
| @@ -410,6 +410,13 @@ config ATMEL_ST | |||
| 410 | help | 410 | help |
| 411 | Support for the Atmel ST timer. | 411 | Support for the Atmel ST timer. |
| 412 | 412 | ||
| 413 | config ATMEL_TCB_CLKSRC | ||
| 414 | bool "Atmel TC Block timer driver" if COMPILE_TEST | ||
| 415 | depends on HAS_IOMEM | ||
| 416 | select TIMER_OF if OF | ||
| 417 | help | ||
| 418 | Support for Timer Counter Blocks on Atmel SoCs. | ||
| 419 | |||
| 413 | config CLKSRC_EXYNOS_MCT | 420 | config CLKSRC_EXYNOS_MCT |
| 414 | bool "Exynos multi core timer driver" if COMPILE_TEST | 421 | bool "Exynos multi core timer driver" if COMPILE_TEST |
| 415 | depends on ARM || ARM64 | 422 | depends on ARM || ARM64 |
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 268a01d3d6f3..c84033909395 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig | |||
| @@ -59,20 +59,6 @@ config ATMEL_TCLIB | |||
| 59 | blocks found on many Atmel processors. This facilitates using | 59 | blocks found on many Atmel processors. This facilitates using |
| 60 | these blocks by different drivers despite processor differences. | 60 | these blocks by different drivers despite processor differences. |
| 61 | 61 | ||
| 62 | config ATMEL_TCB_CLKSRC | ||
| 63 | bool "TC Block Clocksource" | ||
| 64 | depends on ARCH_AT91 | ||
| 65 | select TIMER_OF if OF | ||
| 66 | default y | ||
| 67 | help | ||
| 68 | Select this to get a high precision clocksource based on a | ||
| 69 | TC block with a 5+ MHz base clock rate. Two timer channels | ||
| 70 | are combined to make a single 32-bit timer. | ||
| 71 | |||
| 72 | When GENERIC_CLOCKEVENTS is defined, the third timer channel | ||
| 73 | may be used as a clock event device supporting oneshot mode | ||
| 74 | (delays of up to two seconds) based on the 32 KiHz clock. | ||
| 75 | |||
| 76 | config DUMMY_IRQ | 62 | config DUMMY_IRQ |
| 77 | tristate "Dummy IRQ handler" | 63 | tristate "Dummy IRQ handler" |
| 78 | default n | 64 | default n |
