summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/include
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2011-08-19 09:54:31 (GMT)
committerKukjin Kim <kgene.kim@samsung.com>2011-09-19 07:38:11 (GMT)
commitfb5d375d352ee5830b33ccdff06eb4f5f1d603f5 (patch)
tree97645e8b8f081a831ceb4b41a1945cc66d95b966 /arch/arm/mach-s3c64xx/include
parentd9018df00785d7ff52aa7fa8acfacd8a036fc832 (diff)
downloadlinux-fsl-qoriq-fb5d375d352ee5830b33ccdff06eb4f5f1d603f5.tar.xz
ARM: S3C64XX: Add support for synchronous clock operation
Some boards based on S3C6410 use synchronous clocking, which means that HCLKx2 and other system clocks are generated from APLL instead of MPLL. This patch adds support for such boards, by calculating hclk2 depending on the status of S3C_OTHERS_SYNCMUXSEL bit in S3C64XX_OTHERS regist Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/include')
-rw-r--r--arch/arm/mach-s3c64xx/include/mach/regs-sys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/include/mach/regs-sys.h b/arch/arm/mach-s3c64xx/include/mach/regs-sys.h
index 774e0de..b91e020 100644
--- a/arch/arm/mach-s3c64xx/include/mach/regs-sys.h
+++ b/arch/arm/mach-s3c64xx/include/mach/regs-sys.h
@@ -26,5 +26,6 @@
#define S3C64XX_OTHERS S3C_SYSREG(0x900)
#define S3C64XX_OTHERS_USBMASK (1 << 16)
+#define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6)
#endif /* _PLAT_REGS_SYS_H */