summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/include
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2011-08-19 11:54:31 +0200
committerKukjin Kim <kgene.kim@samsung.com>2011-09-19 09:38:11 +0200
commitfb5d375d352ee5830b33ccdff06eb4f5f1d603f5 (patch)
tree97645e8b8f081a831ceb4b41a1945cc66d95b966 /arch/arm/mach-s3c64xx/include
parentARM: S3C64XX: Save/restore S3C64XX_MODEM_MIFPCON on suspend/resume (diff)
downloadlinux-fb5d375d352ee5830b33ccdff06eb4f5f1d603f5.tar.xz
linux-fb5d375d352ee5830b33ccdff06eb4f5f1d603f5.zip
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 774e0de31400..b91e02093289 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 */