diff options
author | Ben Dooks <ben-linux@fluff.org> | 2006-06-22 17:18:20 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-22 17:18:20 -0400 |
commit | 99c13853ffa26dd6527995b3f47548e075f201fb (patch) | |
tree | b007bb3e79739f7f442daa00f92a34b1348cd29b /arch/arm/mach-s3c2410/clock.h | |
parent | a341305e94982c66a2e94125a24b860605da9066 (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.h | 10 |
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 | ||
37 | extern struct clk clk_usb_bus; | 37 | extern struct clk clk_usb_bus; |
38 | 38 | ||
39 | /* core clock support */ | ||
40 | |||
41 | extern struct clk clk_f; | ||
42 | extern struct clk clk_h; | ||
43 | extern struct clk clk_p; | ||
44 | extern 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 | ||
44 | extern struct mutex clocks_mutex; | 51 | extern struct mutex clocks_mutex; |
45 | 52 | ||
46 | extern int s3c24xx_clkcon_enable(struct clk *clk, int enable); | 53 | extern int s3c2410_clkcon_enable(struct clk *clk, int enable); |
54 | |||
47 | extern int s3c24xx_register_clock(struct clk *clk); | 55 | extern int s3c24xx_register_clock(struct clk *clk); |
48 | 56 | ||
49 | extern int s3c24xx_setup_clocks(unsigned long xtal, | 57 | extern int s3c24xx_setup_clocks(unsigned long xtal, |