blob: d762e76887e715af3f4b5792f85e422076fd9dfc [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002# CPUfreq core
Viresh Kumar3bc28ab2013-10-03 20:29:08 +05303obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
Nishanth Menona0dd7b72014-05-05 08:33:50 -05004
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
Rafael J. Wysocki2d0c58a2016-03-22 02:49:15 +010015obj-$(CONFIG_CPU_FREQ_GOV_ATTR_SET) += cpufreq_governor_attr_set.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
Viresh Kumarbbcf0712014-09-09 19:58:03 +053017obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
Viresh Kumarf56aad12016-03-30 13:45:26 +053018obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o
Shawn Guo95ceafd2012-09-06 07:09:11 +000019
Dave Jones069283c2011-06-06 21:10:04 -040020##################################################################################
Dave Jonesbb0a56e2011-05-19 18:51:07 -040021# x86 drivers.
22# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
Borislav Petkov741220e2013-01-20 10:24:27 +000023# K8 systems. This is still the case but acpi-cpufreq errors out so that
24# powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers.
Dave Jonesbb0a56e2011-05-19 18:51:07 -040025# speedstep-* is preferred over p4-clockmod.
26
Stratos Karafotis61c63e52013-06-05 19:01:42 +030027obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
Borislav Petkov741220e2013-01-20 10:24:27 +000028obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040029obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
30obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
31obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
32obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
33obj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o
34obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
35obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o
36obj-$(CONFIG_X86_LONGRUN) += longrun.o
37obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
38obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o
39obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
40obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o
41obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
42obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
43obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
Dirk Brandewie93f08222013-02-06 09:02:13 -080044obj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o
Jacob Shin9c5320c2013-04-04 16:19:04 +000045obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o
Srinidhi Kasagare7ddf4b2014-12-19 23:13:51 +053046obj-$(CONFIG_X86_SFI_CPUFREQ) += sfi-cpufreq.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040047
Dave Jones069283c2011-06-06 21:10:04 -040048##################################################################################
Linus Walleijf0e733f2011-05-15 19:34:29 +020049# ARM SoC drivers
Viresh Kumar8a67f0e2013-04-01 12:57:49 +000050obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ) += arm_big_little.o
51# big LITTLE per platform glues. Keep DT_BL_CPUFREQ as the last entry in all big
52# LITTLE drivers, so that it is probed last.
53obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o
54
Markus Mayerde322e02016-10-27 14:05:35 -070055obj-$(CONFIG_ARM_BRCMSTB_AVS_CPUFREQ) += brcmstb-avs-cpufreq.o
Gregory CLEMENT16630642017-12-13 18:05:36 +010056obj-$(CONFIG_ACPI_CPPC_CPUFREQ) += cppc_cpufreq.o
Prabhakar Lad5a90af62014-07-08 16:25:38 +010057obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o
Amit Daniel Kachhap49d7b5b2013-04-08 09:57:34 +000058obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o
Mark Langsdorf6754f552013-01-28 16:13:15 +000059obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o
Shawn Guo1dd538f2013-02-04 05:46:29 +000060obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000061obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
Sean Wang501c5742017-07-18 14:01:43 +080062obj-$(CONFIG_ARM_MEDIATEK_CPUFREQ) += mediatek-cpufreq.o
Gregory CLEMENT16630642017-12-13 18:05:36 +010063obj-$(CONFIG_MACH_MVEBU_V7) += mvebu-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000064obj-$(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_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
Gregory CLEMENT16630642017-12-13 18:05:36 +010072obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += s3c24xx-cpufreq.o
73obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000074obj-$(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
Sudeep Holla8def3102015-03-30 10:59:52 +010077obj-$(CONFIG_ARM_SCPI_CPUFREQ) += scpi-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000078obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
Lee Jonesab0ea252015-12-10 09:42:16 +000079obj-$(CONFIG_ARM_STI_CPUFREQ) += sti-cpufreq.o
Marc Gonzalez9dbd2242017-07-18 18:48:39 +020080obj-$(CONFIG_ARM_TANGO_CPUFREQ) += tango-cpufreq.o
Tuomas Tynkkynen109e13e2015-05-13 17:58:47 +030081obj-$(CONFIG_ARM_TEGRA20_CPUFREQ) += tegra20-cpufreq.o
Tuomas Tynkkynen9eb15db2015-05-13 17:58:48 +030082obj-$(CONFIG_ARM_TEGRA124_CPUFREQ) += tegra124-cpufreq.o
Mikko Perttunen939dc6f2017-04-11 11:09:15 +030083obj-$(CONFIG_ARM_TEGRA186_CPUFREQ) += tegra186-cpufreq.o
Dave Gerlache13cf042017-02-03 11:29:28 -060084obj-$(CONFIG_ARM_TI_CPUFREQ) += ti-cpufreq.o
Sudeep KarkadaNagesha47ac9aa2013-10-29 12:18:39 +000085obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
Ashwin Chaugule5477fb32015-10-02 10:04:01 -040086
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000087
Linus Torvalds18447502011-07-25 22:59:39 -070088##################################################################################
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000089# PowerPC platform drivers
Viresh Kumar6eb1c372013-03-25 11:20:23 +053090obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o
91ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
92obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000093obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
Tang Yuantian2f249352015-03-13 12:39:02 +080094obj-$(CONFIG_QORIQ_CPUFREQ) += qoriq-cpufreq.o
Viresh Kumar7fb6a53d2013-04-04 18:24:25 +053095obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o
96obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o
97obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o
Vaidyanathan Srinivasanb3d627a2014-04-01 12:43:26 +053098obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o
Viresh Kumar81c720c2013-04-04 12:54:17 +000099
100##################################################################################
101# Other platform drivers
102obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
Viresh Kumar96070b12013-06-12 11:32:00 +0530103obj-$(CONFIG_BFIN_CPU_FREQ) += blackfin-cpufreq.o
Markus Mayercdb56cb2017-02-07 13:58:55 -0800104obj-$(CONFIG_BMIPS_CPUFREQ) += bmips-cpufreq.o
Viresh Kumar8e8aa952013-04-04 12:54:19 +0000105obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
106obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
Viresh Kumarab423e42013-04-04 12:54:20 +0000107obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
Viresh Kumar7a998932013-04-04 12:54:21 +0000108obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
Kelvin Cheung6a1d55c2016-04-12 18:40:15 +0800109obj-$(CONFIG_LOONGSON1_CPUFREQ) += loongson1-cpufreq.o
Viresh Kumar72582672013-04-04 12:54:22 +0000110obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
Viresh Kumar764295a2013-04-04 12:54:24 +0000111obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
112obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
Viresh Kumar73cc9c82013-04-04 12:54:23 +0000113obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o