xref: /openbmc/linux/drivers/cpufreq/Makefile (revision 089a49b6)
1# CPUfreq core
2obj-$(CONFIG_CPU_FREQ)			+= cpufreq.o
3# CPUfreq stats
4obj-$(CONFIG_CPU_FREQ_STAT)             += cpufreq_stats.o
5
6# CPUfreq governors
7obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE)	+= cpufreq_performance.o
8obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE)	+= cpufreq_powersave.o
9obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE)	+= cpufreq_userspace.o
10obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND)	+= cpufreq_ondemand.o
11obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE)	+= cpufreq_conservative.o
12obj-$(CONFIG_CPU_FREQ_GOV_COMMON)		+= cpufreq_governor.o
13
14# CPUfreq cross-arch helpers
15obj-$(CONFIG_CPU_FREQ_TABLE)		+= freq_table.o
16
17obj-$(CONFIG_GENERIC_CPUFREQ_CPU0)	+= cpufreq-cpu0.o
18
19##################################################################################
20# x86 drivers.
21# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
22# 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.
24# speedstep-* is preferred over p4-clockmod.
25
26obj-$(CONFIG_X86_ACPI_CPUFREQ)		+= acpi-cpufreq.o
27obj-$(CONFIG_X86_POWERNOW_K8)		+= powernow-k8.o
28obj-$(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
43obj-$(CONFIG_X86_INTEL_PSTATE)		+= intel_pstate.o
44obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY)	+= amd_freq_sensitivity.o
45
46##################################################################################
47# ARM SoC drivers
48obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ)	+= arm_big_little.o
49# big LITTLE per platform glues. Keep DT_BL_CPUFREQ as the last entry in all big
50# LITTLE drivers, so that it is probed last.
51obj-$(CONFIG_ARM_DT_BL_CPUFREQ)		+= arm_big_little_dt.o
52
53obj-$(CONFIG_ARCH_DAVINCI_DA850)	+= davinci-cpufreq.o
54obj-$(CONFIG_UX500_SOC_DB8500)		+= dbx500-cpufreq.o
55obj-$(CONFIG_ARM_EXYNOS_CPUFREQ)	+= exynos-cpufreq.o
56obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ)	+= exynos4210-cpufreq.o
57obj-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ)	+= exynos4x12-cpufreq.o
58obj-$(CONFIG_ARM_EXYNOS5250_CPUFREQ)	+= exynos5250-cpufreq.o
59obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ)	+= exynos5440-cpufreq.o
60obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ)	+= highbank-cpufreq.o
61obj-$(CONFIG_ARM_IMX6Q_CPUFREQ)		+= imx6q-cpufreq.o
62obj-$(CONFIG_ARM_INTEGRATOR)		+= integrator-cpufreq.o
63obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ)	+= kirkwood-cpufreq.o
64obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ)	+= omap-cpufreq.o
65obj-$(CONFIG_PXA25x)			+= pxa2xx-cpufreq.o
66obj-$(CONFIG_PXA27x)			+= pxa2xx-cpufreq.o
67obj-$(CONFIG_PXA3xx)			+= pxa3xx-cpufreq.o
68obj-$(CONFIG_ARM_S3C24XX_CPUFREQ)	+= s3c24xx-cpufreq.o
69obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
70obj-$(CONFIG_ARM_S3C2410_CPUFREQ)	+= s3c2410-cpufreq.o
71obj-$(CONFIG_ARM_S3C2412_CPUFREQ)	+= s3c2412-cpufreq.o
72obj-$(CONFIG_ARM_S3C2416_CPUFREQ)	+= s3c2416-cpufreq.o
73obj-$(CONFIG_ARM_S3C2440_CPUFREQ)	+= s3c2440-cpufreq.o
74obj-$(CONFIG_ARM_S3C64XX_CPUFREQ)	+= s3c64xx-cpufreq.o
75obj-$(CONFIG_ARM_S5PV210_CPUFREQ)	+= s5pv210-cpufreq.o
76obj-$(CONFIG_ARM_SA1100_CPUFREQ)	+= sa1100-cpufreq.o
77obj-$(CONFIG_ARM_SA1110_CPUFREQ)	+= sa1110-cpufreq.o
78obj-$(CONFIG_ARM_SPEAR_CPUFREQ)		+= spear-cpufreq.o
79obj-$(CONFIG_ARM_TEGRA_CPUFREQ)		+= tegra-cpufreq.o
80
81##################################################################################
82# PowerPC platform drivers
83obj-$(CONFIG_CPU_FREQ_CBE)		+= ppc-cbe-cpufreq.o
84ppc-cbe-cpufreq-y			+= ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
85obj-$(CONFIG_CPU_FREQ_CBE_PMI)		+= ppc_cbe_cpufreq_pmi.o
86obj-$(CONFIG_CPU_FREQ_MAPLE)		+= maple-cpufreq.o
87obj-$(CONFIG_PPC_CORENET_CPUFREQ)   += ppc-corenet-cpufreq.o
88obj-$(CONFIG_CPU_FREQ_PMAC)		+= pmac32-cpufreq.o
89obj-$(CONFIG_CPU_FREQ_PMAC64)		+= pmac64-cpufreq.o
90obj-$(CONFIG_PPC_PASEMI_CPUFREQ)	+= pasemi-cpufreq.o
91
92##################################################################################
93# Other platform drivers
94obj-$(CONFIG_AVR32_AT32AP_CPUFREQ)	+= at32ap-cpufreq.o
95obj-$(CONFIG_BFIN_CPU_FREQ)		+= blackfin-cpufreq.o
96obj-$(CONFIG_CRIS_MACH_ARTPEC3)		+= cris-artpec3-cpufreq.o
97obj-$(CONFIG_ETRAXFS)			+= cris-etraxfs-cpufreq.o
98obj-$(CONFIG_IA64_ACPI_CPUFREQ)		+= ia64-acpi-cpufreq.o
99obj-$(CONFIG_LOONGSON2_CPUFREQ)		+= loongson2_cpufreq.o
100obj-$(CONFIG_SH_CPU_FREQ)		+= sh-cpufreq.o
101obj-$(CONFIG_SPARC_US2E_CPUFREQ)	+= sparc-us2e-cpufreq.o
102obj-$(CONFIG_SPARC_US3_CPUFREQ)		+= sparc-us3-cpufreq.o
103obj-$(CONFIG_UNICORE32)			+= unicore2-cpufreq.o
104