summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/exynos-cpufreq.c
diff options
context:
space:
mode:
authorJaecheol Lee <jc.lee@samsung.com>2012-03-10 14:59:22 +0400
committerDave Jones <davej@redhat.com>2012-03-14 22:39:47 +0400
commita35c50510dd4d20a9275a0d3d16b859d11b35606 (patch)
treef5a7f7aa679c854fb038bbb751ed23e24ead3efb /drivers/cpufreq/exynos-cpufreq.c
parentfd0ef7a0583b9af3efeb7b1f965ea80b5ff70cdf (diff)
downloadlinux-a35c50510dd4d20a9275a0d3d16b859d11b35606.tar.xz
EXYNOS4X12: Add support cpufreq for EXYNOS4X12
This patch adds support cpufreq for EXYNOS4X12 SoCs. Basically, the exynos-cpufreq.c is used commonly and exynos4x12-cpufreq.c is used for EXYNOS4212(two Cortex-A9 cores) and EXYNOS4412(four Cortex-A9 cores) SoCs. Signed-off-by: Jaecheol Lee <jc.lee@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq/exynos-cpufreq.c')
-rw-r--r--drivers/cpufreq/exynos-cpufreq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
index 7cfb51643555..2c63b68d5b23 100644
--- a/drivers/cpufreq/exynos-cpufreq.c
+++ b/drivers/cpufreq/exynos-cpufreq.c
@@ -254,6 +254,8 @@ static int __init exynos_cpufreq_init(void)
if (soc_is_exynos4210())
ret = exynos4210_cpufreq_init(exynos_info);
+ else if (soc_is_exynos4212() || soc_is_exynos4412())
+ ret = exynos4x12_cpufreq_init(exynos_info);
else
pr_err("%s: CPU type not found\n", __func__);