summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-04-30 00:25:44 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2011-04-30 00:25:44 +0200
commit85eb8c8d0b0900c073b0e6f89979ac9c439ade1a (patch)
treeff3486424b60bb8de28ef76655d65cd0c1180449 /kernel/power
parent1d2b71f61b6a10216274e27b717becf9ae101fc7 (diff)
downloadop-kernel-dev-85eb8c8d0b0900c073b0e6f89979ac9c439ade1a.zip
op-kernel-dev-85eb8c8d0b0900c073b0e6f89979ac9c439ade1a.tar.gz
PM / Runtime: Generic clock manipulation rountines for runtime PM (v6)
Many different platforms and subsystems may want to disable device clocks during suspend and enable them during resume which is going to be done in a very similar way in all those cases. For this reason, provide generic routines for the manipulation of device clocks during suspend and resume. Convert the ARM shmobile platform to using the new routines. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power')
-rw-r--r--kernel/power/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig
index 6de9a8f..d74ad4a 100644
--- a/kernel/power/Kconfig
+++ b/kernel/power/Kconfig
@@ -229,3 +229,7 @@ config PM_OPP
representing individual voltage domains and provides SOC
implementations a ready to use framework to manage OPPs.
For more information, read <file:Documentation/power/opp.txt>
+
+config PM_RUNTIME_CLK
+ def_bool y
+ depends on PM_RUNTIME && HAVE_CLK
OpenPOWER on IntegriCloud