135 lines · plain
1What: /sys/class/devfreq/.../2Date: September 20113Contact: 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 the8 name of device using devfreq.9 10What: /sys/class/devfreq/.../name11Date: November 201912Contact: Chanwoo Choi <cw00.choi@samsung.com>13Description:14 The /sys/class/devfreq/.../name shows the name of device15 of the corresponding devfreq object.16 17What: /sys/class/devfreq/.../governor18Date: September 201119Contact: MyungJoo Ham <myungjoo.ham@samsung.com>20Description:21 The /sys/class/devfreq/.../governor show or set the name of the22 governor used by the corresponding devfreq object.23 24What: /sys/class/devfreq/.../cur_freq25Date: September 201126Contact: MyungJoo Ham <myungjoo.ham@samsung.com>27Description:28 The /sys/class/devfreq/.../cur_freq shows the current29 frequency of the corresponding devfreq object. Same as30 target_freq when get_cur_freq() is not implemented by31 devfreq driver.32 33What: /sys/class/devfreq/.../target_freq34Date: September 201235Contact: Rajagopal Venkat <rajagopal.venkat@linaro.org>36Description:37 The /sys/class/devfreq/.../target_freq shows the next governor38 predicted target frequency of the corresponding devfreq object.39 40What: /sys/class/devfreq/.../trans_stat41Date: October 201242Contact: MyungJoo Ham <myungjoo.ham@samsung.com>43Description:44 This ABI shows or clears the statistics of devfreq behavior45 on a specific device. It shows the time spent in each state46 and the number of transitions between states.47 In order to activate this ABI, the devfreq target device48 driver should provide the list of available frequencies49 with its profile. If need to reset the statistics of devfreq50 behavior on a specific device, enter 0(zero) to 'trans_stat'51 as following::52 53 echo 0 > /sys/class/devfreq/.../trans_stat54 55 If the transition table is bigger than PAGE_SIZE, reading56 this will return an -EFBIG error.57 58What: /sys/class/devfreq/.../available_frequencies59Date: October 201260Contact: Nishanth Menon <nm@ti.com>61Description:62 The /sys/class/devfreq/.../available_frequencies shows63 the available frequencies of the corresponding devfreq object.64 This is a snapshot of available frequencies and not limited65 by the min/max frequency restrictions.66 67What: /sys/class/devfreq/.../available_governors68Date: October 201269Contact: Nishanth Menon <nm@ti.com>70Description:71 The /sys/class/devfreq/.../available_governors shows72 currently available governors in the system.73 74What: /sys/class/devfreq/.../min_freq75Date: January 201376Contact: MyungJoo Ham <myungjoo.ham@samsung.com>77Description:78 The /sys/class/devfreq/.../min_freq shows and stores79 the minimum frequency requested by users. It is 0 if80 the user does not care. min_freq overrides the81 frequency requested by governors.82 83What: /sys/class/devfreq/.../max_freq84Date: January 201385Contact: MyungJoo Ham <myungjoo.ham@samsung.com>86Description:87 The /sys/class/devfreq/.../max_freq shows and stores88 the maximum frequency requested by users. It is 0 if89 the user does not care. max_freq overrides the90 frequency requested by governors and min_freq.91 The max_freq overrides min_freq because max_freq may be92 used to throttle devices to avoid overheating.93 94What: /sys/class/devfreq/.../polling_interval95Date: September 201196Contact: MyungJoo Ham <myungjoo.ham@samsung.com>97Description:98 The /sys/class/devfreq/.../polling_interval shows and sets99 the requested polling interval of the corresponding devfreq100 object. The values are represented in ms. If the value is101 less than 1 jiffy, it is considered to be 0, which means102 no polling. This value is meaningless if the governor is103 not polling.104 105 A list of governors that support the node:106 - simple_ondmenad107 - tegra_actmon108 109What: /sys/class/devfreq/.../userspace/set_freq110Date: September 2011111Contact: MyungJoo Ham <myungjoo.ham@samsung.com>112Description:113 The /sys/class/devfreq/.../userspace/set_freq shows and114 sets the requested frequency for the devfreq object if115 userspace governor is in effect.116 117 A list of governors that support the node:118 - userspace119 120What: /sys/class/devfreq/.../timer121Date: July 2020122Contact: Chanwoo Choi <cw00.choi@samsung.com>123Description:124 This ABI shows and stores the kind of work timer by users.125 This work timer is used by devfreq workqueue in order to126 monitor the device status such as utilization. The user127 can change the work timer on runtime according to their demand128 as following::129 130 echo deferrable > /sys/class/devfreq/.../timer131 echo delayed > /sys/class/devfreq/.../timer132 133 A list of governors that support the node:134 - simple_ondemand135