diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2013-08-25 13:00:38 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-09-16 17:47:36 -0400 |
commit | b69f460dc1a074db3f759c2be9cd13271f91fbdd (patch) | |
tree | 394b24898f17c715ec77328608decd2925e8ab93 /arch/arm/mach-s3c64xx/common.h | |
parent | d0127f6fc12e311cdd89bb1bd62f36621778d149 (diff) |
ARM: S3C64XX: Migrate clock handling to Common Clock Framework
This patch migrates the s3c64xx platform to use the new clock driver
using Common Clock Framework.
Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/common.h')
-rw-r--r-- | arch/arm/mach-s3c64xx/common.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c64xx/common.h b/arch/arm/mach-s3c64xx/common.h index e8f990b37665..a2af0e1fdb00 100644 --- a/arch/arm/mach-s3c64xx/common.h +++ b/arch/arm/mach-s3c64xx/common.h | |||
@@ -22,18 +22,19 @@ | |||
22 | void s3c64xx_init_irq(u32 vic0, u32 vic1); | 22 | void s3c64xx_init_irq(u32 vic0, u32 vic1); |
23 | void s3c64xx_init_io(struct map_desc *mach_desc, int size); | 23 | void s3c64xx_init_io(struct map_desc *mach_desc, int size); |
24 | 24 | ||
25 | void s3c64xx_register_clocks(unsigned long xtal, unsigned armclk_limit); | ||
26 | void s3c64xx_setup_clocks(void); | ||
27 | |||
28 | void s3c64xx_restart(enum reboot_mode mode, const char *cmd); | 25 | void s3c64xx_restart(enum reboot_mode mode, const char *cmd); |
29 | void s3c64xx_init_late(void); | 26 | void s3c64xx_init_late(void); |
30 | 27 | ||
28 | void s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f, | ||
29 | unsigned long xusbxti_f, bool is_s3c6400, void __iomem *reg_base); | ||
30 | void s3c64xx_set_xtal_freq(unsigned long freq); | ||
31 | void s3c64xx_set_xusbxti_freq(unsigned long freq); | ||
32 | |||
31 | #ifdef CONFIG_CPU_S3C6400 | 33 | #ifdef CONFIG_CPU_S3C6400 |
32 | 34 | ||
33 | extern int s3c6400_init(void); | 35 | extern int s3c6400_init(void); |
34 | extern void s3c6400_init_irq(void); | 36 | extern void s3c6400_init_irq(void); |
35 | extern void s3c6400_map_io(void); | 37 | extern void s3c6400_map_io(void); |
36 | extern void s3c6400_init_clocks(int xtal); | ||
37 | 38 | ||
38 | #else | 39 | #else |
39 | #define s3c6400_init_clocks NULL | 40 | #define s3c6400_init_clocks NULL |
@@ -46,7 +47,6 @@ extern void s3c6400_init_clocks(int xtal); | |||
46 | extern int s3c6410_init(void); | 47 | extern int s3c6410_init(void); |
47 | extern void s3c6410_init_irq(void); | 48 | extern void s3c6410_init_irq(void); |
48 | extern void s3c6410_map_io(void); | 49 | extern void s3c6410_map_io(void); |
49 | extern void s3c6410_init_clocks(int xtal); | ||
50 | 50 | ||
51 | #else | 51 | #else |
52 | #define s3c6410_init_clocks NULL | 52 | #define s3c6410_init_clocks NULL |