linux-kernel-test/drivers/devfreq
Rajagopal Venkat 7e6fdd4bad PM / devfreq: Core updates to support devices which can idle
Prepare devfreq core framework to support devices which
can idle. When device idleness is detected perhaps through
runtime-pm, need some mechanism to suspend devfreq load
monitoring and resume back when device is online. Present
code continues monitoring unless device is removed from
devfreq core.

This patch introduces following design changes,

 - use per device work instead of global work to monitor device
   load. This enables suspend/resume of device devfreq and
   reduces monitoring code complexity.
 - decouple delayed work based load monitoring logic from core
   by introducing helpers functions to be used by governors. This
   provides flexibility for governors either to use delayed work
   based monitoring functions or to implement their own mechanism.
 - devfreq core interacts with governors via events to perform
   specific actions. These events include start/stop devfreq.
   This sets ground for adding suspend/resume events.

The devfreq apis are not modified and are kept intact.

Signed-off-by: Rajagopal Venkat <rajagopal.venkat@linaro.org>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2012-11-15 00:35:04 +01:00
..
devfreq.c PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
exynos4_bus.c ARM: global cleanups 2012-03-27 16:03:32 -07:00
governor_performance.c PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
governor_powersave.c PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
governor_simpleondemand.c PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
governor_userspace.c PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
governor.h PM / devfreq: Core updates to support devices which can idle 2012-11-15 00:35:04 +01:00
Kconfig Fix typo in various Kconfig file 2012-04-16 14:40:08 +02:00
Makefile PM/Devfreq: Add Exynos4-bus device DVFS driver for Exynos4210/4212/4412. 2011-12-20 14:08:08 +09:00