blob: 82a1821471fd870a9eba9323d63c4b925c06a97c [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
Srinidhi Kasagare7ddf4b2014-12-19 23:13:51 +053044obj-$(CONFIG_X86_SFI_CPUFREQ) += sfi-cpufreq.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040045
Dave Jones069283c2011-06-06 21:10:04 -040046##################################################################################
Linus Walleijf0e733f2011-05-15 19:34:29 +020047# ARM SoC drivers
Viresh Kumar8a67f0e2013-04-01 12:57:49 +000048obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ) += arm_big_little.o
49# big LITTLE per platform glues. Keep DT_BL_CPUFREQ as the last entry in all big
50# LITTLE drivers, so that it is probed last.
51obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o
52
Prabhakar Lad5a90af62014-07-08 16:25:38 +010053obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o
Lee Jonesedb10c12012-12-10 16:25:38 +010054obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o
Arnd Bergmann8b2b4a42015-01-31 14:35:18 -040055obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += arm-exynos-cpufreq.o
56arm-exynos-cpufreq-y := exynos-cpufreq.o
57arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS4210_CPUFREQ) += exynos4210-cpufreq.o
58arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ) += exynos4x12-cpufreq.o
59arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS5250_CPUFREQ) += exynos5250-cpufreq.o
Amit Daniel Kachhap49d7b5b2013-04-08 09:57:34 +000060obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o
Mark Langsdorf6754f552013-01-28 16:13:15 +000061obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o
Shawn Guo1dd538f2013-02-04 05:46:29 +000062obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o
Viresh Kumarb7e614c2013-04-04 12:54:14 +000063obj-$(CONFIG_ARM_INTEGRATOR) += integrator-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000064obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
65obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o
Petr Cvek608eab22014-11-24 04:59:26 +010066obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o
Viresh Kumaradde9042013-04-04 12:54:12 +000067obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
Viresh Kumarf023f8d2013-04-04 12:54:15 +000068obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += s3c24xx-cpufreq.o
69obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
70obj-$(CONFIG_ARM_S3C2410_CPUFREQ) += s3c2410-cpufreq.o
71obj-$(CONFIG_ARM_S3C2412_CPUFREQ) += s3c2412-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000072obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o
Viresh Kumarf023f8d2013-04-04 12:54:15 +000073obj-$(CONFIG_ARM_S3C2440_CPUFREQ) += s3c2440-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000074obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
75obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
Viresh Kumar59a2e612013-04-04 12:54:16 +000076obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
77obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000078obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
Viresh Kumardbb8d762013-06-12 12:05:48 +053079obj-$(CONFIG_ARM_TEGRA_CPUFREQ) += tegra-cpufreq.o
Sudeep KarkadaNagesha47ac9aa2013-10-29 12:18:39 +000080obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000081
Linus Torvalds18447502011-07-25 22:59:39 -070082##################################################################################
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000083# PowerPC platform drivers
Viresh Kumar6eb1c372013-03-25 11:20:23 +053084obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o
85ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
86obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000087obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
Tang Yuantiandefa4c72013-06-05 09:30:48 +000088obj-$(CONFIG_PPC_CORENET_CPUFREQ) += ppc-corenet-cpufreq.o
Viresh Kumar7fb6a532013-04-04 18:24:25 +053089obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o
90obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o
91obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o
Vaidyanathan Srinivasanb3d627a2014-04-01 12:43:26 +053092obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o
Viresh Kumar81c720c2013-04-04 12:54:17 +000093
94##################################################################################
95# Other platform drivers
96obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
Viresh Kumar96070b12013-06-12 11:32:00 +053097obj-$(CONFIG_BFIN_CPU_FREQ) += blackfin-cpufreq.o
Viresh Kumar8e8aa952013-04-04 12:54:19 +000098obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
99obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
Viresh Kumarab423e42013-04-04 12:54:20 +0000100obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
Viresh Kumar7a998932013-04-04 12:54:21 +0000101obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
Kelvin Cheunga0a22cf2014-10-17 18:23:31 +0800102obj-$(CONFIG_LOONGSON1_CPUFREQ) += ls1x-cpufreq.o
Viresh Kumar72582672013-04-04 12:54:22 +0000103obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
Viresh Kumar764295a2013-04-04 12:54:24 +0000104obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
105obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
Viresh Kumar73cc9c82013-04-04 12:54:23 +0000106obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o