---------- Forwarded message ---------- From: Rajagopal Venkat <rajagopal.ven...@linaro.org> Date: 17 August 2012 23:50 Subject: [PATCH 0/3][RFC] devfreq: Add support for devices which can idle To: mturque...@linaro.org, myungjoo....@samsung.com, kyungmin.p...@samsung.com, r...@sisk.pl Cc: patc...@linaro.org, linaro-dev@lists.linaro.org, linux...@vger.kernel.org, Rajagopal Venkat <rajagopal.ven...@linaro.org>
This patchset updates devfreq core to add support for devices which can idle. When device idleness is detected perhaps through runtime-pm, need some mechanism to suspend devfreq load monitoring and resume when device is back online. patch 1 adds core design changes mainly moving monitoring logic to ondemand governor, introducing per device work and events for core to governor communication. patch 2 adds devfreq suspend and resume apis. patch 3 does current frequency bug fix. The existing devfreq apis are kept intact. Two new apis devfreq_suspend_device() and devfreq_resume_device() are added to support suspend/resume of device devfreq. -- Rajagopal Venkat (3): devfreq: core updates to support devices which can idle devfreq: Add suspend and resume apis devfreq: Add current freq callback in device profile Documentation/ABI/testing/sysfs-class-devfreq | 33 +- drivers/devfreq/devfreq.c | 448 ++++++-------------------- drivers/devfreq/governor.h | 6 +- drivers/devfreq/governor_performance.c | 34 +- drivers/devfreq/governor_powersave.c | 31 +- drivers/devfreq/governor_simpleondemand.c | 231 +++++++++++-- drivers/devfreq/governor_userspace.c | 142 ++++---- include/linux/devfreq.h | 78 +++-- 8 files changed, 467 insertions(+), 536 deletions(-) -- 1.7.11.3 -- Regards, Rajagopal _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev