summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2416/clock.c
diff options
context:
space:
mode:
authorHeiko St?bner2011-10-14 08:08:56 +0200
committerKukjin Kim2011-10-14 08:15:50 +0200
commitefb1fb486a8187f02ac4a0170ab45823ebbe58f2 (patch)
tree4b51ab38726cb61b447742ce4dbaba5d8895ee08 /arch/arm/mach-s3c2416/clock.c
parentARM: S3C2443: Move clk_arm and clk_armdiv to common code (diff)
downloadkernel-qcow2-linux-efb1fb486a8187f02ac4a0170ab45823ebbe58f2.tar.gz
kernel-qcow2-linux-efb1fb486a8187f02ac4a0170ab45823ebbe58f2.tar.xz
kernel-qcow2-linux-efb1fb486a8187f02ac4a0170ab45823ebbe58f2.zip
ARM: S3C2416: Add comment describing the armdiv/armclk
Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c2416/clock.c')
-rw-r--r--arch/arm/mach-s3c2416/clock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2416/clock.c b/arch/arm/mach-s3c2416/clock.c
index 3060796b0e7d..7aa0cfa2f9bd 100644
--- a/arch/arm/mach-s3c2416/clock.c
+++ b/arch/arm/mach-s3c2416/clock.c
@@ -28,6 +28,14 @@
#include <mach/regs-clock.h>
#include <mach/regs-s3c2443-clock.h>
+/* armdiv
+ *
+ * this clock is sourced from msysclk and can have a number of
+ * divider values applied to it to then be fed into armclk.
+ * The real clock definition is done in s3c2443-clock.c,
+ * only the armdiv divisor table must be defined here.
+*/
+
static unsigned int armdiv[8] = {
[0] = 1,
[1] = 2,