blob: ee39acacf6f8512cb81eedaf0d06685bbf004144 [file] [log] [blame]
MyungJoo Ham9005b652011-10-02 00:19:28 +02001What: /sys/class/devfreq/.../
2Date: September 2011
3Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
4Description:
5 Provide a place in sysfs for the devfreq objects.
6 This allows accessing various devfreq specific variables.
7 The name of devfreq object denoted as ... is same as the
8 name of device using devfreq.
9
10What: /sys/class/devfreq/.../governor
11Date: September 2011
12Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
13Description:
Nishanth Menon0359d1a2012-10-29 15:01:47 -050014 The /sys/class/devfreq/.../governor show or set the name of the
MyungJoo Ham9005b652011-10-02 00:19:28 +020015 governor used by the corresponding devfreq object.
16
17What: /sys/class/devfreq/.../cur_freq
18Date: September 2011
19Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
20Description:
21 The /sys/class/devfreq/.../cur_freq shows the current
Rajagopal Venkat7f98a902012-10-26 01:50:26 +020022 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.
MyungJoo Ham9005b652011-10-02 00:19:28 +020032
MyungJoo Ham9005b652011-10-02 00:19:28 +020033What: /sys/class/devfreq/.../polling_interval
34Date: September 2011
35Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
36Description:
37 The /sys/class/devfreq/.../polling_interval shows and sets
38 the requested polling interval of the corresponding devfreq
39 object. The values are represented in ms. If the value is
40 less than 1 jiffy, it is considered to be 0, which means
41 no polling. This value is meaningless if the governor is
42 not polling; thus. If the governor is not using
43 devfreq-provided central polling
44 (/sys/class/devfreq/.../central_polling is 0), this value
45 may be useless.
MyungJoo Hamce26c5b2011-10-02 00:19:34 +020046
Jonghwa Leee552bba2012-08-23 20:00:46 +090047What: /sys/class/devfreq/.../trans_stat
48Date: October 2012
49Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
50Descrtiption:
51 This ABI shows the statistics of devfreq behavior on a
52 specific device. It shows the time spent in each state and
53 the number of transitions between states.
54 In order to activate this ABI, the devfreq target device
55 driver should provide the list of available frequencies
56 with its profile.
57
MyungJoo Hamce26c5b2011-10-02 00:19:34 +020058What: /sys/class/devfreq/.../userspace/set_freq
59Date: September 2011
60Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
61Description:
62 The /sys/class/devfreq/.../userspace/set_freq shows and
63 sets the requested frequency for the devfreq object if
64 userspace governor is in effect.
Nishanth Menond287de82012-10-25 19:48:59 -050065
66What: /sys/class/devfreq/.../available_frequencies
67Date: October 2012
68Contact: Nishanth Menon <nm@ti.com>
69Description:
70 The /sys/class/devfreq/.../available_frequencies shows
71 the available frequencies of the corresponding devfreq object.
72 This is a snapshot of available frequencies and not limited
73 by the min/max frequency restrictions.
Nishanth Menon50a5b332012-10-29 15:01:48 -050074
75What: /sys/class/devfreq/.../available_governors
76Date: October 2012
77Contact: Nishanth Menon <nm@ti.com>
78Description:
79 The /sys/class/devfreq/.../available_governors shows
80 currently available governors in the system.
MyungJoo Hamde9c7392013-02-05 18:40:17 +090081
82What: /sys/class/devfreq/.../min_freq
83Date: January 2013
84Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
85Description:
86 The /sys/class/devfreq/.../min_freq shows and stores
87 the minimum frequency requested by users. It is 0 if
88 the user does not care. min_freq overrides the
89 frequency requested by governors.
90
91What: /sys/class/devfreq/.../max_freq
92Date: January 2013
93Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
94Description:
95 The /sys/class/devfreq/.../max_freq shows and stores
96 the maximum frequency requested by users. It is 0 if
97 the user does not care. max_freq overrides the
98 frequency requested by governors and min_freq.
99 The max_freq overrides min_freq because max_freq may be
100 used to throttle devices to avoid overheating.