aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-class-devfreq
diff options
context:
space:
mode:
authorRajagopal Venkat <rajagopal.venkat@linaro.org>2012-10-25 19:50:26 -0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-14 18:35:04 -0500
commit7f98a905dca6e4f144cdd4462edeac00c2bdc379 (patch)
tree4841af3592cbd0b21f50a40f17900dfc9fc40804 /Documentation/ABI/testing/sysfs-class-devfreq
parent206c30cfeb7c05dfb9fdfd81b1deb933627e43c1 (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-devfreq11
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
19Contact: MyungJoo Ham <myungjoo.ham@samsung.com> 19Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
20Description: 20Description:
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
26What: /sys/class/devfreq/.../target_freq
27Date: September 2012
28Contact: Rajagopal Venkat <rajagopal.venkat@linaro.org>
29Description:
30 The /sys/class/devfreq/.../target_freq shows the next governor
31 predicted target frequency of the corresponding devfreq object.
23 32
24What: /sys/class/devfreq/.../polling_interval 33What: /sys/class/devfreq/.../polling_interval
25Date: September 2011 34Date: September 2011