sysfs-class-devfreq 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. What: /sys/class/devfreq/.../
  2. Date: September 2011
  3. Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
  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/.../governor
  10. Date: September 2011
  11. Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
  12. Description:
  13. The /sys/class/devfreq/.../governor show or set the name of the
  14. governor used by the corresponding devfreq object.
  15. What: /sys/class/devfreq/.../cur_freq
  16. Date: September 2011
  17. Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
  18. Description:
  19. The /sys/class/devfreq/.../cur_freq shows the current
  20. frequency of the corresponding devfreq object. Same as
  21. target_freq when get_cur_freq() is not implemented by
  22. devfreq driver.
  23. What: /sys/class/devfreq/.../target_freq
  24. Date: September 2012
  25. Contact: Rajagopal Venkat <rajagopal.venkat@linaro.org>
  26. Description:
  27. The /sys/class/devfreq/.../target_freq shows the next governor
  28. predicted target frequency of the corresponding devfreq object.
  29. What: /sys/class/devfreq/.../polling_interval
  30. Date: September 2011
  31. Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
  32. Description:
  33. The /sys/class/devfreq/.../polling_interval shows and sets
  34. the requested polling interval of the corresponding devfreq
  35. object. The values are represented in ms. If the value is
  36. less than 1 jiffy, it is considered to be 0, which means
  37. no polling. This value is meaningless if the governor is
  38. not polling; thus. If the governor is not using
  39. devfreq-provided central polling
  40. (/sys/class/devfreq/.../central_polling is 0), this value
  41. may be useless.
  42. What: /sys/class/devfreq/.../trans_stat
  43. Date: October 2012
  44. Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
  45. Descrtiption:
  46. This ABI shows the statistics of devfreq behavior on a
  47. specific device. It shows the time spent in each state and
  48. the number of transitions between states.
  49. In order to activate this ABI, the devfreq target device
  50. driver should provide the list of available frequencies
  51. with its profile.
  52. What: /sys/class/devfreq/.../userspace/set_freq
  53. Date: September 2011
  54. Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
  55. Description:
  56. The /sys/class/devfreq/.../userspace/set_freq shows and
  57. sets the requested frequency for the devfreq object if
  58. userspace governor is in effect.
  59. What: /sys/class/devfreq/.../available_frequencies
  60. Date: October 2012
  61. Contact: Nishanth Menon <nm@ti.com>
  62. Description:
  63. The /sys/class/devfreq/.../available_frequencies shows
  64. the available frequencies of the corresponding devfreq object.
  65. This is a snapshot of available frequencies and not limited
  66. by the min/max frequency restrictions.
  67. What: /sys/class/devfreq/.../available_governors
  68. Date: October 2012
  69. Contact: Nishanth Menon <nm@ti.com>
  70. Description:
  71. The /sys/class/devfreq/.../available_governors shows
  72. currently available governors in the system.
  73. What: /sys/class/devfreq/.../min_freq
  74. Date: January 2013
  75. Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
  76. Description:
  77. The /sys/class/devfreq/.../min_freq shows and stores
  78. the minimum frequency requested by users. It is 0 if
  79. the user does not care. min_freq overrides the
  80. frequency requested by governors.
  81. What: /sys/class/devfreq/.../max_freq
  82. Date: January 2013
  83. Contact: MyungJoo Ham <myungjoo.ham@samsung.com>
  84. Description:
  85. The /sys/class/devfreq/.../max_freq shows and stores
  86. the maximum frequency requested by users. It is 0 if
  87. the user does not care. max_freq overrides the
  88. frequency requested by governors and min_freq.
  89. The max_freq overrides min_freq because max_freq may be
  90. used to throttle devices to avoid overheating.