blob: 9d7176cee3d376195a6bbe7ebbe67956e4a5ca52 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Len Brown4f86d3a2007-10-03 18:58:00 -04002#
3# Makefile for cpuidle.
4#
5
6obj-y += cpuidle.o driver.o governor.o sysfs.o governors/
Colin Cross4126c012012-05-07 17:57:41 -07007obj-$(CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED) += coupled.o
Lorenzo Pieralisi9f14da32014-02-14 14:28:39 +00008obj-$(CONFIG_DT_IDLE_STATES) += dt_idle_states.o
Rafael J. Wysocki34c2f652017-08-23 23:21:07 +02009obj-$(CONFIG_ARCH_HAS_CPU_RELAX) += poll_state.o
Rob Herringbe6a98d2012-10-12 12:45:34 -050010
Saharab98e01a2013-07-03 17:49:55 +090011##################################################################################
12# ARM SoC drivers
Gregory CLEMENTf50ee822014-07-23 15:00:48 +020013obj-$(CONFIG_ARM_MVEBU_V7_CPUIDLE) += cpuidle-mvebu-v7.o
Lorenzo Pieralisi3880d212013-09-13 16:38:41 +010014obj-$(CONFIG_ARM_BIG_LITTLE_CPUIDLE) += cpuidle-big_little.o
Alexander Shiyan7c7f8f72014-03-22 09:44:35 +040015obj-$(CONFIG_ARM_CLPS711X_CPUIDLE) += cpuidle-clps711x.o
Saharab98e01a2013-07-03 17:49:55 +090016obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o
17obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o
18obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o
Daniel Lezcanod3f29502013-07-10 16:02:04 +020019obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o
Daniel Lezcano1ce3c482013-09-26 17:34:24 +020020obj-$(CONFIG_ARM_AT91_CPUIDLE) += cpuidle-at91.o
Daniel Lezcanoff6a9c02014-05-09 06:57:35 +090021obj-$(CONFIG_ARM_EXYNOS_CPUIDLE) += cpuidle-exynos.o
Daniel Lezcano0e087042015-02-02 16:32:46 +010022obj-$(CONFIG_ARM_CPUIDLE) += cpuidle-arm.o
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053023
24###############################################################################
Paul Burtond0508942014-04-14 16:25:29 +010025# MIPS drivers
26obj-$(CONFIG_MIPS_CPS_CPUIDLE) += cpuidle-cps.o
27
28###############################################################################
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053029# POWERPC drivers
30obj-$(CONFIG_PSERIES_CPUIDLE) += cpuidle-pseries.o
Deepthi Dharwar2c2e6ec2014-01-14 16:32:40 +053031obj-$(CONFIG_POWERNV_CPUIDLE) += cpuidle-powernv.o