2005-04-17 06:20:36 +08:00
|
|
|
# CPUfreq core
|
2013-10-03 22:59:08 +08:00
|
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
|
2014-05-05 21:33:50 +08:00
|
|
|
obj-$(CONFIG_PM_OPP) += cpufreq_opp.o
|
|
|
|
|
2005-04-17 06:20:36 +08:00
|
|
|
# CPUfreq stats
|
|
|
|
obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o
|
|
|
|
|
|
|
|
# CPUfreq governors
|
|
|
|
obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o
|
|
|
|
obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
|
|
|
|
obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o
|
2012-12-29 09:55:20 +08:00
|
|
|
obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o
|
|
|
|
obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o
|
|
|
|
obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2014-09-09 22:28:03 +08:00
|
|
|
obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
|
2012-09-06 15:09:11 +08:00
|
|
|
|
2011-06-07 09:10:04 +08:00
|
|
|
##################################################################################
|
2011-05-20 06:51:07 +08:00
|
|
|
# x86 drivers.
|
|
|
|
# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
|
2013-01-20 18:24:27 +08:00
|
|
|
# K8 systems. This is still the case but acpi-cpufreq errors out so that
|
|
|
|
# powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers.
|
2011-05-20 06:51:07 +08:00
|
|
|
# speedstep-* is preferred over p4-clockmod.
|
|
|
|
|
2013-06-06 00:01:42 +08:00
|
|
|
obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
|
2013-01-20 18:24:27 +08:00
|
|
|
obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
|
2011-05-20 06:51:07 +08:00
|
|
|
obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
|
|
|
|
obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
|
|
|
|
obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
|
|
|
|
obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
|
|
|
|
obj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o
|
|
|
|
obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
|
|
|
|
obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o
|
|
|
|
obj-$(CONFIG_X86_LONGRUN) += longrun.o
|
|
|
|
obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
|
|
|
|
obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o
|
|
|
|
obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
|
|
|
|
obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o
|
|
|
|
obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
|
|
|
|
obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
|
|
|
|
obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
|
2013-02-07 01:02:13 +08:00
|
|
|
obj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o
|
2013-04-05 00:19:04 +08:00
|
|
|
obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o
|
2014-12-20 01:43:51 +08:00
|
|
|
obj-$(CONFIG_X86_SFI_CPUFREQ) += sfi-cpufreq.o
|
2011-05-20 06:51:07 +08:00
|
|
|
|
2011-06-07 09:10:04 +08:00
|
|
|
##################################################################################
|
2011-05-16 01:34:29 +08:00
|
|
|
# ARM SoC drivers
|
2013-04-01 20:57:49 +08:00
|
|
|
obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ) += arm_big_little.o
|
|
|
|
# big LITTLE per platform glues. Keep DT_BL_CPUFREQ as the last entry in all big
|
|
|
|
# LITTLE drivers, so that it is probed last.
|
|
|
|
obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o
|
|
|
|
|
2014-07-08 23:25:38 +08:00
|
|
|
obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o
|
2012-12-10 23:25:38 +08:00
|
|
|
obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o
|
cpufreq: exynos: allow modular build
The exynos cpufreq driver code recently gained a dependency on the
cooling code, which may be a loadable module. This breaks an ARM
allmodconfig build:
drivers/built-in.o: In function `exynos_cpufreq_probe':
:(.text+0x1748e8): undefined reference to `of_cpufreq_cooling_register'
To avoid this problem, change cpufreq Kconfig to allow the drivers
to be loadable modules as well and enforce a dependency on the
thermal module.
This change, in order to allow module builds on this cpufreq
driver, properly constructs the driver into a single module,
instead of several modules. The change also keeps the proper
platform dependency, and therefore, it wont load in platforms
that are not supposed to be loaded. The user will be able to
build the support for all platforms, or select which platforms
(s)he wants (as originally), except that now it can be a module,
instead.
Besides, it will still keep the driver only on those configs
that expect it to be on. And it won't compile/load on platforms
that it is not supposed to. It brings the config ARM_EXYNOS_CPU_FREQ_BOOST_SW
closer to this driver, so it looks better in the menuconfig.
We intentionally change ARM_EXYNOS5440_CPUFREQ to be tristate too, to
avoid future troubles.
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Kukjin Kim <kgene@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-pm@vger.kernel.org
Cc: linux-samsung-soc@vger.kernel.org
Fixes: e725d26c4857 ("cpufreq: exynos: Use device tree to determine if cpufreq cooling should be registered")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2015-02-01 02:35:18 +08:00
|
|
|
obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += arm-exynos-cpufreq.o
|
|
|
|
arm-exynos-cpufreq-y := exynos-cpufreq.o
|
|
|
|
arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ) += exynos4x12-cpufreq.o
|
|
|
|
arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS5250_CPUFREQ) += exynos5250-cpufreq.o
|
2013-04-08 17:57:34 +08:00
|
|
|
obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o
|
2013-04-04 20:54:09 +08:00
|
|
|
obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o
|
2015-03-30 13:26:37 +08:00
|
|
|
obj-$(CONFIG_ARM_HISI_ACPU_CPUFREQ) += hisi-acpu-cpufreq.o
|
2013-04-04 20:54:09 +08:00
|
|
|
obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o
|
2013-04-04 20:54:14 +08:00
|
|
|
obj-$(CONFIG_ARM_INTEGRATOR) += integrator-cpufreq.o
|
2013-02-06 05:52:51 +08:00
|
|
|
obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
|
2013-01-29 00:13:15 +08:00
|
|
|
obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o
|
2014-11-24 11:59:26 +08:00
|
|
|
obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o
|
2013-04-04 20:54:12 +08:00
|
|
|
obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
|
2013-04-04 20:54:15 +08:00
|
|
|
obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += s3c24xx-cpufreq.o
|
|
|
|
obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
|
|
|
|
obj-$(CONFIG_ARM_S3C2410_CPUFREQ) += s3c2410-cpufreq.o
|
|
|
|
obj-$(CONFIG_ARM_S3C2412_CPUFREQ) += s3c2412-cpufreq.o
|
2013-04-04 20:54:09 +08:00
|
|
|
obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o
|
2013-04-04 20:54:15 +08:00
|
|
|
obj-$(CONFIG_ARM_S3C2440_CPUFREQ) += s3c2440-cpufreq.o
|
2013-04-04 20:54:09 +08:00
|
|
|
obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
|
|
|
|
obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
|
2013-04-04 20:54:16 +08:00
|
|
|
obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
|
|
|
|
obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o
|
2012-11-27 21:05:26 +08:00
|
|
|
obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
|
2015-05-13 22:58:47 +08:00
|
|
|
obj-$(CONFIG_ARM_TEGRA20_CPUFREQ) += tegra20-cpufreq.o
|
2013-10-29 20:18:39 +08:00
|
|
|
obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
|
2011-06-29 13:07:56 +08:00
|
|
|
|
2011-07-26 13:59:39 +08:00
|
|
|
##################################################################################
|
2011-06-29 13:07:56 +08:00
|
|
|
# PowerPC platform drivers
|
2013-03-25 13:50:23 +08:00
|
|
|
obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o
|
|
|
|
ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
|
|
|
|
obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o
|
2011-06-29 13:07:56 +08:00
|
|
|
obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
|
2015-03-13 12:39:02 +08:00
|
|
|
obj-$(CONFIG_QORIQ_CPUFREQ) += qoriq-cpufreq.o
|
2013-04-04 20:54:25 +08:00
|
|
|
obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o
|
|
|
|
obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o
|
|
|
|
obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o
|
2014-04-01 15:13:26 +08:00
|
|
|
obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o
|
2013-04-04 20:54:17 +08:00
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
# Other platform drivers
|
|
|
|
obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
|
2013-06-12 14:02:00 +08:00
|
|
|
obj-$(CONFIG_BFIN_CPU_FREQ) += blackfin-cpufreq.o
|
2013-04-04 20:54:19 +08:00
|
|
|
obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
|
|
|
|
obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
|
2013-04-04 20:54:20 +08:00
|
|
|
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
|
2013-04-04 20:54:21 +08:00
|
|
|
obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
|
2014-10-17 18:23:31 +08:00
|
|
|
obj-$(CONFIG_LOONGSON1_CPUFREQ) += ls1x-cpufreq.o
|
2013-04-04 20:54:22 +08:00
|
|
|
obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
|
2013-04-04 20:54:24 +08:00
|
|
|
obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
|
|
|
|
obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
|
2013-04-04 20:54:23 +08:00
|
|
|
obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o
|