Merge tag 'gpio-v3.13-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-2.6.git] / arch / metag / kernel / time.c
blobf1c8c53dace78aaf6bcced3e008b49000f841e99
1 /*
2 * Copyright (C) 2005-2013 Imagination Technologies Ltd.
4 * This file contains the Meta-specific time handling details.
6 */
8 #include <clocksource/metag_generic.h>
9 #include <linux/clk-provider.h>
10 #include <linux/init.h>
11 #include <asm/clock.h>
13 void __init time_init(void)
15 #ifdef CONFIG_COMMON_CLK
16 /* Init clocks from device tree */
17 of_clk_init(NULL);
18 #endif
20 /* Init meta clocks, particularly the core clock */
21 init_metag_clocks();
23 /* Set up the timer clock sources */
24 metag_generic_timer_init();