blob: 0a9b6a093646bd1dd60ee092e362b24527f0ef1e [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 -05003
Linus Torvalds1da177e2005-04-16 15:20:36 -07004# CPUfreq stats
5obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o
6
7# CPUfreq governors
8obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o
9obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
10obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o
Larry Finger1e15f292012-12-29 01:55:20 +000011obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o
12obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o
13obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o
Rafael J. Wysocki2d0c58a2016-03-22 02:49:15 +010014obj-$(CONFIG_CPU_FREQ_GOV_ATTR_SET) += cpufreq_governor_attr_set.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Viresh Kumarbbcf0712014-09-09 19:58:03 +053016obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
Viresh Kumarf56aad12016-03-30 13:45:26 +053017obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
Shawn Guo95ceafd2012-09-06 07:09:11 +000018
Dave Jones069283c2011-06-06 21:10:04 -040019##################################################################################
Dave Jonesbb0a56e2011-05-19 18:51:07 -040020# x86 drivers.
21# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
Borislav Petkov741220e2013-01-20 10:24:27 +000022# K8 systems. This is still the case but acpi-cpufreq errors out so that
23# powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers.
Dave Jonesbb0a56e2011-05-19 18:51:07 -040024# speedstep-* is preferred over p4-clockmod.
25
Stratos Karafotis61c63e52013-06-05 19:01:42 +030026obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
Borislav Petkov741220e2013-01-20 10:24:27 +000027obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040028obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
29obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
30obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
31obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
32obj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o
33obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
34obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o
35obj-$(CONFIG_X86_LONGRUN) += longrun.o
36obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
37obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o
38obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
39obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o
40obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
41obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
42obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
Dirk Brandewie93f08222013-02-06 09:02:13 -080043obj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o
Jacob Shin9c5320c2013-04-04 16:19:04 +000044obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o
Srinidhi Kasagare7ddf4b2014-12-19 23:13:51 +053045obj-$(CONFIG_X86_SFI_CPUFREQ) += sfi-cpufreq.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040046
Dave Jones069283c2011-06-06 21:10:04 -040047##################################################################################
Linus Walleijf0e733f2011-05-15 19:34:29 +020048# ARM SoC drivers
Viresh Kumar8a67f0e2013-04-01 12:57:49 +000049obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ) += arm_big_little.o
50# big LITTLE per platform glues. Keep DT_BL_CPUFREQ as the last entry in all big
51# LITTLE drivers, so that it is probed last.
52obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o
53
Prabhakar Lad5a90af62014-07-08 16:25:38 +010054obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o
Lee Jonesedb10c12012-12-10 16:25:38 +010055obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o
Amit Daniel Kachhap49d7b5b2013-04-08 09:57:34 +000056obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o
Mark Langsdorf6754f552013-01-28 16:13:15 +000057obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o
Shawn Guo1dd538f2013-02-04 05:46:29 +000058obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o
Viresh Kumarb7e614c2013-04-04 12:54:14 +000059obj-$(CONFIG_ARM_INTEGRATOR) += integrator-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000060obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
Pi-Cheng Chen14538632015-08-19 10:05:06 +080061obj-$(CONFIG_ARM_MT8173_CPUFREQ) += mt8173-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000062obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o
Petr Cvek608eab22014-11-24 04:59:26 +010063obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o
Viresh Kumaradde9042013-04-04 12:54:12 +000064obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
Viresh Kumarf023f8d2013-04-04 12:54:15 +000065obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += s3c24xx-cpufreq.o
66obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
67obj-$(CONFIG_ARM_S3C2410_CPUFREQ) += s3c2410-cpufreq.o
68obj-$(CONFIG_ARM_S3C2412_CPUFREQ) += s3c2412-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000069obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o
Viresh Kumarf023f8d2013-04-04 12:54:15 +000070obj-$(CONFIG_ARM_S3C2440_CPUFREQ) += s3c2440-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000071obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
72obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
Viresh Kumar59a2e612013-04-04 12:54:16 +000073obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
74obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o
Sudeep Holla8def3102015-03-30 10:59:52 +010075obj-$(CONFIG_ARM_SCPI_CPUFREQ) += scpi-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000076obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
Lee Jonesab0ea252015-12-10 09:42:16 +000077obj-$(CONFIG_ARM_STI_CPUFREQ) += sti-cpufreq.o
Tuomas Tynkkynen109e13e2015-05-13 17:58:47 +030078obj-$(CONFIG_ARM_TEGRA20_CPUFREQ) += tegra20-cpufreq.o
Tuomas Tynkkynen9eb15db2015-05-13 17:58:48 +030079obj-$(CONFIG_ARM_TEGRA124_CPUFREQ) += tegra124-cpufreq.o
Sudeep KarkadaNagesha47ac9aa2013-10-29 12:18:39 +000080obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
Ashwin Chaugule5477fb32015-10-02 10:04:01 -040081obj-$(CONFIG_ACPI_CPPC_CPUFREQ) += cppc_cpufreq.o
Viresh Kumar9f123de2016-04-27 08:52:27 +053082obj-$(CONFIG_MACH_MVEBU_V7) += mvebu-cpufreq.o
Ashwin Chaugule5477fb32015-10-02 10:04:01 -040083
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000084
Linus Torvalds18447502011-07-25 22:59:39 -070085##################################################################################
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000086# PowerPC platform drivers
Viresh Kumar6eb1c372013-03-25 11:20:23 +053087obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o
88ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
89obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000090obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
Tang Yuantian2f249352015-03-13 12:39:02 +080091obj-$(CONFIG_QORIQ_CPUFREQ) += qoriq-cpufreq.o
Viresh Kumar7fb6a532013-04-04 18:24:25 +053092obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o
93obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o
94obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o
Vaidyanathan Srinivasanb3d627a2014-04-01 12:43:26 +053095obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o
Viresh Kumar81c720c2013-04-04 12:54:17 +000096
97##################################################################################
98# Other platform drivers
99obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
Viresh Kumar96070b12013-06-12 11:32:00 +0530100obj-$(CONFIG_BFIN_CPU_FREQ) += blackfin-cpufreq.o
Viresh Kumar8e8aa952013-04-04 12:54:19 +0000101obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
102obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
Viresh Kumarab423e42013-04-04 12:54:20 +0000103obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
Viresh Kumar7a998932013-04-04 12:54:21 +0000104obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
Kelvin Cheung6a1d55c2016-04-12 18:40:15 +0800105obj-$(CONFIG_LOONGSON1_CPUFREQ) += loongson1-cpufreq.o
Viresh Kumar72582672013-04-04 12:54:22 +0000106obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
Viresh Kumar764295a2013-04-04 12:54:24 +0000107obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
108obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
Viresh Kumar73cc9c82013-04-04 12:54:23 +0000109obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o