diff options
| author | Rajagopal Venkat <rajagopal.venkat@linaro.org> | 2012-10-25 19:50:26 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-14 18:35:04 -0500 |
| commit | 7f98a905dca6e4f144cdd4462edeac00c2bdc379 (patch) | |
| tree | 4841af3592cbd0b21f50a40f17900dfc9fc40804 /Documentation/ABI/testing/sysfs-class-devfreq | |
| parent | 206c30cfeb7c05dfb9fdfd81b1deb933627e43c1 (diff) | |
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 | |||
| 19 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> | 19 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
| 20 | Description: | 20 | Description: |
| 21 | The /sys/class/devfreq/.../cur_freq shows the current | 21 | The /sys/class/devfreq/.../cur_freq shows the current |
| 22 | frequency of the corresponding devfreq object. | 22 | frequency of the corresponding devfreq object. Same as |
| 23 | target_freq when get_cur_freq() is not implemented by | ||
| 24 | devfreq driver. | ||
| 25 | |||
| 26 | What: /sys/class/devfreq/.../target_freq | ||
| 27 | Date: September 2012 | ||
| 28 | Contact: Rajagopal Venkat <rajagopal.venkat@linaro.org> | ||
| 29 | Description: | ||
| 30 | The /sys/class/devfreq/.../target_freq shows the next governor | ||
| 31 | predicted target frequency of the corresponding devfreq object. | ||
| 23 | 32 | ||
| 24 | What: /sys/class/devfreq/.../polling_interval | 33 | What: /sys/class/devfreq/.../polling_interval |
| 25 | Date: September 2011 | 34 | Date: September 2011 |
