xref: /linux/Documentation/ABI/testing/sysfs-class-devfreq (revision e552bbaf5b987f57c43e6981a452b8a3c700b1ae)
19005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../
29005b650SMyungJoo HamDate:		September 2011
39005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
49005b650SMyungJoo HamDescription:
59005b650SMyungJoo Ham		Provide a place in sysfs for the devfreq objects.
69005b650SMyungJoo Ham		This allows accessing various devfreq specific variables.
79005b650SMyungJoo Ham		The name of devfreq object denoted as ... is same as the
89005b650SMyungJoo Ham		name of device using devfreq.
99005b650SMyungJoo Ham
109005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../governor
119005b650SMyungJoo HamDate:		September 2011
129005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
139005b650SMyungJoo HamDescription:
149005b650SMyungJoo Ham		The /sys/class/devfreq/.../governor shows the name of the
159005b650SMyungJoo Ham		governor used by the corresponding devfreq object.
169005b650SMyungJoo Ham
179005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../cur_freq
189005b650SMyungJoo HamDate:		September 2011
199005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
209005b650SMyungJoo HamDescription:
219005b650SMyungJoo Ham		The /sys/class/devfreq/.../cur_freq shows the current
227f98a905SRajagopal Venkat		frequency of the corresponding devfreq object. Same as
237f98a905SRajagopal Venkat		target_freq when get_cur_freq() is not implemented by
247f98a905SRajagopal Venkat		devfreq driver.
257f98a905SRajagopal Venkat
267f98a905SRajagopal VenkatWhat:		/sys/class/devfreq/.../target_freq
277f98a905SRajagopal VenkatDate:		September 2012
287f98a905SRajagopal VenkatContact:	Rajagopal Venkat <rajagopal.venkat@linaro.org>
297f98a905SRajagopal VenkatDescription:
307f98a905SRajagopal Venkat		The /sys/class/devfreq/.../target_freq shows the next governor
317f98a905SRajagopal Venkat		predicted target frequency of the corresponding devfreq object.
329005b650SMyungJoo Ham
339005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../polling_interval
349005b650SMyungJoo HamDate:		September 2011
359005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
369005b650SMyungJoo HamDescription:
379005b650SMyungJoo Ham		The /sys/class/devfreq/.../polling_interval shows and sets
389005b650SMyungJoo Ham		the requested polling interval of the corresponding devfreq
399005b650SMyungJoo Ham		object. The values are represented in ms. If the value is
409005b650SMyungJoo Ham		less than 1 jiffy, it is considered to be 0, which means
419005b650SMyungJoo Ham		no polling. This value is meaningless if the governor is
429005b650SMyungJoo Ham		not polling; thus. If the governor is not using
439005b650SMyungJoo Ham		devfreq-provided central polling
449005b650SMyungJoo Ham		(/sys/class/devfreq/.../central_polling is 0), this value
459005b650SMyungJoo Ham		may be useless.
46ce26c5bbSMyungJoo Ham
47*e552bbafSJonghwa LeeWhat:		/sys/class/devfreq/.../trans_stat
48*e552bbafSJonghwa LeeDate:		October 2012
49*e552bbafSJonghwa LeeContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
50*e552bbafSJonghwa LeeDescrtiption:
51*e552bbafSJonghwa Lee		This ABI shows the statistics of devfreq behavior on a
52*e552bbafSJonghwa Lee		specific device. It shows the time spent in each state and
53*e552bbafSJonghwa Lee		the number of transitions between states.
54*e552bbafSJonghwa Lee		In order to activate this ABI, the devfreq target device
55*e552bbafSJonghwa Lee		driver should provide the list of available frequencies
56*e552bbafSJonghwa Lee		with its profile.
57*e552bbafSJonghwa Lee
58ce26c5bbSMyungJoo HamWhat:		/sys/class/devfreq/.../userspace/set_freq
59ce26c5bbSMyungJoo HamDate:		September 2011
60ce26c5bbSMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
61ce26c5bbSMyungJoo HamDescription:
62ce26c5bbSMyungJoo Ham		The /sys/class/devfreq/.../userspace/set_freq shows and
63ce26c5bbSMyungJoo Ham		sets the requested frequency for the devfreq object if
64ce26c5bbSMyungJoo Ham		userspace governor is in effect.
65d287de85SNishanth Menon
66d287de85SNishanth MenonWhat:		/sys/class/devfreq/.../available_frequencies
67d287de85SNishanth MenonDate:		October 2012
68d287de85SNishanth MenonContact:	Nishanth Menon <nm@ti.com>
69d287de85SNishanth MenonDescription:
70d287de85SNishanth Menon		The /sys/class/devfreq/.../available_frequencies shows
71d287de85SNishanth Menon		the available frequencies of the corresponding devfreq object.
72d287de85SNishanth Menon		This is a snapshot of available frequencies and not limited
73d287de85SNishanth Menon		by the min/max frequency restrictions.
74