blob: 26bbc5e7412366aef699a453d90d5810f191b6b4 [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
Marcelo Tosattifa86ee92019-07-03 20:51:25 -030010obj-$(CONFIG_HALTPOLL_CPUIDLE) += cpuidle-haltpoll.o
Rob Herringbe6a98d2012-10-12 12:45:34 -050011
Saharab98e01a2013-07-03 17:49:55 +090012##################################################################################
13# ARM SoC drivers
Gregory CLEMENTf50ee822014-07-23 15:00:48 +020014obj-$(CONFIG_ARM_MVEBU_V7_CPUIDLE) += cpuidle-mvebu-v7.o
Lorenzo Pieralisi3880d212013-09-13 16:38:41 +010015obj-$(CONFIG_ARM_BIG_LITTLE_CPUIDLE) += cpuidle-big_little.o
Alexander Shiyan7c7f8f72014-03-22 09:44:35 +040016obj-$(CONFIG_ARM_CLPS711X_CPUIDLE) += cpuidle-clps711x.o
Saharab98e01a2013-07-03 17:49:55 +090017obj-$(CONFIG_ARM_HIGHBANK_CPUIDLE) += cpuidle-calxeda.o
18obj-$(CONFIG_ARM_KIRKWOOD_CPUIDLE) += cpuidle-kirkwood.o
19obj-$(CONFIG_ARM_ZYNQ_CPUIDLE) += cpuidle-zynq.o
Daniel Lezcanod3f29502013-07-10 16:02:04 +020020obj-$(CONFIG_ARM_U8500_CPUIDLE) += cpuidle-ux500.o
Daniel Lezcano1ce3c482013-09-26 17:34:24 +020021obj-$(CONFIG_ARM_AT91_CPUIDLE) += cpuidle-at91.o
Daniel Lezcanoff6a9c02014-05-09 06:57:35 +090022obj-$(CONFIG_ARM_EXYNOS_CPUIDLE) += cpuidle-exynos.o
Daniel Lezcano0e087042015-02-02 16:32:46 +010023obj-$(CONFIG_ARM_CPUIDLE) += cpuidle-arm.o
Ulf Hansson03175612020-07-07 14:58:00 +020024obj-$(CONFIG_ARM_PSCI_CPUIDLE) += cpuidle-psci.o
25obj-$(CONFIG_ARM_PSCI_CPUIDLE_DOMAIN) += cpuidle-psci-domain.o
Dmitry Osipenko860fbde2020-02-25 01:40:52 +030026obj-$(CONFIG_ARM_TEGRA_CPUIDLE) += cpuidle-tegra.o
Stephan Gerholda871be62020-04-16 10:58:21 +020027obj-$(CONFIG_ARM_QCOM_SPM_CPUIDLE) += cpuidle-qcom-spm.o
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053028
29###############################################################################
Paul Burtond0508942014-04-14 16:25:29 +010030# MIPS drivers
31obj-$(CONFIG_MIPS_CPS_CPUIDLE) += cpuidle-cps.o
32
33###############################################################################
Deepthi Dharwar962e7bd2014-01-14 16:26:02 +053034# POWERPC drivers
35obj-$(CONFIG_PSERIES_CPUIDLE) += cpuidle-pseries.o
Deepthi Dharwar2c2e6ec2014-01-14 16:32:40 +053036obj-$(CONFIG_POWERNV_CPUIDLE) += cpuidle-powernv.o