blob: 285de70af87749781b4c717f7247c4ce981b4899 [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
Huang Rui60e10f82021-12-24 09:05:03 +080020# Traces
21CFLAGS_amd-pstate-trace.o := -I$(src)
22amd_pstate-y := amd-pstate.o amd-pstate-trace.o
23
Dave Jones069283c2011-06-06 21:10:04 -040024##################################################################################
Dave Jonesbb0a56e2011-05-19 18:51:07 -040025# x86 drivers.
26# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
Borislav Petkov741220e2013-01-20 10:24:27 +000027# K8 systems. This is still the case but acpi-cpufreq errors out so that
28# powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers.
Dave Jonesbb0a56e2011-05-19 18:51:07 -040029# speedstep-* is preferred over p4-clockmod.
30
Stratos Karafotis61c63e52013-06-05 19:01:42 +030031obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
Huang Rui60e10f82021-12-24 09:05:03 +080032obj-$(CONFIG_X86_AMD_PSTATE) += amd_pstate.o
Borislav Petkov741220e2013-01-20 10:24:27 +000033obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040034obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
35obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
36obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
37obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
38obj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o
39obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
40obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o
41obj-$(CONFIG_X86_LONGRUN) += longrun.o
42obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
43obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o
44obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
45obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o
46obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
47obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
48obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
Dirk Brandewie93f08222013-02-06 09:02:13 -080049obj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o
Jacob Shin9c5320c2013-04-04 16:19:04 +000050obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o
Dave Jonesbb0a56e2011-05-19 18:51:07 -040051
Dave Jones069283c2011-06-06 21:10:04 -040052##################################################################################
Linus Walleijf0e733f2011-05-15 19:34:29 +020053# ARM SoC drivers
Gregory CLEMENT92ce45f2017-12-14 16:00:05 +010054obj-$(CONFIG_ARM_ARMADA_37XX_CPUFREQ) += armada-37xx-cpufreq.o
Gregory CLEMENTf525a672019-01-18 15:51:01 +010055obj-$(CONFIG_ARM_ARMADA_8K_CPUFREQ) += armada-8k-cpufreq.o
Markus Mayerde322e02016-10-27 14:05:35 -070056obj-$(CONFIG_ARM_BRCMSTB_AVS_CPUFREQ) += brcmstb-avs-cpufreq.o
Gregory CLEMENT16630642017-12-13 18:05:36 +010057obj-$(CONFIG_ACPI_CPPC_CPUFREQ) += cppc_cpufreq.o
Prabhakar Lad5a90af62014-07-08 16:25:38 +010058obj-$(CONFIG_ARCH_DAVINCI) += davinci-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
Leonard Crestez4d28ba12019-05-13 11:01:38 +000061obj-$(CONFIG_ARM_IMX_CPUFREQ_DT) += imx-cpufreq-dt.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000062obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
Sean Wang501c5742017-07-18 14:01:43 +080063obj-$(CONFIG_ARM_MEDIATEK_CPUFREQ) += mediatek-cpufreq.o
Hector.Yuan4855e262021-09-03 16:39:24 +080064obj-$(CONFIG_ARM_MEDIATEK_CPUFREQ_HW) += mediatek-cpufreq-hw.o
Gregory CLEMENT16630642017-12-13 18:05:36 +010065obj-$(CONFIG_MACH_MVEBU_V7) += mvebu-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000066obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o
Petr Cvek608eab22014-11-24 04:59:26 +010067obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o
Viresh Kumaradde9042013-04-04 12:54:12 +000068obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
Taniya Das2849dd82018-12-14 09:40:24 +053069obj-$(CONFIG_ARM_QCOM_CPUFREQ_HW) += qcom-cpufreq-hw.o
Sricharan R7d127092019-07-25 12:41:31 +020070obj-$(CONFIG_ARM_QCOM_CPUFREQ_NVMEM) += qcom-cpufreq-nvmem.o
Nicolas Saenz Julienned3df18a2019-06-12 20:24:56 +020071obj-$(CONFIG_ARM_RASPBERRYPI_CPUFREQ) += raspberrypi-cpufreq.o
Viresh Kumarf023f8d2013-04-04 12:54:15 +000072obj-$(CONFIG_ARM_S3C2410_CPUFREQ) += s3c2410-cpufreq.o
73obj-$(CONFIG_ARM_S3C2412_CPUFREQ) += s3c2412-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000074obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o
Viresh Kumarf023f8d2013-04-04 12:54:15 +000075obj-$(CONFIG_ARM_S3C2440_CPUFREQ) += s3c2440-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000076obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
Gregory CLEMENT16630642017-12-13 18:05:36 +010077obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += s3c24xx-cpufreq.o
78obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000079obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
Viresh Kumar59a2e612013-04-04 12:54:16 +000080obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
81obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o
Sudeep Holla99d6bdf2017-06-18 09:38:11 +010082obj-$(CONFIG_ARM_SCMI_CPUFREQ) += scmi-cpufreq.o
Sudeep Holla8def3102015-03-30 10:59:52 +010083obj-$(CONFIG_ARM_SCPI_CPUFREQ) += scpi-cpufreq.o
Viresh Kumara0ea0482013-04-04 12:54:09 +000084obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
Lee Jonesab0ea252015-12-10 09:42:16 +000085obj-$(CONFIG_ARM_STI_CPUFREQ) += sti-cpufreq.o
Yangtao Lif3285842019-06-12 12:28:15 -040086obj-$(CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM) += sun50i-cpufreq-nvmem.o
Tuomas Tynkkynen109e13e2015-05-13 17:58:47 +030087obj-$(CONFIG_ARM_TEGRA20_CPUFREQ) += tegra20-cpufreq.o
Tuomas Tynkkynen9eb15db2015-05-13 17:58:48 +030088obj-$(CONFIG_ARM_TEGRA124_CPUFREQ) += tegra124-cpufreq.o
Mikko Perttunen939dc6f2017-04-11 11:09:15 +030089obj-$(CONFIG_ARM_TEGRA186_CPUFREQ) += tegra186-cpufreq.o
Sumit Guptadf320f82020-07-16 14:00:01 +053090obj-$(CONFIG_ARM_TEGRA194_CPUFREQ) += tegra194-cpufreq.o
Dave Gerlache13cf042017-02-03 11:29:28 -060091obj-$(CONFIG_ARM_TI_CPUFREQ) += ti-cpufreq.o
Sudeep KarkadaNagesha47ac9aa2013-10-29 12:18:39 +000092obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
Ashwin Chaugule5477fb32015-10-02 10:04:01 -040093
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000094
Linus Torvalds18447502011-07-25 22:59:39 -070095##################################################################################
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +000096# PowerPC platform drivers
Viresh Kumar6eb1c372013-03-25 11:20:23 +053097obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o
98ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
99obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o
Dmitry Eremin-Solenikov5d8c6652011-06-29 05:07:56 +0000100obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
Tang Yuantian2f249352015-03-13 12:39:02 +0800101obj-$(CONFIG_QORIQ_CPUFREQ) += qoriq-cpufreq.o
Viresh Kumar7fb6a53d2013-04-04 18:24:25 +0530102obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o
103obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o
104obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o
Vaidyanathan Srinivasanb3d627a2014-04-01 12:43:26 +0530105obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o
Viresh Kumar81c720c2013-04-04 12:54:17 +0000106
107##################################################################################
108# Other platform drivers
Markus Mayercdb56cb2017-02-07 13:58:55 -0800109obj-$(CONFIG_BMIPS_CPUFREQ) += bmips-cpufreq.o
Viresh Kumarab423e42013-04-04 12:54:20 +0000110obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
Viresh Kumar7a998932013-04-04 12:54:21 +0000111obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
Kelvin Cheung6a1d55c2016-04-12 18:40:15 +0800112obj-$(CONFIG_LOONGSON1_CPUFREQ) += loongson1-cpufreq.o
Viresh Kumar72582672013-04-04 12:54:22 +0000113obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
Viresh Kumar764295a2013-04-04 12:54:24 +0000114obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
115obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o