summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle/dt_idle_states.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-09-25 22:18:45 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-09-25 22:18:45 +0200
commiteeb1aa5f78caf8d5ec1ef651c09bde34370321d8 (patch)
treecc641b7dad3bff3bf1527a99c5d88d1f23d0a563 /drivers/cpuidle/dt_idle_states.h
parent9133664097dd4aca0bed4882a86f0bfccbf07e53 (diff)
parentd2e5c871ed8a250f7ee1fe34dd52ed5757363fba (diff)
downloadlinux-eeb1aa5f78caf8d5ec1ef651c09bde34370321d8.tar.bz2
Merge branch 'cpuidle/3.18' of https://git.linaro.org/people/daniel.lezcano/linux into pm-cpuidle
Pull ARM cpuidle changes for v3.18 from Daniel Lezcano: "this pull request contains the following changes: * Lorenzo Pieralisi implemented a framework to initialize the ARM cpuidle drivers with the DT. As an example, it provided a couple of drivers using it: arm64 and big little. The former one is a new driver while the latter is a change. There was also a patch for Exynos allowing to use this framework but as it depends on a change in Samsung's tree, I postponed this patch until the change is visible after the merge. The set of changes depends on some other changes made in the ARM64 tree, for this reason a shared branch is used. This is why there is a merge from arm64 in my pull request. I believe we already used this procedure. * Kevin Hilman added the compatible string for the exynos 5800 in the DT" * 'cpuidle/3.18' of https://git.linaro.org/people/daniel.lezcano/linux: drivers: cpuidle: initialize big.LITTLE driver through DT drivers: cpuidle: CPU idle ARM64 driver drivers: cpuidle: implement DT based idle states infrastructure cpuidle: big.LITTLE: add Exynos5800 compatible string arm64: add PSCI CPU_SUSPEND based cpu_suspend support arm64: kernel: introduce cpu_init_idle CPU operation arm64: kernel: refactor the CPU suspend API for retention states Documentation: arm: define DT idle states bindings
Diffstat (limited to 'drivers/cpuidle/dt_idle_states.h')
-rw-r--r--drivers/cpuidle/dt_idle_states.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/cpuidle/dt_idle_states.h b/drivers/cpuidle/dt_idle_states.h
new file mode 100644
index 000000000000..4818134bc65b
--- /dev/null
+++ b/drivers/cpuidle/dt_idle_states.h
@@ -0,0 +1,7 @@
+#ifndef __DT_IDLE_STATES
+#define __DT_IDLE_STATES
+
+int dt_init_idle_driver(struct cpuidle_driver *drv,
+ const struct of_device_id *matches,
+ unsigned int start_idx);
+#endif