summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/clock.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2006-06-22 22:18:20 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-06-22 22:18:20 +0100
commit99c13853ffa26dd6527995b3f47548e075f201fb (patch)
treeb007bb3e79739f7f442daa00f92a34b1348cd29b /arch/arm/mach-s3c2410/clock.h
parenta341305e94982c66a2e94125a24b860605da9066 (diff)
downloadop-kernel-dev-99c13853ffa26dd6527995b3f47548e075f201fb.zip
op-kernel-dev-99c13853ffa26dd6527995b3f47548e075f201fb.tar.gz
[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 01bb458..1bee570 100644
--- a/arch/arm/mach-s3c2410/clock.h
+++ b/arch/arm/mach-s3c2410/clock.h
@@ -36,6 +36,13 @@ extern struct clk s3c24xx_uclk;
extern struct clk clk_usb_bus;
+/* core clock support */
+
+extern struct clk clk_f;
+extern struct clk clk_h;
+extern struct clk clk_p;
+extern struct clk clk_upll;
+
/* exports for arch/arm/mach-s3c2410
*
* Please DO NOT use these outside of arch/arm/mach-s3c2410
@@ -43,7 +50,8 @@ extern struct clk clk_usb_bus;
extern struct mutex clocks_mutex;
-extern int s3c24xx_clkcon_enable(struct clk *clk, int enable);
+extern int s3c2410_clkcon_enable(struct clk *clk, int enable);
+
extern int s3c24xx_register_clock(struct clk *clk);
extern int s3c24xx_setup_clocks(unsigned long xtal,
OpenPOWER on IntegriCloud