2005-04-17 02:20:36 +04:00
|
|
|
# CPUfreq core
|
2013-10-03 18:59:08 +04:00
|
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
|
2014-05-05 17:33:50 +04:00
|
|
|
obj-$(CONFIG_PM_OPP) += cpufreq_opp.o
|
|
|
|
|
2005-04-17 02:20:36 +04: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 05:55:20 +04: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 02:20:36 +04:00
|
|
|
|
2014-09-09 18:28:03 +04:00
|
|
|
obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
|
2012-09-06 11:09:11 +04:00
|
|
|
|
2011-06-07 05:10:04 +04:00
|
|
|
##################################################################################
|
2011-05-20 02:51:07 +04:00
|
|
|
# x86 drivers.
|
|
|
|
# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
|
2013-01-20 14:24:27 +04: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 02:51:07 +04:00
|
|
|
# speedstep-* is preferred over p4-clockmod.
|
|
|
|
|
2013-06-05 20:01:42 +04:00
|
|
|
obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
|
2013-01-20 14:24:27 +04:00
|
|
|
obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
|
2011-05-20 02:51:07 +04: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-06 21:02:13 +04:00
|
|
|
obj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o
|
2013-04-04 20:19:04 +04:00
|
|
|
obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o
|
2014-12-19 20:43:51 +03:00
|
|
|
obj-$(CONFIG_X86_SFI_CPUFREQ) += sfi-cpufreq.o
|
2011-05-20 02:51:07 +04:00
|
|
|
|
2011-06-07 05:10:04 +04:00
|
|
|
##################################################################################
|
2011-05-15 21:34:29 +04:00
|
|
|
# ARM SoC drivers
|
2013-04-01 16:57:49 +04: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 19:25:38 +04:00
|
|
|
obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o
|
2012-12-10 19:25:38 +04: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-01-31 21:35:18 +03: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 13:57:34 +04:00
|
|
|
obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o
|
2013-04-04 16:54:09 +04:00
|
|
|
obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o
|
2015-03-30 08:26:37 +03:00
|
|
|
obj-$(CONFIG_ARM_HISI_ACPU_CPUFREQ) += hisi-acpu-cpufreq.o
|
2013-04-04 16:54:09 +04:00
|
|
|
obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o
|
2013-04-04 16:54:14 +04:00
|
|
|
obj-$(CONFIG_ARM_INTEGRATOR) += integrator-cpufreq.o
|
2013-02-06 01:52:51 +04:00
|
|
|
obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
|
2013-01-28 20:13:15 +04:00
|
|
|
obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o
|
2014-11-24 06:59:26 +03:00
|
|
|
obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o
|
2013-04-04 16:54:12 +04:00
|
|
|
obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
|
2013-04-04 16:54:15 +04: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 16:54:09 +04:00
|
|
|
obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o
|
2013-04-04 16:54:15 +04:00
|
|
|
obj-$(CONFIG_ARM_S3C2440_CPUFREQ) += s3c2440-cpufreq.o
|
2013-04-04 16:54:09 +04:00
|
|
|
obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
|
|
|
|
obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
|
2013-04-04 16:54:16 +04:00
|
|
|
obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
|
|
|
|
obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o
|
2012-11-27 17:05:26 +04:00
|
|
|
obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
|
2013-06-12 10:35:48 +04:00
|
|
|
obj-$(CONFIG_ARM_TEGRA_CPUFREQ) += tegra-cpufreq.o
|
2013-10-29 16:18:39 +04:00
|
|
|
obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
|
2011-06-29 09:07:56 +04:00
|
|
|
|
2011-07-26 09:59:39 +04:00
|
|
|
##################################################################################
|
2011-06-29 09:07:56 +04:00
|
|
|
# PowerPC platform drivers
|
2013-03-25 09:50:23 +04: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 09:07:56 +04:00
|
|
|
obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
|
2015-03-13 07:39:02 +03:00
|
|
|
obj-$(CONFIG_QORIQ_CPUFREQ) += qoriq-cpufreq.o
|
2013-04-04 16:54:25 +04: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 11:13:26 +04:00
|
|
|
obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o
|
2013-04-04 16:54:17 +04:00
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
# Other platform drivers
|
|
|
|
obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
|
2013-06-12 10:02:00 +04:00
|
|
|
obj-$(CONFIG_BFIN_CPU_FREQ) += blackfin-cpufreq.o
|
2013-04-04 16:54:19 +04:00
|
|
|
obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
|
|
|
|
obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
|
2013-04-04 16:54:20 +04:00
|
|
|
obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
|
2013-04-04 16:54:21 +04:00
|
|
|
obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
|
2014-10-17 14:23:31 +04:00
|
|
|
obj-$(CONFIG_LOONGSON1_CPUFREQ) += ls1x-cpufreq.o
|
2013-04-04 16:54:22 +04:00
|
|
|
obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
|
2013-04-04 16:54:24 +04:00
|
|
|
obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
|
|
|
|
obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
|
2013-04-04 16:54:23 +04:00
|
|
|
obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o
|