diff options
author | Rajagopal Venkat <rajagopal.venkat@linaro.org> | 2012-10-26 01:50:26 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-15 00:35:04 +0100 |
commit | 7f98a905dca6e4f144cdd4462edeac00c2bdc379 (patch) | |
tree | 4841af3592cbd0b21f50a40f17900dfc9fc40804 /Documentation/ABI/testing/sysfs-class-devfreq | |
parent | 206c30cfeb7c05dfb9fdfd81b1deb933627e43c1 (diff) | |
download | blackbird-op-linux-7f98a905dca6e4f144cdd4462edeac00c2bdc379.tar.gz blackbird-op-linux-7f98a905dca6e4f144cdd4462edeac00c2bdc379.zip |
PM / devfreq: Add current freq callback in device profile
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 <rajagopal.venkat@linaro.org>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/ABI/testing/sysfs-class-devfreq')
-rw-r--r-- | Documentation/ABI/testing/sysfs-class-devfreq | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-devfreq b/Documentation/ABI/testing/sysfs-class-devfreq index 89283b1b0240..e6cf08e6734d 100644 --- a/Documentation/ABI/testing/sysfs-class-devfreq +++ b/Documentation/ABI/testing/sysfs-class-devfreq @@ -19,7 +19,16 @@ Date: September 2011 Contact: MyungJoo Ham <myungjoo.ham@samsung.com> Description: The /sys/class/devfreq/.../cur_freq shows the current - frequency of the corresponding devfreq object. + frequency of the corresponding devfreq object. Same as + target_freq when get_cur_freq() is not implemented by + devfreq driver. + +What: /sys/class/devfreq/.../target_freq +Date: September 2012 +Contact: Rajagopal Venkat <rajagopal.venkat@linaro.org> +Description: + The /sys/class/devfreq/.../target_freq shows the next governor + predicted target frequency of the corresponding devfreq object. What: /sys/class/devfreq/.../polling_interval Date: September 2011 |