xref: /linux/Documentation/ABI/testing/sysfs-class-devfreq-event (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1*6f0e4651SMauro Carvalho ChehabWhat:		/sys/class/devfreq-event/event<x>/
2775fa8c3SChanwoo ChoiDate:		January 2017
3775fa8c3SChanwoo ChoiContact:	Chanwoo Choi <cw00.choi@samsung.com>
4775fa8c3SChanwoo ChoiDescription:
5775fa8c3SChanwoo Choi		Provide a place in sysfs for the devfreq-event objects.
6775fa8c3SChanwoo Choi		This allows accessing various devfreq-event specific variables.
7*6f0e4651SMauro Carvalho Chehab		The name of devfreq-event object denoted as 'event<x>' which
8775fa8c3SChanwoo Choi		includes the unique number of 'x' for each devfreq-event object.
9775fa8c3SChanwoo Choi
10*6f0e4651SMauro Carvalho ChehabWhat:		/sys/class/devfreq-event/event<x>/name
11775fa8c3SChanwoo ChoiDate:		January 2017
12775fa8c3SChanwoo ChoiContact:	Chanwoo Choi <cw00.choi@samsung.com>
13775fa8c3SChanwoo ChoiDescription:
14*6f0e4651SMauro Carvalho Chehab		The /sys/class/devfreq-event/event<x>/name attribute contains
15775fa8c3SChanwoo Choi		the name of the devfreq-event object. This attribute is
16775fa8c3SChanwoo Choi		read-only.
17775fa8c3SChanwoo Choi
18*6f0e4651SMauro Carvalho ChehabWhat:		/sys/class/devfreq-event/event<x>/enable_count
19775fa8c3SChanwoo ChoiDate:		January 2017
20775fa8c3SChanwoo ChoiContact:	Chanwoo Choi <cw00.choi@samsung.com>
21775fa8c3SChanwoo ChoiDescription:
22*6f0e4651SMauro Carvalho Chehab		The /sys/class/devfreq-event/event<x>/enable_count attribute
23775fa8c3SChanwoo Choi		contains the reference count to enable the devfreq-event
24775fa8c3SChanwoo Choi		object. If the device is enabled, the value of attribute is
25775fa8c3SChanwoo Choi		greater than zero.
26