summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-s3c/clock.c
diff options
context:
space:
mode:
authorBen Dooks2008-10-21 15:07:00 +0200
committerBen Dooks2008-12-15 22:53:58 +0100
commit4b31d8b2256db3ed825a63603f223f84d927ca39 (patch)
tree256cfe52c637140342791d230c0f3de4b725284b /arch/arm/plat-s3c/clock.c
parent[ARM] S3C64XX: Add PLL definitions (diff)
downloadkernel-qcow2-linux-4b31d8b2256db3ed825a63603f223f84d927ca39.tar.gz
kernel-qcow2-linux-4b31d8b2256db3ed825a63603f223f84d927ca39.tar.xz
kernel-qcow2-linux-4b31d8b2256db3ed825a63603f223f84d927ca39.zip
[ARM] S3C64XX: Add initial clock framework
Add the initial clocks definitions for the s3c6400 and s3c6410. Move the epll and ext clock from the s3c2443 support into the common code. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-s3c/clock.c')
-rw-r--r--arch/arm/plat-s3c/clock.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/plat-s3c/clock.c b/arch/arm/plat-s3c/clock.c
index da7ac07c7a0b..1054d18828fd 100644
--- a/arch/arm/plat-s3c/clock.c
+++ b/arch/arm/plat-s3c/clock.c
@@ -239,6 +239,16 @@ struct clk clk_xtal = {
.ctrlbit = 0,
};
+struct clk clk_ext = {
+ .name = "ext",
+ .id = -1,
+};
+
+struct clk clk_epll = {
+ .name = "epll",
+ .id = -1,
+};
+
struct clk clk_mpll = {
.name = "mpll",
.id = -1,