xref: /openbmc/linux/drivers/cpufreq/Makefile (revision 2223cbec)
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
12
13# CPUfreq cross-arch helpers
14obj-$(CONFIG_CPU_FREQ_TABLE)		+= freq_table.o
15
16obj-$(CONFIG_GENERIC_CPUFREQ_CPU0)	+= cpufreq-cpu0.o
17
18##################################################################################
19# x86 drivers.
20# Link order matters. K8 is preferred to ACPI because of firmware bugs in early
21# K8 systems. ACPI is preferred to all other hardware-specific drivers.
22# speedstep-* is preferred over p4-clockmod.
23
24obj-$(CONFIG_X86_POWERNOW_K8)		+= powernow-k8.o
25obj-$(CONFIG_X86_ACPI_CPUFREQ)		+= acpi-cpufreq.o mperf.o
26obj-$(CONFIG_X86_PCC_CPUFREQ)		+= pcc-cpufreq.o
27obj-$(CONFIG_X86_POWERNOW_K6)		+= powernow-k6.o
28obj-$(CONFIG_X86_POWERNOW_K7)		+= powernow-k7.o
29obj-$(CONFIG_X86_LONGHAUL)		+= longhaul.o
30obj-$(CONFIG_X86_E_POWERSAVER)		+= e_powersaver.o
31obj-$(CONFIG_ELAN_CPUFREQ)		+= elanfreq.o
32obj-$(CONFIG_SC520_CPUFREQ)		+= sc520_freq.o
33obj-$(CONFIG_X86_LONGRUN)		+= longrun.o
34obj-$(CONFIG_X86_GX_SUSPMOD)		+= gx-suspmod.o
35obj-$(CONFIG_X86_SPEEDSTEP_ICH)		+= speedstep-ich.o
36obj-$(CONFIG_X86_SPEEDSTEP_LIB)		+= speedstep-lib.o
37obj-$(CONFIG_X86_SPEEDSTEP_SMI)		+= speedstep-smi.o
38obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO)	+= speedstep-centrino.o
39obj-$(CONFIG_X86_P4_CLOCKMOD)		+= p4-clockmod.o
40obj-$(CONFIG_X86_CPUFREQ_NFORCE2)	+= cpufreq-nforce2.o
41
42##################################################################################
43# ARM SoC drivers
44obj-$(CONFIG_UX500_SOC_DB8500)		+= db8500-cpufreq.o
45obj-$(CONFIG_ARM_S3C2416_CPUFREQ)	+= s3c2416-cpufreq.o
46obj-$(CONFIG_ARM_S3C64XX_CPUFREQ)	+= s3c64xx-cpufreq.o
47obj-$(CONFIG_ARM_S5PV210_CPUFREQ)	+= s5pv210-cpufreq.o
48obj-$(CONFIG_ARM_EXYNOS_CPUFREQ)	+= exynos-cpufreq.o
49obj-$(CONFIG_ARM_EXYNOS4210_CPUFREQ)	+= exynos4210-cpufreq.o
50obj-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ)	+= exynos4x12-cpufreq.o
51obj-$(CONFIG_ARM_EXYNOS5250_CPUFREQ)	+= exynos5250-cpufreq.o
52obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ)     += omap-cpufreq.o
53
54##################################################################################
55# PowerPC platform drivers
56obj-$(CONFIG_CPU_FREQ_MAPLE)		+= maple-cpufreq.o
57