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