diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-07-30 18:23:37 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-07-30 18:22:55 -0400 |
commit | 140780ab5a2bc04ccff77337c3a27f3b44182a91 (patch) | |
tree | 719cc3986597f78ee9197404e31738b484de11c7 /arch/arm/mach-s3c2412 | |
parent | 25400036867fa7a135fca17810555400d176acaa (diff) |
ARM: S3C24XX: CPUFREQ: S3C2412/S3C2443 IO timing support
Add IO bank timing support for S3C2412/S3C2443.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2412')
-rw-r--r-- | arch/arm/mach-s3c2412/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-s3c2412/cpu-freq.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2412/Kconfig b/arch/arm/mach-s3c2412/Kconfig index 79e18340e074..35c1bde89cf2 100644 --- a/arch/arm/mach-s3c2412/Kconfig +++ b/arch/arm/mach-s3c2412/Kconfig | |||
@@ -32,9 +32,12 @@ config S3C2412_PM | |||
32 | help | 32 | help |
33 | Internal config node to apply S3C2412 power management | 33 | Internal config node to apply S3C2412 power management |
34 | 34 | ||
35 | # Note, the S3C2412 IOtiming support is in plat-s3c24xx | ||
36 | |||
35 | config S3C2412_CPUFREQ | 37 | config S3C2412_CPUFREQ |
36 | bool | 38 | bool |
37 | depends on CPU_FREQ_S3C24XX && CPU_S3C2412 | 39 | depends on CPU_FREQ_S3C24XX && CPU_S3C2412 |
40 | select S3C2412_IOTIMING | ||
38 | default y | 41 | default y |
39 | help | 42 | help |
40 | CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs. | 43 | CPU Frequency scaling support for S3C2412 and S3C2413 SoC CPUs. |
diff --git a/arch/arm/mach-s3c2412/cpu-freq.c b/arch/arm/mach-s3c2412/cpu-freq.c index 80b20c334472..21a66178d9b7 100644 --- a/arch/arm/mach-s3c2412/cpu-freq.c +++ b/arch/arm/mach-s3c2412/cpu-freq.c | |||
@@ -185,6 +185,10 @@ static struct s3c_cpufreq_info s3c2412_cpufreq_info = { | |||
185 | .set_divs = s3c2412_cpufreq_setdivs, | 185 | .set_divs = s3c2412_cpufreq_setdivs, |
186 | .calc_divs = s3c2412_cpufreq_calcdivs, | 186 | .calc_divs = s3c2412_cpufreq_calcdivs, |
187 | 187 | ||
188 | .calc_iotiming = s3c2412_iotiming_calc, | ||
189 | .set_iotiming = s3c2412_iotiming_set, | ||
190 | .get_iotiming = s3c2412_iotiming_get, | ||
191 | |||
188 | .resume_clocks = s3c2412_setup_clocks, | 192 | .resume_clocks = s3c2412_setup_clocks, |
189 | }; | 193 | }; |
190 | 194 | ||