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