Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # CPUfreq core |
Viresh Kumar | 3bc28ab | 2013-10-03 20:29:08 +0530 | [diff] [blame] | 3 | obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o |
Nishanth Menon | a0dd7b7 | 2014-05-05 08:33:50 -0500 | [diff] [blame] | 4 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | # CPUfreq stats |
| 6 | obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o |
| 7 | |
| 8 | # CPUfreq governors |
| 9 | obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o |
| 10 | obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o |
| 11 | obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o |
Larry Finger | 1e15f29 | 2012-12-29 01:55:20 +0000 | [diff] [blame] | 12 | obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o |
| 13 | obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o |
| 14 | obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o |
Rafael J. Wysocki | 2d0c58a | 2016-03-22 02:49:15 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_CPU_FREQ_GOV_ATTR_SET) += cpufreq_governor_attr_set.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
Viresh Kumar | bbcf071 | 2014-09-09 19:58:03 +0530 | [diff] [blame] | 17 | obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o |
Viresh Kumar | f56aad1 | 2016-03-30 13:45:26 +0530 | [diff] [blame] | 18 | obj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o |
Shawn Guo | 95ceafd | 2012-09-06 07:09:11 +0000 | [diff] [blame] | 19 | |
Huang Rui | 60e10f8 | 2021-12-24 09:05:03 +0800 | [diff] [blame] | 20 | # Traces |
| 21 | CFLAGS_amd-pstate-trace.o := -I$(src) |
| 22 | amd_pstate-y := amd-pstate.o amd-pstate-trace.o |
| 23 | |
Dave Jones | 069283c | 2011-06-06 21:10:04 -0400 | [diff] [blame] | 24 | ################################################################################## |
Dave Jones | bb0a56e | 2011-05-19 18:51:07 -0400 | [diff] [blame] | 25 | # x86 drivers. |
| 26 | # Link order matters. K8 is preferred to ACPI because of firmware bugs in early |
Borislav Petkov | 741220e | 2013-01-20 10:24:27 +0000 | [diff] [blame] | 27 | # 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 Jones | bb0a56e | 2011-05-19 18:51:07 -0400 | [diff] [blame] | 29 | # speedstep-* is preferred over p4-clockmod. |
| 30 | |
Stratos Karafotis | 61c63e5 | 2013-06-05 19:01:42 +0300 | [diff] [blame] | 31 | obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o |
Huang Rui | 60e10f8 | 2021-12-24 09:05:03 +0800 | [diff] [blame] | 32 | obj-$(CONFIG_X86_AMD_PSTATE) += amd_pstate.o |
Borislav Petkov | 741220e | 2013-01-20 10:24:27 +0000 | [diff] [blame] | 33 | obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o |
Dave Jones | bb0a56e | 2011-05-19 18:51:07 -0400 | [diff] [blame] | 34 | obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o |
| 35 | obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o |
| 36 | obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o |
| 37 | obj-$(CONFIG_X86_LONGHAUL) += longhaul.o |
| 38 | obj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o |
| 39 | obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o |
| 40 | obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o |
| 41 | obj-$(CONFIG_X86_LONGRUN) += longrun.o |
| 42 | obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o |
| 43 | obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o |
| 44 | obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o |
| 45 | obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o |
| 46 | obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o |
| 47 | obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o |
| 48 | obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o |
Dirk Brandewie | 93f0822 | 2013-02-06 09:02:13 -0800 | [diff] [blame] | 49 | obj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o |
Jacob Shin | 9c5320c | 2013-04-04 16:19:04 +0000 | [diff] [blame] | 50 | obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o |
Dave Jones | bb0a56e | 2011-05-19 18:51:07 -0400 | [diff] [blame] | 51 | |
Dave Jones | 069283c | 2011-06-06 21:10:04 -0400 | [diff] [blame] | 52 | ################################################################################## |
Linus Walleij | f0e733f | 2011-05-15 19:34:29 +0200 | [diff] [blame] | 53 | # ARM SoC drivers |
Gregory CLEMENT | 92ce45f | 2017-12-14 16:00:05 +0100 | [diff] [blame] | 54 | obj-$(CONFIG_ARM_ARMADA_37XX_CPUFREQ) += armada-37xx-cpufreq.o |
Gregory CLEMENT | f525a67 | 2019-01-18 15:51:01 +0100 | [diff] [blame] | 55 | obj-$(CONFIG_ARM_ARMADA_8K_CPUFREQ) += armada-8k-cpufreq.o |
Markus Mayer | de322e0 | 2016-10-27 14:05:35 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_ARM_BRCMSTB_AVS_CPUFREQ) += brcmstb-avs-cpufreq.o |
Gregory CLEMENT | 1663064 | 2017-12-13 18:05:36 +0100 | [diff] [blame] | 57 | obj-$(CONFIG_ACPI_CPPC_CPUFREQ) += cppc_cpufreq.o |
Prabhakar Lad | 5a90af6 | 2014-07-08 16:25:38 +0100 | [diff] [blame] | 58 | obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o |
Mark Langsdorf | 6754f55 | 2013-01-28 16:13:15 +0000 | [diff] [blame] | 59 | obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o |
Shawn Guo | 1dd538f | 2013-02-04 05:46:29 +0000 | [diff] [blame] | 60 | obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o |
Leonard Crestez | 4d28ba1 | 2019-05-13 11:01:38 +0000 | [diff] [blame] | 61 | obj-$(CONFIG_ARM_IMX_CPUFREQ_DT) += imx-cpufreq-dt.o |
Viresh Kumar | a0ea048 | 2013-04-04 12:54:09 +0000 | [diff] [blame] | 62 | obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o |
Sean Wang | 501c574 | 2017-07-18 14:01:43 +0800 | [diff] [blame] | 63 | obj-$(CONFIG_ARM_MEDIATEK_CPUFREQ) += mediatek-cpufreq.o |
Hector.Yuan | 4855e26 | 2021-09-03 16:39:24 +0800 | [diff] [blame] | 64 | obj-$(CONFIG_ARM_MEDIATEK_CPUFREQ_HW) += mediatek-cpufreq-hw.o |
Gregory CLEMENT | 1663064 | 2017-12-13 18:05:36 +0100 | [diff] [blame] | 65 | obj-$(CONFIG_MACH_MVEBU_V7) += mvebu-cpufreq.o |
Viresh Kumar | a0ea048 | 2013-04-04 12:54:09 +0000 | [diff] [blame] | 66 | obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o |
Petr Cvek | 608eab2 | 2014-11-24 04:59:26 +0100 | [diff] [blame] | 67 | obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o |
Viresh Kumar | adde904 | 2013-04-04 12:54:12 +0000 | [diff] [blame] | 68 | obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o |
Taniya Das | 2849dd8 | 2018-12-14 09:40:24 +0530 | [diff] [blame] | 69 | obj-$(CONFIG_ARM_QCOM_CPUFREQ_HW) += qcom-cpufreq-hw.o |
Sricharan R | 7d12709 | 2019-07-25 12:41:31 +0200 | [diff] [blame] | 70 | obj-$(CONFIG_ARM_QCOM_CPUFREQ_NVMEM) += qcom-cpufreq-nvmem.o |
Nicolas Saenz Julienne | d3df18a | 2019-06-12 20:24:56 +0200 | [diff] [blame] | 71 | obj-$(CONFIG_ARM_RASPBERRYPI_CPUFREQ) += raspberrypi-cpufreq.o |
Viresh Kumar | f023f8d | 2013-04-04 12:54:15 +0000 | [diff] [blame] | 72 | obj-$(CONFIG_ARM_S3C2410_CPUFREQ) += s3c2410-cpufreq.o |
| 73 | obj-$(CONFIG_ARM_S3C2412_CPUFREQ) += s3c2412-cpufreq.o |
Viresh Kumar | a0ea048 | 2013-04-04 12:54:09 +0000 | [diff] [blame] | 74 | obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o |
Viresh Kumar | f023f8d | 2013-04-04 12:54:15 +0000 | [diff] [blame] | 75 | obj-$(CONFIG_ARM_S3C2440_CPUFREQ) += s3c2440-cpufreq.o |
Viresh Kumar | a0ea048 | 2013-04-04 12:54:09 +0000 | [diff] [blame] | 76 | obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o |
Gregory CLEMENT | 1663064 | 2017-12-13 18:05:36 +0100 | [diff] [blame] | 77 | obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += s3c24xx-cpufreq.o |
| 78 | obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o |
Viresh Kumar | a0ea048 | 2013-04-04 12:54:09 +0000 | [diff] [blame] | 79 | obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o |
Viresh Kumar | 59a2e61 | 2013-04-04 12:54:16 +0000 | [diff] [blame] | 80 | obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o |
| 81 | obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o |
Sudeep Holla | 99d6bdf | 2017-06-18 09:38:11 +0100 | [diff] [blame] | 82 | obj-$(CONFIG_ARM_SCMI_CPUFREQ) += scmi-cpufreq.o |
Sudeep Holla | 8def310 | 2015-03-30 10:59:52 +0100 | [diff] [blame] | 83 | obj-$(CONFIG_ARM_SCPI_CPUFREQ) += scpi-cpufreq.o |
Viresh Kumar | a0ea048 | 2013-04-04 12:54:09 +0000 | [diff] [blame] | 84 | obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o |
Lee Jones | ab0ea25 | 2015-12-10 09:42:16 +0000 | [diff] [blame] | 85 | obj-$(CONFIG_ARM_STI_CPUFREQ) += sti-cpufreq.o |
Yangtao Li | f328584 | 2019-06-12 12:28:15 -0400 | [diff] [blame] | 86 | obj-$(CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM) += sun50i-cpufreq-nvmem.o |
Tuomas Tynkkynen | 109e13e | 2015-05-13 17:58:47 +0300 | [diff] [blame] | 87 | obj-$(CONFIG_ARM_TEGRA20_CPUFREQ) += tegra20-cpufreq.o |
Tuomas Tynkkynen | 9eb15db | 2015-05-13 17:58:48 +0300 | [diff] [blame] | 88 | obj-$(CONFIG_ARM_TEGRA124_CPUFREQ) += tegra124-cpufreq.o |
Mikko Perttunen | 939dc6f | 2017-04-11 11:09:15 +0300 | [diff] [blame] | 89 | obj-$(CONFIG_ARM_TEGRA186_CPUFREQ) += tegra186-cpufreq.o |
Sumit Gupta | df320f8 | 2020-07-16 14:00:01 +0530 | [diff] [blame] | 90 | obj-$(CONFIG_ARM_TEGRA194_CPUFREQ) += tegra194-cpufreq.o |
Dave Gerlach | e13cf04 | 2017-02-03 11:29:28 -0600 | [diff] [blame] | 91 | obj-$(CONFIG_ARM_TI_CPUFREQ) += ti-cpufreq.o |
Sudeep KarkadaNagesha | 47ac9aa | 2013-10-29 12:18:39 +0000 | [diff] [blame] | 92 | obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o |
Ashwin Chaugule | 5477fb3 | 2015-10-02 10:04:01 -0400 | [diff] [blame] | 93 | |
Dmitry Eremin-Solenikov | 5d8c665 | 2011-06-29 05:07:56 +0000 | [diff] [blame] | 94 | |
Linus Torvalds | 1844750 | 2011-07-25 22:59:39 -0700 | [diff] [blame] | 95 | ################################################################################## |
Dmitry Eremin-Solenikov | 5d8c665 | 2011-06-29 05:07:56 +0000 | [diff] [blame] | 96 | # PowerPC platform drivers |
Viresh Kumar | 6eb1c37 | 2013-03-25 11:20:23 +0530 | [diff] [blame] | 97 | obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o |
| 98 | ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o |
| 99 | obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o |
Dmitry Eremin-Solenikov | 5d8c665 | 2011-06-29 05:07:56 +0000 | [diff] [blame] | 100 | obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o |
Tang Yuantian | 2f24935 | 2015-03-13 12:39:02 +0800 | [diff] [blame] | 101 | obj-$(CONFIG_QORIQ_CPUFREQ) += qoriq-cpufreq.o |
Viresh Kumar | 7fb6a53d | 2013-04-04 18:24:25 +0530 | [diff] [blame] | 102 | obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o |
| 103 | obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o |
| 104 | obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o |
Vaidyanathan Srinivasan | b3d627a | 2014-04-01 12:43:26 +0530 | [diff] [blame] | 105 | obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o |
Viresh Kumar | 81c720c | 2013-04-04 12:54:17 +0000 | [diff] [blame] | 106 | |
| 107 | ################################################################################## |
| 108 | # Other platform drivers |
Markus Mayer | cdb56cb | 2017-02-07 13:58:55 -0800 | [diff] [blame] | 109 | obj-$(CONFIG_BMIPS_CPUFREQ) += bmips-cpufreq.o |
Viresh Kumar | ab423e4 | 2013-04-04 12:54:20 +0000 | [diff] [blame] | 110 | obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o |
Viresh Kumar | 7a99893 | 2013-04-04 12:54:21 +0000 | [diff] [blame] | 111 | obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o |
Kelvin Cheung | 6a1d55c | 2016-04-12 18:40:15 +0800 | [diff] [blame] | 112 | obj-$(CONFIG_LOONGSON1_CPUFREQ) += loongson1-cpufreq.o |
Viresh Kumar | 7258267 | 2013-04-04 12:54:22 +0000 | [diff] [blame] | 113 | obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o |
Viresh Kumar | 764295a | 2013-04-04 12:54:24 +0000 | [diff] [blame] | 114 | obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o |
| 115 | obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o |