diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-03-04 07:38:08 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-03-04 07:38:08 +0000 |
commit | e71d687a59642b5ba7789395d6d5cf447cf46c09 (patch) | |
tree | 69abf31e6c28d14de2c0396f7c1817c5006ccf3a /arch | |
parent | 7bd2f3cb193aefee782eb5faf5c4dcb0a782ef14 (diff) |
S3C64XX: Initial support for CPU frequency scaling
This patch provides initial support for CPU frequency scaling on the
Samsung S3C64XX series processors. Currently only S3C6410 processors
are supported, though addition of another data table with supported
clock rates should be sufficient to enable support for further CPUs.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 7 | ||||
-rw-r--r-- | arch/arm/plat-s3c64xx/Makefile | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 27d4dffc327..2dfd1c28ae7 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1086,7 +1086,8 @@ endmenu menu "CPU Power Management" -if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA) +if (ARCH_SA1100 || ARCH_INTEGRATOR || ARCH_OMAP || ARCH_IMX || ARCH_PXA || \ + ARCH_S3C64XX) source "drivers/cpufreq/Kconfig" @@ -1126,6 +1127,10 @@ config CPU_FREQ_PXA default y select CPU_FREQ_DEFAULT_GOV_USERSPACE +config CPU_FREQ_S3C64XX + bool "CPUfreq support for S3C64xx CPUs" + depends on CPU_FREQ && CPU_S3C6410 + endif source "drivers/cpuidle/Kconfig" diff --git a/arch/arm/plat-s3c64xx/Makefile b/arch/arm/plat-s3c64xx/Makefile index 4ecefb68252..0d5a9cdf3bb 100644 --- a/arch/arm/plat-s3c64xx/Makefile +++ b/arch/arm/plat-s3c64xx/Makefile @@ -34,6 +34,8 @@ obj-$(CONFIG_PM) += pm.o obj-$(CONFIG_PM) += sleep.o obj-$(CONFIG_PM) += irq-pm.o +obj-$(CONFIG_CPU_FREQ_S3C64XX) += cpufreq.o + # Device setup obj-$(CONFIG_S3C64XX_SETUP_I2C0) += setup-i2c0.o |