Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295425
b: refs/heads/master
c: a35c505
h: refs/heads/master
i:
  295423: 1e980cc
v: v3
  • Loading branch information
Jaecheol Lee authored and Dave Jones committed Mar 14, 2012
1 parent bb5668e commit d900cbb
Show file tree
Hide file tree
Showing 6 changed files with 548 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fd0ef7a0583b9af3efeb7b1f965ea80b5ff70cdf
refs/heads/master: a35c50510dd4d20a9275a0d3d16b859d11b35606
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-exynos/include/mach/cpufreq.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ struct exynos_dvfs_info {
};

extern int exynos4210_cpufreq_init(struct exynos_dvfs_info *);
extern int exynos4x12_cpufreq_init(struct exynos_dvfs_info *);
7 changes: 7 additions & 0 deletions trunk/drivers/cpufreq/Kconfig.arm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ config ARM_EXYNOS_CPUFREQ
bool "SAMSUNG EXYNOS SoCs"
depends on ARCH_EXYNOS
select ARM_EXYNOS4210_CPUFREQ if CPU_EXYNOS4210
select ARM_EXYNOS4X12_CPUFREQ if (SOC_EXYNOS4212 || SOC_EXYNOS4412)
default y
help
This adds the CPUFreq driver common part for Samsung
Expand All @@ -60,3 +61,9 @@ config ARM_EXYNOS4210_CPUFREQ
help
This adds the CPUFreq driver for Samsung EXYNOS4210
SoC (S5PV310 or S5PC210).

config ARM_EXYNOS4X12_CPUFREQ
bool "Samsung EXYNOS4X12"
help
This adds the CPUFreq driver for Samsung EXYNOS4X12
SoC (EXYNOS4212 or EXYNOS4412).
1 change: 1 addition & 0 deletions trunk/drivers/cpufreq/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += exynos-cpufreq.o
obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos4210-cpufreq.o
obj-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ) += exynos4x12-cpufreq.o
obj-$(CONFIG_ARCH_OMAP2PLUS) += omap-cpufreq.o

##################################################################################
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/cpufreq/exynos-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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__);

Expand Down
Loading

0 comments on commit d900cbb

Please sign in to comment.