hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/Documentation/ABI/testing/sysfs-class-devfreq
....@@ -54,13 +54,17 @@
5454 What: /sys/class/devfreq/.../trans_stat
5555 Date: October 2012
5656 Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
57
-Descrtiption:
58
- 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.
57
+Description:
58
+ This ABI shows or clears the statistics of devfreq behavior
59
+ on a specific device. It shows the time spent in each state
60
+ and the number of transitions between states.
6161 In order to activate this ABI, the devfreq target device
6262 driver should provide the list of available frequencies
63
- with its profile.
63
+ with its profile. If need to reset the statistics of devfreq
64
+ behavior on a specific device, enter 0(zero) to 'trans_stat'
65
+ as following::
66
+
67
+ echo 0 > /sys/class/devfreq/.../trans_stat
6468
6569 What: /sys/class/devfreq/.../userspace/set_freq
6670 Date: September 2011
....@@ -105,3 +109,16 @@
105109 frequency requested by governors and min_freq.
106110 The max_freq overrides min_freq because max_freq may be
107111 used to throttle devices to avoid overheating.
112
+
113
+What: /sys/class/devfreq/.../timer
114
+Date: July 2020
115
+Contact: Chanwoo Choi <cw00.choi@samsung.com>
116
+Description:
117
+ This ABI shows and stores the kind of work timer by users.
118
+ This work timer is used by devfreq workqueue in order to
119
+ monitor the device status such as utilization. The user
120
+ can change the work timer on runtime according to their demand
121
+ as following::
122
+
123
+ echo deferrable > /sys/class/devfreq/.../timer
124
+ echo delayed > /sys/class/devfreq/.../timer