summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-s5pc1xx/clk.h
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2010-08-24 15:51:55 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2010-08-30 14:44:16 +0900
commitf70409aff3a10e22ff9c66f87e9cbc3de7cbd7f7 (patch)
treec8b7d4b4127f3d908b403d230940a9c122ed44e8 /arch/arm/include/asm/arch-s5pc1xx/clk.h
parent545dabbeef56ffea33cedee56067edacd9fb90f0 (diff)
downloadtalos-obmc-uboot-f70409aff3a10e22ff9c66f87e9cbc3de7cbd7f7.tar.gz
talos-obmc-uboot-f70409aff3a10e22ff9c66f87e9cbc3de7cbd7f7.zip
ARMV7: S5P: separate the peripheral clocks
Because of peripheral devices can select clock sources, separate the peripheral clocks. (pwm, uart and so on) It just return the pclk at s5pc1xx SoC, but s5pc210 SoC must be calculated by own clock register setting. Signed-off-by: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/arch-s5pc1xx/clk.h')
-rw-r--r--arch/arm/include/asm/arch-s5pc1xx/clk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-s5pc1xx/clk.h b/arch/arm/include/asm/arch-s5pc1xx/clk.h
index c25e17abd7..3488eb7c15 100644
--- a/arch/arm/include/asm/arch-s5pc1xx/clk.h
+++ b/arch/arm/include/asm/arch-s5pc1xx/clk.h
@@ -33,6 +33,7 @@ void s5p_clock_init(void);
extern unsigned long (*get_pll_clk)(int pllreg);
extern unsigned long (*get_arm_clk)(void);
-extern unsigned long (*get_pclk)(void);
+extern unsigned long (*get_pwm_clk)(void);
+extern unsigned long (*get_uart_clk)(int dev_index);
#endif
OpenPOWER on IntegriCloud