aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNishanth Menon2012-10-25 19:48:59 -0500
committerMyungJoo Ham2012-11-20 00:59:32 -0600
commitd287de855f97c56ca7146ff627e652bd7cd64f3f (patch)
treea3dbeb4937853cf1e81dca65c97c2dbbda549129 /Documentation/ABI
parente09651fcc295a7dc802f38d9494f5b860dd90bca (diff)
downloadkernel-omap-d287de855f97c56ca7146ff627e652bd7cd64f3f.tar.gz
kernel-omap-d287de855f97c56ca7146ff627e652bd7cd64f3f.tar.xz
kernel-omap-d287de855f97c56ca7146ff627e652bd7cd64f3f.zip
PM / devfreq: Add sysfs node to expose available frequencies
devfreq governors such as ondemand are controlled by a min and max frequency, while governors like userspace governor allow us to set a specific frequency. However, for the same specific device, depending on the SoC, the available frequencies can vary. So expose the available frequencies as a snapshot over sysfs to allow informed decisions. This was inspired by cpufreq framework's equivalent for similar usage sysfs node: scaling_available_frequencies. Cc: Rajagopal Venkat <rajagopal.venkat@linaro.org> Cc: MyungJoo Ham <myungjoo.ham@samsung.com> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Kevin Hilman <khilman@ti.com> Cc: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Nishanth Menon <nm@ti.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/sysfs-class-devfreq9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-devfreq b/Documentation/ABI/testing/sysfs-class-devfreq
index e6cf08e6734d..e672ccb02e7f 100644
--- a/Documentation/ABI/testing/sysfs-class-devfreq
+++ b/Documentation/ABI/testing/sysfs-class-devfreq
@@ -51,3 +51,12 @@ Description:
51 The /sys/class/devfreq/.../userspace/set_freq shows and 51 The /sys/class/devfreq/.../userspace/set_freq shows and
52 sets the requested frequency for the devfreq object if 52 sets the requested frequency for the devfreq object if
53 userspace governor is in effect. 53 userspace governor is in effect.
54
55What: /sys/class/devfreq/.../available_frequencies
56Date: October 2012
57Contact: Nishanth Menon <nm@ti.com>
58Description:
59 The /sys/class/devfreq/.../available_frequencies shows
60 the available frequencies of the corresponding devfreq object.
61 This is a snapshot of available frequencies and not limited
62 by the min/max frequency restrictions.