diff options
author | Thomas Abraham <thomas.abraham@linaro.org> | 2013-03-09 02:10:03 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-03-09 02:18:08 -0500 |
commit | 9fbf0c85a1c0f1c927822c3026c8db9539570267 (patch) | |
tree | 2db215a9aa14f5d38e51985bf925008f7a8ce427 /arch/arm/mach-exynos/Kconfig | |
parent | 36ba5d527e9567ed303bad6e86a5f3c2723470f6 (diff) |
ARM: EXYNOS: allow dt based discovery of mct controller using clocksource_of_init
Add entries to __clksrc_of_table so that Exynos MCT controller is
discoverable using call to clocksource_of_init. With this change,
it would be appropriate to rename the function 'exynos4_timer_init'
as 'mct_init' since it aptly describes this function. Additionally,
the 'init_time' callback of all machine descriptors for exynos
platforms that were previously set to 'exynos4_timer_init' are now
set to either 'mct_init' or 'clocksource_of_init'.
Cc: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/Kconfig')
-rw-r--r-- | arch/arm/mach-exynos/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 70f94c87479d..52f51e7b4a0c 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig | |||
@@ -406,6 +406,7 @@ config MACH_EXYNOS4_DT | |||
406 | bool "Samsung Exynos4 Machine using device tree" | 406 | bool "Samsung Exynos4 Machine using device tree" |
407 | depends on ARCH_EXYNOS4 | 407 | depends on ARCH_EXYNOS4 |
408 | select ARM_AMBA | 408 | select ARM_AMBA |
409 | select CLKSRC_OF | ||
409 | select CPU_EXYNOS4210 | 410 | select CPU_EXYNOS4210 |
410 | select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD | 411 | select HAVE_SAMSUNG_KEYPAD if INPUT_KEYBOARD |
411 | select PINCTRL | 412 | select PINCTRL |
@@ -422,6 +423,7 @@ config MACH_EXYNOS5_DT | |||
422 | default y | 423 | default y |
423 | depends on ARCH_EXYNOS5 | 424 | depends on ARCH_EXYNOS5 |
424 | select ARM_AMBA | 425 | select ARM_AMBA |
426 | select CLKSRC_OF | ||
425 | select USE_OF | 427 | select USE_OF |
426 | help | 428 | help |
427 | Machine support for Samsung EXYNOS5 machine with device tree enabled. | 429 | Machine support for Samsung EXYNOS5 machine with device tree enabled. |