ARM: S3C64XX: Add support for synchronous clock operation
authorTomasz Figa <tomasz.figa@gmail.com>
Fri, 19 Aug 2011 09:54:31 +0000 (11:54 +0200)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 19 Sep 2011 07:38:11 +0000 (16:38 +0900)
commitfb5d375d352ee5830b33ccdff06eb4f5f1d603f5
tree97645e8b8f081a831ceb4b41a1945cc66d95b966
parentd9018df00785d7ff52aa7fa8acfacd8a036fc832
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>
arch/arm/mach-s3c64xx/clock.c
arch/arm/mach-s3c64xx/include/mach/regs-sys.h