blob: 75897e2fde43e4f6991bead8245f72dfadafa295 [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001What: /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
Olivier Deprez0e641232021-09-23 10:07:05 +020010What: /sys/class/devfreq/.../name
11Date: November 2019
12Contact: Chanwoo Choi <cw00.choi@samsung.com>
13Description:
14 The /sys/class/devfreq/.../name shows the name of device
15 of the corresponding devfreq object.
16
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000017What: /sys/class/devfreq/.../governor
18Date: September 2011
19Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
20Description:
21 The /sys/class/devfreq/.../governor show or set the name of the
22 governor used by the corresponding devfreq object.
23
24What: /sys/class/devfreq/.../cur_freq
25Date: September 2011
26Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
27Description:
28 The /sys/class/devfreq/.../cur_freq shows the current
29 frequency of the corresponding devfreq object. Same as
30 target_freq when get_cur_freq() is not implemented by
31 devfreq driver.
32
33What: /sys/class/devfreq/.../target_freq
34Date: September 2012
35Contact: Rajagopal Venkat <rajagopal.venkat@linaro.org>
36Description:
37 The /sys/class/devfreq/.../target_freq shows the next governor
38 predicted target frequency of the corresponding devfreq object.
39
40What: /sys/class/devfreq/.../polling_interval
41Date: September 2011
42Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
43Description:
44 The /sys/class/devfreq/.../polling_interval shows and sets
45 the requested polling interval of the corresponding devfreq
46 object. The values are represented in ms. If the value is
47 less than 1 jiffy, it is considered to be 0, which means
48 no polling. This value is meaningless if the governor is
49 not polling; thus. If the governor is not using
50 devfreq-provided central polling
51 (/sys/class/devfreq/.../central_polling is 0), this value
52 may be useless.
53
54What: /sys/class/devfreq/.../trans_stat
55Date: October 2012
56Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
David Brazdil0f672f62019-12-10 10:32:29 +000057Description:
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000058 This ABI shows the statistics of devfreq behavior on a
59 specific device. It shows the time spent in each state and
60 the number of transitions between states.
61 In order to activate this ABI, the devfreq target device
62 driver should provide the list of available frequencies
63 with its profile.
64
65What: /sys/class/devfreq/.../userspace/set_freq
66Date: September 2011
67Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
68Description:
69 The /sys/class/devfreq/.../userspace/set_freq shows and
70 sets the requested frequency for the devfreq object if
71 userspace governor is in effect.
72
73What: /sys/class/devfreq/.../available_frequencies
74Date: October 2012
75Contact: Nishanth Menon <nm@ti.com>
76Description:
77 The /sys/class/devfreq/.../available_frequencies shows
78 the available frequencies of the corresponding devfreq object.
79 This is a snapshot of available frequencies and not limited
80 by the min/max frequency restrictions.
81
82What: /sys/class/devfreq/.../available_governors
83Date: October 2012
84Contact: Nishanth Menon <nm@ti.com>
85Description:
86 The /sys/class/devfreq/.../available_governors shows
87 currently available governors in the system.
88
89What: /sys/class/devfreq/.../min_freq
90Date: January 2013
91Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
92Description:
93 The /sys/class/devfreq/.../min_freq shows and stores
94 the minimum frequency requested by users. It is 0 if
95 the user does not care. min_freq overrides the
96 frequency requested by governors.
97
98What: /sys/class/devfreq/.../max_freq
99Date: January 2013
100Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
101Description:
102 The /sys/class/devfreq/.../max_freq shows and stores
103 the maximum frequency requested by users. It is 0 if
104 the user does not care. max_freq overrides the
105 frequency requested by governors and min_freq.
106 The max_freq overrides min_freq because max_freq may be
107 used to throttle devices to avoid overheating.