xref: /linux/Documentation/ABI/testing/sysfs-class-devfreq (revision 9005b65099ee4f14b6be691c4574612fe947531a)
1*9005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../
2*9005b650SMyungJoo HamDate:		September 2011
3*9005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
4*9005b650SMyungJoo HamDescription:
5*9005b650SMyungJoo Ham		Provide a place in sysfs for the devfreq objects.
6*9005b650SMyungJoo Ham		This allows accessing various devfreq specific variables.
7*9005b650SMyungJoo Ham		The name of devfreq object denoted as ... is same as the
8*9005b650SMyungJoo Ham		name of device using devfreq.
9*9005b650SMyungJoo Ham
10*9005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../governor
11*9005b650SMyungJoo HamDate:		September 2011
12*9005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
13*9005b650SMyungJoo HamDescription:
14*9005b650SMyungJoo Ham		The /sys/class/devfreq/.../governor shows the name of the
15*9005b650SMyungJoo Ham		governor used by the corresponding devfreq object.
16*9005b650SMyungJoo Ham
17*9005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../cur_freq
18*9005b650SMyungJoo HamDate:		September 2011
19*9005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
20*9005b650SMyungJoo HamDescription:
21*9005b650SMyungJoo Ham		The /sys/class/devfreq/.../cur_freq shows the current
22*9005b650SMyungJoo Ham		frequency of the corresponding devfreq object.
23*9005b650SMyungJoo Ham
24*9005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../central_polling
25*9005b650SMyungJoo HamDate:		September 2011
26*9005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
27*9005b650SMyungJoo HamDescription:
28*9005b650SMyungJoo Ham		The /sys/class/devfreq/.../central_polling shows whether
29*9005b650SMyungJoo Ham		the devfreq ojbect is using devfreq-provided central
30*9005b650SMyungJoo Ham		polling mechanism or not.
31*9005b650SMyungJoo Ham
32*9005b650SMyungJoo HamWhat:		/sys/class/devfreq/.../polling_interval
33*9005b650SMyungJoo HamDate:		September 2011
34*9005b650SMyungJoo HamContact:	MyungJoo Ham <myungjoo.ham@samsung.com>
35*9005b650SMyungJoo HamDescription:
36*9005b650SMyungJoo Ham		The /sys/class/devfreq/.../polling_interval shows and sets
37*9005b650SMyungJoo Ham		the requested polling interval of the corresponding devfreq
38*9005b650SMyungJoo Ham		object. The values are represented in ms. If the value is
39*9005b650SMyungJoo Ham		less than 1 jiffy, it is considered to be 0, which means
40*9005b650SMyungJoo Ham		no polling. This value is meaningless if the governor is
41*9005b650SMyungJoo Ham		not polling; thus. If the governor is not using
42*9005b650SMyungJoo Ham		devfreq-provided central polling
43*9005b650SMyungJoo Ham		(/sys/class/devfreq/.../central_polling is 0), this value
44*9005b650SMyungJoo Ham		may be useless.
45