sysfs-class-devfreq 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. What: /sys/class/devfreq/.../
  2. Date: September 2011
  3. Contact: MyungJoo Ham <[email protected]>
  4. Description:
  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 the
  8. name of device using devfreq.
  9. What: /sys/class/devfreq/.../name
  10. Date: November 2019
  11. Contact: Chanwoo Choi <[email protected]>
  12. Description:
  13. The /sys/class/devfreq/.../name shows the name of device
  14. of the corresponding devfreq object.
  15. What: /sys/class/devfreq/.../governor
  16. Date: September 2011
  17. Contact: MyungJoo Ham <[email protected]>
  18. Description:
  19. The /sys/class/devfreq/.../governor show or set the name of the
  20. governor used by the corresponding devfreq object.
  21. What: /sys/class/devfreq/.../cur_freq
  22. Date: September 2011
  23. Contact: MyungJoo Ham <[email protected]>
  24. Description:
  25. The /sys/class/devfreq/.../cur_freq shows the current
  26. frequency of the corresponding devfreq object. Same as
  27. target_freq when get_cur_freq() is not implemented by
  28. devfreq driver.
  29. What: /sys/class/devfreq/.../target_freq
  30. Date: September 2012
  31. Contact: Rajagopal Venkat <[email protected]>
  32. Description:
  33. The /sys/class/devfreq/.../target_freq shows the next governor
  34. predicted target frequency of the corresponding devfreq object.
  35. What: /sys/class/devfreq/.../trans_stat
  36. Date: October 2012
  37. Contact: MyungJoo Ham <[email protected]>
  38. Description:
  39. This ABI shows or clears the statistics of devfreq behavior
  40. on a specific device. It shows the time spent in each state
  41. and the number of transitions between states.
  42. In order to activate this ABI, the devfreq target device
  43. driver should provide the list of available frequencies
  44. with its profile. If need to reset the statistics of devfreq
  45. behavior on a specific device, enter 0(zero) to 'trans_stat'
  46. as following::
  47. echo 0 > /sys/class/devfreq/.../trans_stat
  48. What: /sys/class/devfreq/.../available_frequencies
  49. Date: October 2012
  50. Contact: Nishanth Menon <[email protected]>
  51. Description:
  52. The /sys/class/devfreq/.../available_frequencies shows
  53. the available frequencies of the corresponding devfreq object.
  54. This is a snapshot of available frequencies and not limited
  55. by the min/max frequency restrictions.
  56. What: /sys/class/devfreq/.../available_governors
  57. Date: October 2012
  58. Contact: Nishanth Menon <[email protected]>
  59. Description:
  60. The /sys/class/devfreq/.../available_governors shows
  61. currently available governors in the system.
  62. What: /sys/class/devfreq/.../min_freq
  63. Date: January 2013
  64. Contact: MyungJoo Ham <[email protected]>
  65. Description:
  66. The /sys/class/devfreq/.../min_freq shows and stores
  67. the minimum frequency requested by users. It is 0 if
  68. the user does not care. min_freq overrides the
  69. frequency requested by governors.
  70. What: /sys/class/devfreq/.../max_freq
  71. Date: January 2013
  72. Contact: MyungJoo Ham <[email protected]>
  73. Description:
  74. The /sys/class/devfreq/.../max_freq shows and stores
  75. the maximum frequency requested by users. It is 0 if
  76. the user does not care. max_freq overrides the
  77. frequency requested by governors and min_freq.
  78. The max_freq overrides min_freq because max_freq may be
  79. used to throttle devices to avoid overheating.
  80. What: /sys/class/devfreq/.../polling_interval
  81. Date: September 2011
  82. Contact: MyungJoo Ham <[email protected]>
  83. Description:
  84. The /sys/class/devfreq/.../polling_interval shows and sets
  85. the requested polling interval of the corresponding devfreq
  86. object. The values are represented in ms. If the value is
  87. less than 1 jiffy, it is considered to be 0, which means
  88. no polling. This value is meaningless if the governor is
  89. not polling.
  90. A list of governors that support the node:
  91. - simple_ondmenad
  92. - tegra_actmon
  93. What: /sys/class/devfreq/.../userspace/set_freq
  94. Date: September 2011
  95. Contact: MyungJoo Ham <[email protected]>
  96. Description:
  97. The /sys/class/devfreq/.../userspace/set_freq shows and
  98. sets the requested frequency for the devfreq object if
  99. userspace governor is in effect.
  100. A list of governors that support the node:
  101. - userspace
  102. What: /sys/class/devfreq/.../timer
  103. Date: July 2020
  104. Contact: Chanwoo Choi <[email protected]>
  105. Description:
  106. This ABI shows and stores the kind of work timer by users.
  107. This work timer is used by devfreq workqueue in order to
  108. monitor the device status such as utilization. The user
  109. can change the work timer on runtime according to their demand
  110. as following::
  111. echo deferrable > /sys/class/devfreq/.../timer
  112. echo delayed > /sys/class/devfreq/.../timer
  113. A list of governors that support the node:
  114. - simple_ondemand