aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/clock.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-06-22 17:18:20 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-22 17:18:20 -0400
commit99c13853ffa26dd6527995b3f47548e075f201fb (patch)
treeb007bb3e79739f7f442daa00f92a34b1348cd29b /arch/arm/mach-s3c2410/clock.h
parenta341305e94982c66a2e94125a24b860605da9066 (diff)
[ARM] 3627/1: S3C24XX: split s3c2410 clocks from core clocks
Patch from Ben Dooks Split the s3c2410 specific clocks from the core clock code, as part of the work to support more of the Samsung line of SoCs. The patch does not use the sysdev mechanism as the clocks are needed for the timer init, which is very early in the kernel init sequence. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410/clock.h')
-rw-r--r--arch/arm/mach-s3c2410/clock.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/clock.h b/arch/arm/mach-s3c2410/clock.h
index 01bb458bf8eb..1bee5708c354 100644
--- a/arch/arm/mach-s3c2410/clock.h
+++ b/arch/arm/mach-s3c2410/clock.h
@@ -36,6 +36,13 @@ extern struct clk s3c24xx_uclk;
36 36
37extern struct clk clk_usb_bus; 37extern struct clk clk_usb_bus;
38 38
39/* core clock support */
40
41extern struct clk clk_f;
42extern struct clk clk_h;
43extern struct clk clk_p;
44extern struct clk clk_upll;
45
39/* exports for arch/arm/mach-s3c2410 46/* exports for arch/arm/mach-s3c2410
40 * 47 *
41 * Please DO NOT use these outside of arch/arm/mach-s3c2410 48 * Please DO NOT use these outside of arch/arm/mach-s3c2410
@@ -43,7 +50,8 @@ extern struct clk clk_usb_bus;
43 50
44extern struct mutex clocks_mutex; 51extern struct mutex clocks_mutex;
45 52
46extern int s3c24xx_clkcon_enable(struct clk *clk, int enable); 53extern int s3c2410_clkcon_enable(struct clk *clk, int enable);
54
47extern int s3c24xx_register_clock(struct clk *clk); 55extern int s3c24xx_register_clock(struct clk *clk);
48 56
49extern int s3c24xx_setup_clocks(unsigned long xtal, 57extern int s3c24xx_setup_clocks(unsigned long xtal,