blob: b26e2bf9cd936a4aba0b9ca80060146455f5e287 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# CPUfreq core
Viresh Kumar3bc28ab2013-10-03 20:29:08 +05302obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
Nishanth Menona0dd7b72014-05-05 08:33:50 -05003obj-$(CONFIG_PM_OPP) += cpufreq_opp.o
4
Linus Torvalds1da177e2005-04-16 15:20:36 -07005# CPUfreq stats
6obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o
7
8# CPUfreq governors
9obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o
10obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
11obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o
Larry Finger1e15f292012-12-29 01:55:20 +000012obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o
13obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o
14obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Viresh Kumarbbcf0712014-09-09 19:58:03 +053016obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
Shawn Guo95ceafd2012-09-06 07:09:11 +000017
Dave Jones069283c2011-06-06 21:10:04 -040018##################################################################################
Dave Jonesbb0a56e2011-05-19 18:51:07 -040019# x86 drivers.
20# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
Borislav Petkov741220e2013-01-20 10:24:27 +000021# K8 systems. This is still the case but acpi-cpufreq errors out so that
22# powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers.
Dave Jonesbb0a56e2011-05-19 18:51:07 -040023# speedstep-* is preferred over p4-clockmod.
24
Stratos Karafotis61c63e52013-06-05 19:01:42 +030025obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
Borislav Petkov741220e2013-01-20 10:24:27 +000026obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040027obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
28obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
29obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
30obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
31obj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o
32obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
33obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o
34obj-$(CONFIG_X86_LONGRUN) += longrun.o
35obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
36obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o
37obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
38obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o
39obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
40obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
41obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
Dirk Brandewie93f08222013-02-06 09:02:13 -080042obj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o
Jacob Shin9c5320c2013-04-04 16:19:04 +000043obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040044
Dave Jones069283c2011-06-06 21:10:04 -040045##################################################################################
Linus Walleijf0e733f2011-05-15 19:34:29 +020046# ARM SoC drivers
Viresh Kumar8a67f0e2013-04-01 12:57:49 +000047obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ) += arm_big_little.o
48# big LITTLE per platform glues. Keep DT_BL_CPUFREQ as the last entry in all big
49# LITTLE drivers, so that it is probed last.
50obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o
51
Prabhakar Lad5a90af62014-07-08 16:25:38 +010052obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o
Lee Jonesedb10c12012-12-10 16:25:38 +010053obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o
Arnd Bergmann8b2b4a42015-01-31 14:35:18 -040054obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += arm-exynos-cpufreq.o
55arm-exynos-cpufreq-y := exynos-cpufreq.o
56arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos4210-cpufreq.o
57arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ) += exynos4x12-cpufreq.o
58arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS5250_CPUFREQ) += exynos5250-cpufreq.o
Amit Daniel Kachhap49d7b5b2013-04-08 09:57:34 +000059obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o
Mark Langsdorf6754f552013-01-28 16:13:15 +000060obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o
Shawn Guo1dd538f2013-02-04 05:46:29 +000061obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o
Viresh Kumarb7e614c2013-04-04 12:54:14 +000062obj-$(CONFIG_ARM_INTEGRATOR) += integrator-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000063obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
64obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o
Petr Cvek608eab22014-11-24 04:59:26 +010065obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o
Viresh Kumaradde9042013-04-04 12:54:12 +000066obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
Viresh Kumarf023f8d2013-04-04 12:54:15 +000067obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += s3c24xx-cpufreq.o
68obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
69obj-$(CONFIG_ARM_S3C2410_CPUFREQ) += s3c2410-cpufreq.o
70obj-$(CONFIG_ARM_S3C2412_CPUFREQ) += s3c2412-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000071obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o
Viresh Kumarf023f8d2013-04-04 12:54:15 +000072obj-$(CONFIG_ARM_S3C2440_CPUFREQ) += s3c2440-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000073obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
74obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
Viresh Kumar59a2e612013-04-04 12:54:16 +000075obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
76obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000077obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
Viresh Kumardbb8d762013-06-12 12:05:48 +053078obj-$(CONFIG_ARM_TEGRA_CPUFREQ) += tegra-cpufreq.o
Sudeep KarkadaNagesha47ac9aa2013-10-29 12:18:39 +000079obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000080
Linus Torvalds18447502011-07-25 22:59:39 -070081##################################################################################
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000082# PowerPC platform drivers
Viresh Kumar6eb1c372013-03-25 11:20:23 +053083obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o
84ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
85obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000086obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
Tang Yuantiandefa4c72013-06-05 09:30:48 +000087obj-$(CONFIG_PPC_CORENET_CPUFREQ) += ppc-corenet-cpufreq.o
Viresh Kumar7fb6a532013-04-04 18:24:25 +053088obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o
89obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o
90obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o
Vaidyanathan Srinivasanb3d627a2014-04-01 12:43:26 +053091obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o
Viresh Kumar81c720c2013-04-04 12:54:17 +000092
93##################################################################################
94# Other platform drivers
95obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
Viresh Kumar96070b12013-06-12 11:32:00 +053096obj-$(CONFIG_BFIN_CPU_FREQ) += blackfin-cpufreq.o
Viresh Kumar8e8aa952013-04-04 12:54:19 +000097obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
98obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
Viresh Kumarab423e42013-04-04 12:54:20 +000099obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
Viresh Kumar7a998932013-04-04 12:54:21 +0000100obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
Kelvin Cheunga0a22cf2014-10-17 18:23:31 +0800101obj-$(CONFIG_LOONGSON1_CPUFREQ) += ls1x-cpufreq.o
Viresh Kumar72582672013-04-04 12:54:22 +0000102obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
Viresh Kumar764295a2013-04-04 12:54:24 +0000103obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
104obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
Viresh Kumar73cc9c82013-04-04 12:54:23 +0000105obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o