summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5p64x0/include
diff options
context:
space:
mode:
authorSeungwhan Youn2010-10-14 03:39:08 +0200
committerKukjin Kim2010-10-25 09:05:56 +0200
commitd4b34c6c849d67b7afaa90d55dc7fab981c72950 (patch)
treec6b5c6bfe622832865a98fecec1159cb350bc18a /arch/arm/mach-s5p64x0/include
parentARM: S5PV210: Add audio clocks as sysclk (diff)
downloadkernel-qcow2-linux-d4b34c6c849d67b7afaa90d55dc7fab981c72950.tar.gz
kernel-qcow2-linux-d4b34c6c849d67b7afaa90d55dc7fab981c72950.tar.xz
kernel-qcow2-linux-d4b34c6c849d67b7afaa90d55dc7fab981c72950.zip
ARM: S5P: Reduce duplicated EPLL control codes
S5P Samsung SoCs has a EPLL to support various PLL clock sources for other H/W blocks. Until now, to control EPLL, each of SoCs make their own functions in 'mach-s5pxxx/clock.c'. But some of functions, 'xxx_epll_get_rate()' and 'xxx_epll_enable()', are exactly same in all S5P SoCs, so this patch move these duplicated codes to common EPLL functions that use platform wide. Signed-off-by: Seungwhan Youn <sw.youn@samsung.com> Acked-by: Jassi Brar <jassi.brar@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5p64x0/include')
-rw-r--r--arch/arm/mach-s5p64x0/include/mach/regs-clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s5p64x0/include/mach/regs-clock.h b/arch/arm/mach-s5p64x0/include/mach/regs-clock.h
index 58e1bc813804..a133f22fa155 100644
--- a/arch/arm/mach-s5p64x0/include/mach/regs-clock.h
+++ b/arch/arm/mach-s5p64x0/include/mach/regs-clock.h
@@ -60,4 +60,6 @@
#define ARM_DIV_RATIO_SHIFT 0
#define ARM_DIV_MASK (0xF << ARM_DIV_RATIO_SHIFT)
+#define S5P_EPLL_CON S5P64X0_EPLL_CON
+
#endif /* __ASM_ARCH_REGS_CLOCK_H */