diff options
| -rw-r--r-- | arch/powerpc/platforms/Kconfig | 31 | ||||
| -rw-r--r-- | arch/powerpc/platforms/pasemi/Makefile | 1 | ||||
| -rw-r--r-- | arch/powerpc/platforms/powermac/Makefile | 2 | ||||
| -rw-r--r-- | drivers/cpufreq/Kconfig.powerpc | 26 | ||||
| -rw-r--r-- | drivers/cpufreq/Makefile | 3 | ||||
| -rw-r--r-- | drivers/cpufreq/pasemi-cpufreq.c (renamed from arch/powerpc/platforms/pasemi/cpufreq.c) | 0 | ||||
| -rw-r--r-- | drivers/cpufreq/pmac32-cpufreq.c (renamed from arch/powerpc/platforms/powermac/cpufreq_32.c) | 0 | ||||
| -rw-r--r-- | drivers/cpufreq/pmac64-cpufreq.c (renamed from arch/powerpc/platforms/powermac/cpufreq_64.c) | 0 |
8 files changed, 29 insertions, 34 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index b62aab3e22ec..e17cdfc5ba40 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
| @@ -193,37 +193,6 @@ config PPC_IO_WORKAROUNDS | |||
| 193 | 193 | ||
| 194 | source "drivers/cpufreq/Kconfig" | 194 | source "drivers/cpufreq/Kconfig" |
| 195 | 195 | ||
| 196 | menu "CPU Frequency drivers" | ||
| 197 | depends on CPU_FREQ | ||
| 198 | |||
| 199 | config CPU_FREQ_PMAC | ||
| 200 | bool "Support for Apple PowerBooks" | ||
| 201 | depends on ADB_PMU && PPC32 | ||
| 202 | select CPU_FREQ_TABLE | ||
| 203 | help | ||
| 204 | This adds support for frequency switching on Apple PowerBooks, | ||
| 205 | this currently includes some models of iBook & Titanium | ||
| 206 | PowerBook. | ||
| 207 | |||
| 208 | config CPU_FREQ_PMAC64 | ||
| 209 | bool "Support for some Apple G5s" | ||
| 210 | depends on PPC_PMAC && PPC64 | ||
| 211 | select CPU_FREQ_TABLE | ||
| 212 | help | ||
| 213 | This adds support for frequency switching on Apple iMac G5, | ||
| 214 | and some of the more recent desktop G5 machines as well. | ||
| 215 | |||
| 216 | config PPC_PASEMI_CPUFREQ | ||
| 217 | bool "Support for PA Semi PWRficient" | ||
| 218 | depends on PPC_PASEMI | ||
| 219 | default y | ||
| 220 | select CPU_FREQ_TABLE | ||
| 221 | help | ||
| 222 | This adds the support for frequency switching on PA Semi | ||
| 223 | PWRficient processors. | ||
| 224 | |||
| 225 | endmenu | ||
| 226 | |||
| 227 | menu "CPUIdle driver" | 196 | menu "CPUIdle driver" |
| 228 | 197 | ||
| 229 | source "drivers/cpuidle/Kconfig" | 198 | source "drivers/cpuidle/Kconfig" |
diff --git a/arch/powerpc/platforms/pasemi/Makefile b/arch/powerpc/platforms/pasemi/Makefile index ce6d789e0741..8e8d4cae5ebe 100644 --- a/arch/powerpc/platforms/pasemi/Makefile +++ b/arch/powerpc/platforms/pasemi/Makefile | |||
| @@ -1,3 +1,2 @@ | |||
| 1 | obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o dma_lib.o misc.o | 1 | obj-y += setup.o pci.o time.o idle.o powersave.o iommu.o dma_lib.o misc.o |
| 2 | obj-$(CONFIG_PPC_PASEMI_MDIO) += gpio_mdio.o | 2 | obj-$(CONFIG_PPC_PASEMI_MDIO) += gpio_mdio.o |
| 3 | obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += cpufreq.o | ||
diff --git a/arch/powerpc/platforms/powermac/Makefile b/arch/powerpc/platforms/powermac/Makefile index ea47df66fee5..52c6ce1cc985 100644 --- a/arch/powerpc/platforms/powermac/Makefile +++ b/arch/powerpc/platforms/powermac/Makefile | |||
| @@ -9,8 +9,6 @@ obj-y += pic.o setup.o time.o feature.o pci.o \ | |||
| 9 | sleep.o low_i2c.o cache.o pfunc_core.o \ | 9 | sleep.o low_i2c.o cache.o pfunc_core.o \ |
| 10 | pfunc_base.o udbg_scc.o udbg_adb.o | 10 | pfunc_base.o udbg_scc.o udbg_adb.o |
| 11 | obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o | 11 | obj-$(CONFIG_PMAC_BACKLIGHT) += backlight.o |
| 12 | obj-$(CONFIG_CPU_FREQ_PMAC) += cpufreq_32.o | ||
| 13 | obj-$(CONFIG_CPU_FREQ_PMAC64) += cpufreq_64.o | ||
| 14 | # CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really | 12 | # CONFIG_NVRAM is an arch. independent tristate symbol, for pmac32 we really |
| 15 | # need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really | 13 | # need this to be a bool. Cheat here and pretend CONFIG_NVRAM=m is really |
| 16 | # CONFIG_NVRAM=y | 14 | # CONFIG_NVRAM=y |
diff --git a/drivers/cpufreq/Kconfig.powerpc b/drivers/cpufreq/Kconfig.powerpc index 88f629e5a393..c48f83c93a96 100644 --- a/drivers/cpufreq/Kconfig.powerpc +++ b/drivers/cpufreq/Kconfig.powerpc | |||
| @@ -33,3 +33,29 @@ config PPC_CORENET_CPUFREQ | |||
| 33 | This adds the CPUFreq driver support for Freescale e500mc, | 33 | This adds the CPUFreq driver support for Freescale e500mc, |
| 34 | e5500 and e6500 series SoCs which are capable of changing | 34 | e5500 and e6500 series SoCs which are capable of changing |
| 35 | the CPU's frequency dynamically. | 35 | the CPU's frequency dynamically. |
| 36 | |||
| 37 | config CPU_FREQ_PMAC | ||
| 38 | bool "Support for Apple PowerBooks" | ||
| 39 | depends on ADB_PMU && PPC32 | ||
| 40 | select CPU_FREQ_TABLE | ||
| 41 | help | ||
| 42 | This adds support for frequency switching on Apple PowerBooks, | ||
| 43 | this currently includes some models of iBook & Titanium | ||
| 44 | PowerBook. | ||
| 45 | |||
| 46 | config CPU_FREQ_PMAC64 | ||
| 47 | bool "Support for some Apple G5s" | ||
| 48 | depends on PPC_PMAC && PPC64 | ||
| 49 | select CPU_FREQ_TABLE | ||
| 50 | help | ||
| 51 | This adds support for frequency switching on Apple iMac G5, | ||
| 52 | and some of the more recent desktop G5 machines as well. | ||
| 53 | |||
| 54 | config PPC_PASEMI_CPUFREQ | ||
| 55 | bool "Support for PA Semi PWRficient" | ||
| 56 | depends on PPC_PASEMI | ||
| 57 | select CPU_FREQ_TABLE | ||
| 58 | default y | ||
| 59 | help | ||
| 60 | This adds the support for frequency switching on PA Semi | ||
| 61 | PWRficient processors. | ||
diff --git a/drivers/cpufreq/Makefile b/drivers/cpufreq/Makefile index c956094ccc39..2de2af2ca3b1 100644 --- a/drivers/cpufreq/Makefile +++ b/drivers/cpufreq/Makefile | |||
| @@ -80,6 +80,9 @@ ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o | |||
| 80 | obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o | 80 | obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o |
| 81 | obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o | 81 | obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o |
| 82 | obj-$(CONFIG_PPC_CORENET_CPUFREQ) += ppc-corenet-cpufreq.o | 82 | obj-$(CONFIG_PPC_CORENET_CPUFREQ) += ppc-corenet-cpufreq.o |
| 83 | obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o | ||
| 84 | obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o | ||
| 85 | obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o | ||
| 83 | 86 | ||
| 84 | ################################################################################## | 87 | ################################################################################## |
| 85 | # Other platform drivers | 88 | # Other platform drivers |
diff --git a/arch/powerpc/platforms/pasemi/cpufreq.c b/drivers/cpufreq/pasemi-cpufreq.c index b704da404067..b704da404067 100644 --- a/arch/powerpc/platforms/pasemi/cpufreq.c +++ b/drivers/cpufreq/pasemi-cpufreq.c | |||
diff --git a/arch/powerpc/platforms/powermac/cpufreq_32.c b/drivers/cpufreq/pmac32-cpufreq.c index 3104fad82480..3104fad82480 100644 --- a/arch/powerpc/platforms/powermac/cpufreq_32.c +++ b/drivers/cpufreq/pmac32-cpufreq.c | |||
diff --git a/arch/powerpc/platforms/powermac/cpufreq_64.c b/drivers/cpufreq/pmac64-cpufreq.c index 7ba423431cfe..7ba423431cfe 100644 --- a/arch/powerpc/platforms/powermac/cpufreq_64.c +++ b/drivers/cpufreq/pmac64-cpufreq.c | |||
