Makefile 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. # CPUfreq core
  2. obj-$(CONFIG_CPU_FREQ) += cpufreq.o freq_table.o
  3. obj-$(CONFIG_PM_OPP) += cpufreq_opp.o
  4. # CPUfreq stats
  5. obj-$(CONFIG_CPU_FREQ_STAT) += cpufreq_stats.o
  6. # CPUfreq governors
  7. obj-$(CONFIG_CPU_FREQ_GOV_PERFORMANCE) += cpufreq_performance.o
  8. obj-$(CONFIG_CPU_FREQ_GOV_POWERSAVE) += cpufreq_powersave.o
  9. obj-$(CONFIG_CPU_FREQ_GOV_USERSPACE) += cpufreq_userspace.o
  10. obj-$(CONFIG_CPU_FREQ_GOV_ONDEMAND) += cpufreq_ondemand.o
  11. obj-$(CONFIG_CPU_FREQ_GOV_CONSERVATIVE) += cpufreq_conservative.o
  12. obj-$(CONFIG_CPU_FREQ_GOV_COMMON) += cpufreq_governor.o
  13. obj-$(CONFIG_CPUFREQ_DT) += cpufreq-dt.o
  14. ##################################################################################
  15. # x86 drivers.
  16. # Link order matters. K8 is preferred to ACPI because of firmware bugs in early
  17. # K8 systems. This is still the case but acpi-cpufreq errors out so that
  18. # powernow-k8 can load then. ACPI is preferred to all other hardware-specific drivers.
  19. # speedstep-* is preferred over p4-clockmod.
  20. obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
  21. obj-$(CONFIG_X86_POWERNOW_K8) += powernow-k8.o
  22. obj-$(CONFIG_X86_PCC_CPUFREQ) += pcc-cpufreq.o
  23. obj-$(CONFIG_X86_POWERNOW_K6) += powernow-k6.o
  24. obj-$(CONFIG_X86_POWERNOW_K7) += powernow-k7.o
  25. obj-$(CONFIG_X86_LONGHAUL) += longhaul.o
  26. obj-$(CONFIG_X86_E_POWERSAVER) += e_powersaver.o
  27. obj-$(CONFIG_ELAN_CPUFREQ) += elanfreq.o
  28. obj-$(CONFIG_SC520_CPUFREQ) += sc520_freq.o
  29. obj-$(CONFIG_X86_LONGRUN) += longrun.o
  30. obj-$(CONFIG_X86_GX_SUSPMOD) += gx-suspmod.o
  31. obj-$(CONFIG_X86_SPEEDSTEP_ICH) += speedstep-ich.o
  32. obj-$(CONFIG_X86_SPEEDSTEP_LIB) += speedstep-lib.o
  33. obj-$(CONFIG_X86_SPEEDSTEP_SMI) += speedstep-smi.o
  34. obj-$(CONFIG_X86_SPEEDSTEP_CENTRINO) += speedstep-centrino.o
  35. obj-$(CONFIG_X86_P4_CLOCKMOD) += p4-clockmod.o
  36. obj-$(CONFIG_X86_CPUFREQ_NFORCE2) += cpufreq-nforce2.o
  37. obj-$(CONFIG_X86_INTEL_PSTATE) += intel_pstate.o
  38. obj-$(CONFIG_X86_AMD_FREQ_SENSITIVITY) += amd_freq_sensitivity.o
  39. obj-$(CONFIG_X86_SFI_CPUFREQ) += sfi-cpufreq.o
  40. ##################################################################################
  41. # ARM SoC drivers
  42. obj-$(CONFIG_ARM_BIG_LITTLE_CPUFREQ) += arm_big_little.o
  43. # big LITTLE per platform glues. Keep DT_BL_CPUFREQ as the last entry in all big
  44. # LITTLE drivers, so that it is probed last.
  45. obj-$(CONFIG_ARM_DT_BL_CPUFREQ) += arm_big_little_dt.o
  46. obj-$(CONFIG_ARCH_DAVINCI) += davinci-cpufreq.o
  47. obj-$(CONFIG_UX500_SOC_DB8500) += dbx500-cpufreq.o
  48. obj-$(CONFIG_ARM_EXYNOS_CPUFREQ) += arm-exynos-cpufreq.o
  49. arm-exynos-cpufreq-y := exynos-cpufreq.o
  50. arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS4X12_CPUFREQ) += exynos4x12-cpufreq.o
  51. arm-exynos-cpufreq-$(CONFIG_ARM_EXYNOS5250_CPUFREQ) += exynos5250-cpufreq.o
  52. obj-$(CONFIG_ARM_EXYNOS5440_CPUFREQ) += exynos5440-cpufreq.o
  53. obj-$(CONFIG_ARM_HIGHBANK_CPUFREQ) += highbank-cpufreq.o
  54. obj-$(CONFIG_ARM_HISI_ACPU_CPUFREQ) += hisi-acpu-cpufreq.o
  55. obj-$(CONFIG_ARM_IMX6Q_CPUFREQ) += imx6q-cpufreq.o
  56. obj-$(CONFIG_ARM_INTEGRATOR) += integrator-cpufreq.o
  57. obj-$(CONFIG_ARM_KIRKWOOD_CPUFREQ) += kirkwood-cpufreq.o
  58. obj-$(CONFIG_ARM_OMAP2PLUS_CPUFREQ) += omap-cpufreq.o
  59. obj-$(CONFIG_ARM_PXA2xx_CPUFREQ) += pxa2xx-cpufreq.o
  60. obj-$(CONFIG_PXA3xx) += pxa3xx-cpufreq.o
  61. obj-$(CONFIG_ARM_S3C24XX_CPUFREQ) += s3c24xx-cpufreq.o
  62. obj-$(CONFIG_ARM_S3C24XX_CPUFREQ_DEBUGFS) += s3c24xx-cpufreq-debugfs.o
  63. obj-$(CONFIG_ARM_S3C2410_CPUFREQ) += s3c2410-cpufreq.o
  64. obj-$(CONFIG_ARM_S3C2412_CPUFREQ) += s3c2412-cpufreq.o
  65. obj-$(CONFIG_ARM_S3C2416_CPUFREQ) += s3c2416-cpufreq.o
  66. obj-$(CONFIG_ARM_S3C2440_CPUFREQ) += s3c2440-cpufreq.o
  67. obj-$(CONFIG_ARM_S3C64XX_CPUFREQ) += s3c64xx-cpufreq.o
  68. obj-$(CONFIG_ARM_S5PV210_CPUFREQ) += s5pv210-cpufreq.o
  69. obj-$(CONFIG_ARM_SA1100_CPUFREQ) += sa1100-cpufreq.o
  70. obj-$(CONFIG_ARM_SA1110_CPUFREQ) += sa1110-cpufreq.o
  71. obj-$(CONFIG_ARM_SPEAR_CPUFREQ) += spear-cpufreq.o
  72. obj-$(CONFIG_ARM_TEGRA_CPUFREQ) += tegra-cpufreq.o
  73. obj-$(CONFIG_ARM_VEXPRESS_SPC_CPUFREQ) += vexpress-spc-cpufreq.o
  74. ##################################################################################
  75. # PowerPC platform drivers
  76. obj-$(CONFIG_CPU_FREQ_CBE) += ppc-cbe-cpufreq.o
  77. ppc-cbe-cpufreq-y += ppc_cbe_cpufreq_pervasive.o ppc_cbe_cpufreq.o
  78. obj-$(CONFIG_CPU_FREQ_CBE_PMI) += ppc_cbe_cpufreq_pmi.o
  79. obj-$(CONFIG_CPU_FREQ_MAPLE) += maple-cpufreq.o
  80. obj-$(CONFIG_QORIQ_CPUFREQ) += qoriq-cpufreq.o
  81. obj-$(CONFIG_CPU_FREQ_PMAC) += pmac32-cpufreq.o
  82. obj-$(CONFIG_CPU_FREQ_PMAC64) += pmac64-cpufreq.o
  83. obj-$(CONFIG_PPC_PASEMI_CPUFREQ) += pasemi-cpufreq.o
  84. obj-$(CONFIG_POWERNV_CPUFREQ) += powernv-cpufreq.o
  85. ##################################################################################
  86. # Other platform drivers
  87. obj-$(CONFIG_AVR32_AT32AP_CPUFREQ) += at32ap-cpufreq.o
  88. obj-$(CONFIG_BFIN_CPU_FREQ) += blackfin-cpufreq.o
  89. obj-$(CONFIG_CRIS_MACH_ARTPEC3) += cris-artpec3-cpufreq.o
  90. obj-$(CONFIG_ETRAXFS) += cris-etraxfs-cpufreq.o
  91. obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
  92. obj-$(CONFIG_LOONGSON2_CPUFREQ) += loongson2_cpufreq.o
  93. obj-$(CONFIG_LOONGSON1_CPUFREQ) += ls1x-cpufreq.o
  94. obj-$(CONFIG_SH_CPU_FREQ) += sh-cpufreq.o
  95. obj-$(CONFIG_SPARC_US2E_CPUFREQ) += sparc-us2e-cpufreq.o
  96. obj-$(CONFIG_SPARC_US3_CPUFREQ) += sparc-us3-cpufreq.o
  97. obj-$(CONFIG_UNICORE32) += unicore2-cpufreq.o