summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-exynos
diff options
context:
space:
mode:
authorAkshay Saraswat <akshay.s@samsung.com>2015-02-04 16:00:01 +0530
committerMinkyu Kang <mk7.kang@samsung.com>2015-02-13 17:23:06 +0900
commitecdfb4e9d2e2bd691e94ee8f96da2e8d7dc45e81 (patch)
tree603f4d8f9a5d462a0f2717a6c8fdd58661cac5b6 /arch/arm/include/asm/arch-exynos
parent325eb18c7762046b79978f1fe26aa678a7f7a349 (diff)
downloadu-boot-ecdfb4e9d2e2bd691e94ee8f96da2e8d7dc45e81.tar.gz
u-boot-ecdfb4e9d2e2bd691e94ee8f96da2e8d7dc45e81.tar.xz
u-boot-ecdfb4e9d2e2bd691e94ee8f96da2e8d7dc45e81.zip
Exynos542x: Add and enable get_periph_rate support
We planned to fetch peripheral rate through one generic API per peripheral. These generic peripheral functions are in turn expected to fetch apt values from a function refactored as per SoC versions. This patch adds support for fetching peripheral rates for Exynos5420 and Exynos5800. Signed-off-by: Akshay Saraswat <akshay.s@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/include/asm/arch-exynos')
-rw-r--r--arch/arm/include/asm/arch-exynos/clk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-exynos/clk.h b/arch/arm/include/asm/arch-exynos/clk.h
index db24dc0e89..2a17dfc6de 100644
--- a/arch/arm/include/asm/arch-exynos/clk.h
+++ b/arch/arm/include/asm/arch-exynos/clk.h
@@ -26,6 +26,10 @@ enum pll_src_bit {
EXYNOS_SRC_MPLL = 6,
EXYNOS_SRC_EPLL,
EXYNOS_SRC_VPLL,
+ EXYNOS542X_SRC_MPLL = 3,
+ EXYNOS542X_SRC_SPLL,
+ EXYNOS542X_SRC_EPLL = 6,
+ EXYNOS542X_SRC_RPLL,
};
unsigned long get_pll_clk(int pllreg);