1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 21da177e4SLinus Torvalds# CPUfreq core 33bc28ab6SViresh Kumarobj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o 4a0dd7b79SNishanth Menon 51da177e4SLinus Torvalds# CPUfreq stats 61da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o 71da177e4SLinus Torvalds 81da177e4SLinus Torvalds# CPUfreq governors 91da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o 101da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o 111da177e4SLinus Torvaldsobj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o 121e15f295SLarry Fingerobj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o 131e15f295SLarry Fingerobj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o 141e15f295SLarry Fingerobj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o 152d0c58adSRafael J. Wysockiobj-$(CONFIG_CPU_FREQ_GOV_ATTR_SET) += cpufreq_governor_attr_set.o 161da177e4SLinus Torvalds 17bbcf0719SViresh Kumarobj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o 18f56aad1dSViresh Kumarobj-$(CONFIG_CPUFREQ_DT_PLATDEV) += cpufreq-dt-platdev.o 194fd06a53SDavid Daiobj-$(CONFIG_CPUFREQ_VIRT) += virtual-cpufreq.o 2095ceafd4SShawn Guo 2160e10f89SHuang Rui# Traces 2260e10f89SHuang RuiCFLAGS_amd-pstate-trace.o := -I$(src) 2360e10f89SHuang Ruiamd_pstate-y := amd-pstate.o amd-pstate-trace.o 2460e10f89SHuang Rui 25069283c3SDave Jones################################################################################## 26bb0a56ecSDave Jones# x86 drivers. 27bb0a56ecSDave Jones# Link order matters. K8 is preferred to ACPI because of firmware bugs in early 28741220eaSBorislav Petkov# K8 systems. This is still the case but acpi-cpufreq errors out so that 29741220eaSBorislav Petkov# powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers. 30bb0a56ecSDave Jones# speedstep-* is preferred over p4-clockmod. 31bb0a56ecSDave Jones 3261c63e5eSStratos Karafotisobj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o 3360e10f89SHuang Ruiobj-$(CONFIG_X86_AMD_PSTATE) += amd_pstate.o 3414eb1c96SMeng Liobj-$(CONFIG_X86_AMD_PSTATE_UT) += amd-pstate-ut.o 35741220eaSBorislav Petkovobj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o 36bb0a56ecSDave Jonesobj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o 37bb0a56ecSDave Jonesobj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o 38bb0a56ecSDave Jonesobj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o 39bb0a56ecSDave Jonesobj-$(CONFIG_X86_LONGHAUL) += longhaul.o 40bb0a56ecSDave Jonesobj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o 41bb0a56ecSDave Jonesobj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o 42bb0a56ecSDave Jonesobj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o 43bb0a56ecSDave Jonesobj-$(CONFIG_X86_LONGRUN) += longrun.o 44bb0a56ecSDave Jonesobj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o 45bb0a56ecSDave Jonesobj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o 46bb0a56ecSDave Jonesobj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o 47bb0a56ecSDave Jonesobj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o 48bb0a56ecSDave Jonesobj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o 49bb0a56ecSDave Jonesobj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o 50bb0a56ecSDave Jonesobj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o 5193f0822dSDirk Brandewieobj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o 529c5320c8SJacob Shinobj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o 53bb0a56ecSDave Jones 54069283c3SDave Jones################################################################################## 55f0e733f3SLinus Walleij# ARM SoC drivers 56*84cf9e54SChristian Marangiobj-$(CONFIG_ARM_AIROHA_SOC_CPUFREQ) += airoha-cpufreq.o 576286bbb4SHector Martinobj-$(CONFIG_ARM_APPLE_SOC_CPUFREQ) += apple-soc-cpufreq.o 5892ce45fbSGregory CLEMENTobj-$(CONFIG_ARM_ARMADA_37XX_CPUFREQ) += armada-37xx-cpufreq.o 59f525a670SGregory CLEMENTobj-$(CONFIG_ARM_ARMADA_8K_CPUFREQ) += armada-8k-cpufreq.o 60de322e08SMarkus Mayerobj-$(CONFIG_ARM_BRCMSTB_AVS_CPUFREQ) += brcmstb-avs-cpufreq.o 6116630642SGregory CLEMENTobj-$(CONFIG_ACPI_CPPC_CPUFREQ) += cppc_cpufreq.o 625a90af67SPrabhakar Ladobj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o 636754f556SMark Langsdorfobj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o 641dd538f0SShawn Guoobj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o 654d28ba1dSLeonard Crestezobj-$(CONFIG_ARM_IMX_CPUFREQ_DT) += imx-cpufreq-dt.o 66a0ea048aSViresh Kumarobj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o 67501c574fSSean Wangobj-$(CONFIG_ARM_MEDIATEK_CPUFREQ) += mediatek-cpufreq.o 684855e26bSHector.Yuanobj-$(CONFIG_ARM_MEDIATEK_CPUFREQ_HW) += mediatek-cpufreq-hw.o 6916630642SGregory CLEMENTobj-$(CONFIG_MACH_MVEBU_V7) += mvebu-cpufreq.o 70a0ea048aSViresh Kumarobj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o 71608eab22SPetr Cvekobj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o 72adde904bSViresh Kumarobj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o 732849dd8bSTaniya Dasobj-$(CONFIG_ARM_QCOM_CPUFREQ_HW) += qcom-cpufreq-hw.o 747d127095SSricharan Robj-$(CONFIG_ARM_QCOM_CPUFREQ_NVMEM) += qcom-cpufreq-nvmem.o 75d3df18a9SNicolas Saenz Julienneobj-$(CONFIG_ARM_RASPBERRYPI_CPUFREQ) += raspberrypi-cpufreq.o 76a0ea048aSViresh Kumarobj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o 77a0ea048aSViresh Kumarobj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o 7859a2e613SViresh Kumarobj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o 7999d6bdf3SSudeep Hollaobj-$(CONFIG_ARM_SCMI_CPUFREQ) += scmi-cpufreq.o 808def3103SSudeep Hollaobj-$(CONFIG_ARM_SCPI_CPUFREQ) += scpi-cpufreq.o 81a0ea048aSViresh Kumarobj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o 82ab0ea257SLee Jonesobj-$(CONFIG_ARM_STI_CPUFREQ) += sti-cpufreq.o 83f328584fSYangtao Liobj-$(CONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM) += sun50i-cpufreq-nvmem.o 84109e13eaSTuomas Tynkkynenobj-$(CONFIG_ARM_TEGRA20_CPUFREQ) += tegra20-cpufreq.o 859eb15dbbSTuomas Tynkkynenobj-$(CONFIG_ARM_TEGRA124_CPUFREQ) += tegra124-cpufreq.o 86939dc6f5SMikko Perttunenobj-$(CONFIG_ARM_TEGRA186_CPUFREQ) += tegra186-cpufreq.o 87df320f89SSumit Guptaobj-$(CONFIG_ARM_TEGRA194_CPUFREQ) += tegra194-cpufreq.o 88e13cf046SDave Gerlachobj-$(CONFIG_ARM_TI_CPUFREQ) += ti-cpufreq.o 8947ac9aa1SSudeep KarkadaNageshaobj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o 905477fb3bSAshwin Chaugule 915d8c6658SDmitry Eremin-Solenikov 9218447502SLinus Torvalds################################################################################## 935d8c6658SDmitry Eremin-Solenikov# PowerPC platform drivers 946eb1c377SViresh Kumarobj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o 956eb1c377SViresh Kumarppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o 966eb1c377SViresh Kumarobj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o 972f249358STang Yuantianobj-$(CONFIG_QORIQ_CPUFREQ) += qoriq-cpufreq.o 987fb6a53dSViresh Kumarobj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o 997fb6a53dSViresh Kumarobj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o 1007fb6a53dSViresh Kumarobj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o 101b3d627a5SVaidyanathan Srinivasanobj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o 10281c720c9SViresh Kumar 10381c720c9SViresh Kumar################################################################################## 10481c720c9SViresh Kumar# Other platform drivers 105cdb56cbfSMarkus Mayerobj-$(CONFIG_BMIPS_CPUFREQ) += bmips-cpufreq.o 1067a998935SViresh Kumarobj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o 107ccf51454SHuacai Chenobj-$(CONFIG_LOONGSON3_CPUFREQ) += loongson3_cpufreq.o 1087258267eSViresh Kumarobj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o 109764295aeSViresh Kumarobj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o 110764295aeSViresh Kumarobj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o 111