blob: 99ad22e647f0b312b6bbc6c424cc4e7adc0f61c1 [file] [log] [blame]
Len Brown4f86d3a2007-10-03 18:58:00 -04001#
2# Makefile for cpuidle.
3#
4
5obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
Colin Cross4126c012012-05-07 17:57:41 -07006obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o
Lorenzo Pieralisi9f14da32014-02-14 14:28:39 +00007obj-$(CONFIG_DT_IDLE_STATES) += dt_idle_states.o
Rob Herringbe6a98d2012-10-12 12:45:34 -05008
Saharab98e01a2013-07-03 17:49:55 +09009##################################################################################
10# ARM SoC drivers
Gregory CLEMENTf50ee822014-07-23 15:00:48 +020011obj-$(CONFIG_ARM_MVEBU_V7_CPUIDLE) += cpuidle-mvebu-v7.o
Lorenzo Pieralisi3880d212013-09-13 16:38:41 +010012obj-$(CONFIG_ARM_BIG_LITTLE_CPUIDLE) += cpuidle-big_little.o
Alexander Shiyan7c7f8f72014-03-22 09:44:35 +040013obj-$(CONFIG_ARM_CLPS711X_CPUIDLE) += cpuidle-clps711x.o
Saharab98e01a2013-07-03 17:49:55 +090014obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o
15obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o
16obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o
Daniel Lezcanod3f29502013-07-10 16:02:04 +020017obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o
Daniel Lezcano1ce3c482013-09-26 17:34:24 +020018obj-$(CONFIG_ARM_AT91_CPUIDLE) += cpuidle-at91.o
Daniel Lezcanoff6a9c02014-05-09 06:57:35 +090019obj-$(CONFIG_ARM_EXYNOS_CPUIDLE) += cpuidle-exynos.o
Daniel Lezcano0e087042015-02-02 16:32:46 +010020obj-$(CONFIG_ARM_CPUIDLE) += cpuidle-arm.o
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053021
22###############################################################################
Paul Burtond0508942014-04-14 16:25:29 +010023# MIPS drivers
24obj-$(CONFIG_MIPS_CPS_CPUIDLE) += cpuidle-cps.o
25
26###############################################################################
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053027# POWERPC drivers
28obj-$(CONFIG_PSERIES_CPUIDLE) += cpuidle-pseries.o
Deepthi Dharwar2c2e6ec2014-01-14 16:32:40 +053029obj-$(CONFIG_POWERNV_CPUIDLE) += cpuidle-powernv.o
Raja Mallikb9ad4522018-04-19 15:23:49 +053030ifeq ($(CONFIG_MSM_PM_LEGACY), y)
31obj-y += lpm-levels-legacy.o lpm-levels-of-legacy.o lpm-workarounds.o
32else
Mahesh Sivasubramanianb9da25f2016-11-04 14:35:03 -060033obj-$(CONFIG_MSM_PM) += lpm-levels.o lpm-levels-of.o
Raja Mallikb9ad4522018-04-19 15:23:49 +053034endif