summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc1xx/include/mach/clk.h
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-11-20 15:24:57 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2015-11-30 17:17:01 +0900
commit225f5eeccd6c0d376a20c15897edd8c69500d8cc (patch)
treef1348e316a9c4b871d3cadbab9d9cdbe7ce5852a /arch/arm/mach-s5pc1xx/include/mach/clk.h
parentfa8883a1e39a20e72aaa5093af0c80062cb95757 (diff)
downloadblackbird-obmc-uboot-225f5eeccd6c0d376a20c15897edd8c69500d8cc.tar.gz
blackbird-obmc-uboot-225f5eeccd6c0d376a20c15897edd8c69500d8cc.zip
arm: s5pc1xx: move SoC to mach-s5pc1xx
move arm/arm/cpu/armv7/s5pc1xx to arch/arm/mach-s5pc1xx Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pc1xx/include/mach/clk.h')
-rw-r--r--arch/arm/mach-s5pc1xx/include/mach/clk.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc1xx/include/mach/clk.h b/arch/arm/mach-s5pc1xx/include/mach/clk.h
new file mode 100644
index 0000000000..6457ac738d
--- /dev/null
+++ b/arch/arm/mach-s5pc1xx/include/mach/clk.h
@@ -0,0 +1,24 @@
+/*
+ * (C) Copyright 2009 Samsung Electronics
+ * Minkyu Kang <mk7.kang@samsung.com>
+ * Heungjun Kim <riverful.kim@samsung.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __ASM_ARM_ARCH_CLK_H_
+#define __ASM_ARM_ARCH_CLK_H_
+
+#define APLL 0
+#define MPLL 1
+#define EPLL 2
+#define HPLL 3
+#define VPLL 4
+
+unsigned long get_pll_clk(int pllreg);
+unsigned long get_arm_clk(void);
+unsigned long get_pwm_clk(void);
+unsigned long get_uart_clk(int dev_index);
+void set_mmc_clk(int dev_index, unsigned int div);
+
+#endif
OpenPOWER on IntegriCloud