xref: /linux/Documentation/ABI/testing/sysfs-class-devfreq (revision b889fcf63cb62e7fdb7816565e28f44dbe4a76a5)
1What:		/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:
14		The /sys/class/devfreq/.../governor show or set the name of the
15		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
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.
32
33What:		/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.
46
47What:		/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
58What:		/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.
65
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.
74
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.
81