diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-21 09:06:38 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-15 16:46:08 -0500 |
commit | e425382ed90d221ef9031a1b2d97d9bfedcf90c3 (patch) | |
tree | ca36882dba4caf8a9726ed67216251360c80ef59 /arch/arm/plat-s3c24xx/include | |
parent | c3391e36d697c997b6afeb045071e0be95219a3e (diff) |
[ARM] S3C24XX: Update clock data on resume
Update the clock settings on resume for suspend/resume
support so that if the boot loader changes anything or
the system's PLL is reset then we return with the correct
settings.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c24xx/include')
-rw-r--r-- | arch/arm/plat-s3c24xx/include/plat/clock.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/arch/arm/plat-s3c24xx/include/plat/clock.h b/arch/arm/plat-s3c24xx/include/plat/clock.h index 88a00c35b685..ba174aab76f2 100644 --- a/arch/arm/plat-s3c24xx/include/plat/clock.h +++ b/arch/arm/plat-s3c24xx/include/plat/clock.h | |||
@@ -60,7 +60,14 @@ extern int s3c2410_clkcon_enable(struct clk *clk, int enable); | |||
60 | extern int s3c24xx_register_clock(struct clk *clk); | 60 | extern int s3c24xx_register_clock(struct clk *clk); |
61 | extern int s3c24xx_register_clocks(struct clk **clk, int nr_clks); | 61 | extern int s3c24xx_register_clocks(struct clk **clk, int nr_clks); |
62 | 62 | ||
63 | extern int s3c24xx_setup_clocks(unsigned long xtal, | 63 | extern int s3c24xx_register_baseclocks(unsigned long xtal); |
64 | unsigned long fclk, | 64 | |
65 | unsigned long hclk, | 65 | extern void s3c24xx_setup_clocks(unsigned long fclk, |
66 | unsigned long pclk); | 66 | unsigned long hclk, |
67 | unsigned long pclk); | ||
68 | |||
69 | extern void s3c2410_setup_clocks(void); | ||
70 | extern void s3c2412_setup_clocks(void); | ||
71 | extern void s3c244x_setup_clocks(void); | ||
72 | extern void s3c2443_setup_clocks(void); | ||
73 | |||