<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/devfreq.h, branch v3.10.97</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.97</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.97'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-04-01T23:28:41Z</updated>
<entry>
<title>PM / devfreq: Fix compiler warnings for CONFIG_PM_DEVFREQ unset</title>
<updated>2013-04-01T23:28:41Z</updated>
<author>
<name>Rajagopal Venkat</name>
<email>rajagopal.venkat@linaro.org</email>
</author>
<published>2013-03-21T13:28:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5faaa035ddc16d3d2e31c0bfc1c4756b6869dbcc'/>
<id>urn:sha1:5faaa035ddc16d3d2e31c0bfc1c4756b6869dbcc</id>
<content type='text'>
Fix compiler warnings generated when devfreq is not enabled
(CONFIG_PM_DEVFREQ is not set).

Signed-off-by: Rajagopal Venkat &lt;rajagopal.venkat@linaro.org&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: remove compiler error when a governor is module</title>
<updated>2012-11-26T10:17:44Z</updated>
<author>
<name>MyungJoo Ham</name>
<email>myungjoo.ham@samsung.com</email>
</author>
<published>2012-11-21T08:17:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=883d588e556347c4b3221ac492a8acd8a75e730a'/>
<id>urn:sha1:883d588e556347c4b3221ac492a8acd8a75e730a</id>
<content type='text'>
With the intruction of patch, eff607fdb1f787da1fedf46ab6e64adc2afd1c5a,
it became possible to include a governor as a module.
Thus the #ifdef statement for a governor should become #if IS_ENABLED.

Signed-off-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: map devfreq drivers to governor using name</title>
<updated>2012-11-20T09:46:22Z</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2012-10-29T20:01:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1b5c1be2c88e8445a20fa1929e26c37e7ca8c926'/>
<id>urn:sha1:1b5c1be2c88e8445a20fa1929e26c37e7ca8c926</id>
<content type='text'>
Allow devfreq drivers to register a preferred governor name
and when the devfreq governor loads itself at a later point
required drivers are managed appropriately, at the time of
unload of a devfreq governor, stop managing those drivers
as well.

Since the governor structures do not need to be exposed
anymore, remove the definitions and make them static

NOTE: devfreq_list_lock is now used to protect governor
start and stop - as this allows us to protect governors and
devfreq with the proper dependencies as needed.

As part of this change, change the registration of exynos
bus driver to request for ondemand using the governor name.

Cc: Rajagopal Venkat &lt;rajagopal.venkat@linaro.org&gt;
Cc: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Kevin Hilman &lt;khilman@ti.com&gt;
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
[Merge conflict resolved by MyungJoo Ham]
Signed-off-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: provide hooks for governors to be registered</title>
<updated>2012-11-20T09:46:12Z</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2012-10-29T20:01:43Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3aa173b8db200bb96354481acc0a5b9e123119fe'/>
<id>urn:sha1:3aa173b8db200bb96354481acc0a5b9e123119fe</id>
<content type='text'>
Add devfreq_add_governor and devfreq_remove_governor which
can be invoked by governors to register with devfreq.

This sets up the stage to dynamically switch governors and
allow governors to be dynamically loaded as well.

Cc: Rajagopal Venkat &lt;rajagopal.venkat@linaro.org&gt;
Cc: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Kevin Hilman &lt;khilman@ti.com&gt;
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: Add sysfs node for representing frequency transition information.</title>
<updated>2012-11-20T07:05:44Z</updated>
<author>
<name>Jonghwa Lee</name>
<email>jonghwa3.lee@samsung.com</email>
</author>
<published>2012-08-23T11:00:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e552bbaf5b987f57c43e6981a452b8a3c700b1ae'/>
<id>urn:sha1:e552bbaf5b987f57c43e6981a452b8a3c700b1ae</id>
<content type='text'>
This patch adds sysfs node which can be used to get information of frequency
transition. It represents transition table which contains total number of transition of
each freqeuncy state and time spent. It is inspired CPUFREQ's status driver.

Signed-off-by: Jonghwa Lee &lt;jonghwa3.lee@samsung.com&gt;
[Added Documentation/ABI entry, updated kernel-doc, and resolved merge conflict]
Signed-off-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: documentation cleanups for devfreq header</title>
<updated>2012-11-20T06:59:26Z</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2012-10-29T13:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e09651fcc295a7dc802f38d9494f5b860dd90bca'/>
<id>urn:sha1:e09651fcc295a7dc802f38d9494f5b860dd90bca</id>
<content type='text'>
struct parameters need to have ':' in documentation for
scripts/kernel-doc to parse appropriately.

Fix the errors reported by:
./scripts/kernel-doc include/linux/devfreq.h &gt;/dev/null

Cc: Rajagopal Venkat &lt;rajagopal.venkat@linaro.org&gt;
Cc: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Cc: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Kevin Hilman &lt;khilman@ti.com&gt;
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
Acked-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: Add current freq callback in device profile</title>
<updated>2012-11-14T23:35:04Z</updated>
<author>
<name>Rajagopal Venkat</name>
<email>rajagopal.venkat@linaro.org</email>
</author>
<published>2012-10-25T23:50:26Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7f98a905dca6e4f144cdd4462edeac00c2bdc379'/>
<id>urn:sha1:7f98a905dca6e4f144cdd4462edeac00c2bdc379</id>
<content type='text'>
Devfreq returns governor predicted frequency as current frequency
via sysfs interface. But device may not support all frequencies
that governor predicts. So add a callback in device profile to get
current freq from driver. Also add a new sysfs node to expose
governor predicted next target frequency.

Signed-off-by: Rajagopal Venkat &lt;rajagopal.venkat@linaro.org&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: Add suspend and resume apis</title>
<updated>2012-11-14T23:35:04Z</updated>
<author>
<name>Rajagopal Venkat</name>
<email>rajagopal.venkat@linaro.org</email>
</author>
<published>2012-10-25T23:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=206c30cfeb7c05dfb9fdfd81b1deb933627e43c1'/>
<id>urn:sha1:206c30cfeb7c05dfb9fdfd81b1deb933627e43c1</id>
<content type='text'>
Add devfreq suspend/resume apis for devfreq users. This patch
supports suspend and resume of devfreq load monitoring, required
for devices which can idle.

Signed-off-by: Rajagopal Venkat &lt;rajagopal.venkat@linaro.org&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: Core updates to support devices which can idle</title>
<updated>2012-11-14T23:35:04Z</updated>
<author>
<name>Rajagopal Venkat</name>
<email>rajagopal.venkat@linaro.org</email>
</author>
<published>2012-10-25T23:50:09Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=7e6fdd4bad033fa2d73716377b184fa975b0d985'/>
<id>urn:sha1:7e6fdd4bad033fa2d73716377b184fa975b0d985</id>
<content type='text'>
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 &lt;rajagopal.venkat@linaro.org&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
</content>
</entry>
<entry>
<title>PM / devfreq: add relation of recommended frequency.</title>
<updated>2012-03-17T20:51:34Z</updated>
<author>
<name>MyungJoo Ham</name>
<email>myungjoo.ham@samsung.com</email>
</author>
<published>2012-03-16T20:54:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ab5f299f51259fd2466cf35c89d79bd960e0fc32'/>
<id>urn:sha1:ab5f299f51259fd2466cf35c89d79bd960e0fc32</id>
<content type='text'>
The semantics of "target frequency" given to devfreq driver from
devfreq framework has always been interpretted as "at least" or GLB
(greatest lower bound). However, the framework might want the
device driver to limit its max frequency (LUB: least upper bound),
especially if it is given by thermal framework (it's too hot).

Thus, the target fuction should have another parameter to express
whether the framework wants GLB or LUB. And, the additional parameter,
"u32 flags", does it.

With the update, devfreq_recommended_opp() is also updated.

Signed-off-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Reviewed-by: Mike Turquette &lt;mturquette@ti.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
</entry>
</feed>
