diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2010-03-26 10:55:59 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-03-26 10:55:59 -0400 |
commit | 329f9052dbadf6f4afe2231668bd00c579a4aa10 (patch) | |
tree | e080a5c70df40f3ae8cf28a95a3267757668ab97 /arch/arm/plat-s5p/include/plat/s5p-clock.h | |
parent | 395b228858778d3c44f7c413693a6acaa8bb62dc (diff) | |
parent | 220bf991b0366cc50a94feede3d7341fa5710ee4 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
drivers/mtd/nand/sh_flctl.c
Maxim's patch to initialise sysfs attributes depends on the patch which
actually adds sysfs_attr_init().
Diffstat (limited to 'arch/arm/plat-s5p/include/plat/s5p-clock.h')
-rw-r--r-- | arch/arm/plat-s5p/include/plat/s5p-clock.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/include/plat/s5p-clock.h b/arch/arm/plat-s5p/include/plat/s5p-clock.h new file mode 100644 index 000000000000..56fb8b414d41 --- /dev/null +++ b/arch/arm/plat-s5p/include/plat/s5p-clock.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* linux/arch/arm/plat-s5p/include/plat/s5p-clock.h | ||
2 | * | ||
3 | * Copyright 2009 Samsung Electronics Co., Ltd. | ||
4 | * http://www.samsung.com/ | ||
5 | * | ||
6 | * Header file for s5p clock support | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | ||
12 | |||
13 | #ifndef __ASM_PLAT_S5P_CLOCK_H | ||
14 | #define __ASM_PLAT_S5P_CLOCK_H __FILE__ | ||
15 | |||
16 | #include <linux/clk.h> | ||
17 | |||
18 | #define GET_DIV(clk, field) ((((clk) & field##_MASK) >> field##_SHIFT) + 1) | ||
19 | |||
20 | #define clk_fin_apll clk_ext_xtal_mux | ||
21 | #define clk_fin_mpll clk_ext_xtal_mux | ||
22 | #define clk_fin_epll clk_ext_xtal_mux | ||
23 | #define clk_fin_vpll clk_ext_xtal_mux | ||
24 | |||
25 | extern struct clk clk_ext_xtal_mux; | ||
26 | extern struct clk clk_48m; | ||
27 | extern struct clk clk_fout_apll; | ||
28 | extern struct clk clk_fout_mpll; | ||
29 | extern struct clk clk_fout_epll; | ||
30 | extern struct clk clk_arm; | ||
31 | extern struct clk clk_vpll; | ||
32 | |||
33 | extern struct clksrc_sources clk_src_apll; | ||
34 | extern struct clksrc_sources clk_src_mpll; | ||
35 | extern struct clksrc_sources clk_src_epll; | ||
36 | |||
37 | extern int s5p6440_clk48m_ctrl(struct clk *clk, int enable); | ||
38 | extern int s5p_gatectrl(void __iomem *reg, struct clk *clk, int enable); | ||
39 | |||
40 | #endif /* __ASM_PLAT_S5P_CLOCK_H */ | ||