diff options
Diffstat (limited to 'arch/arm/mach-omap2/clock_common_data.c')
-rw-r--r-- | arch/arm/mach-omap2/clock_common_data.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock_common_data.c b/arch/arm/mach-omap2/clock_common_data.c new file mode 100644 index 000000000000..f69096b88cdb --- /dev/null +++ b/arch/arm/mach-omap2/clock_common_data.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-omap2/clock_common_data.c | ||
3 | * | ||
4 | * Copyright (C) 2005-2009 Texas Instruments, Inc. | ||
5 | * Copyright (C) 2004-2009 Nokia Corporation | ||
6 | * | ||
7 | * Contacts: | ||
8 | * Richard Woodruff <r-woodruff2@ti.com> | ||
9 | * Paul Walmsley | ||
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU General Public License version 2 as | ||
13 | * published by the Free Software Foundation. | ||
14 | * | ||
15 | * This file contains clock data that is common to both the OMAP2xxx and | ||
16 | * OMAP3xxx clock definition files. | ||
17 | */ | ||
18 | |||
19 | #include "clock.h" | ||
20 | |||
21 | /* clksel_rate data common to 24xx/343x */ | ||
22 | const struct clksel_rate gpt_32k_rates[] = { | ||
23 | { .div = 1, .val = 0, .flags = RATE_IN_24XX | RATE_IN_343X | DEFAULT_RATE }, | ||
24 | { .div = 0 } | ||
25 | }; | ||
26 | |||
27 | const struct clksel_rate gpt_sys_rates[] = { | ||
28 | { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_343X | DEFAULT_RATE }, | ||
29 | { .div = 0 } | ||
30 | }; | ||
31 | |||
32 | const struct clksel_rate gfx_l3_rates[] = { | ||
33 | { .div = 1, .val = 1, .flags = RATE_IN_24XX | RATE_IN_343X }, | ||
34 | { .div = 2, .val = 2, .flags = RATE_IN_24XX | RATE_IN_343X | DEFAULT_RATE }, | ||
35 | { .div = 3, .val = 3, .flags = RATE_IN_243X | RATE_IN_343X }, | ||
36 | { .div = 4, .val = 4, .flags = RATE_IN_243X | RATE_IN_343X }, | ||
37 | { .div = 0 } | ||
38 | }; | ||
39 | |||