Kconfig 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. menu "CPU Frequency scaling"
  2. config CPU_FREQ
  3. bool "CPU Frequency scaling"
  4. help
  5. CPU Frequency scaling allows you to change the clock speed of
  6. CPUs on the fly. This is a nice method to save power, because
  7. the lower the CPU clock speed, the less power the CPU consumes.
  8. Note that this driver doesn't automatically change the CPU
  9. clock speed, you need to either enable a dynamic cpufreq governor
  10. (see below) after boot, or use a userspace tool.
  11. For details, take a look at <file:Documentation/cpu-freq>.
  12. If in doubt, say N.
  13. config SEC_DVFS
  14. bool "DVFS job"
  15. default n
  16. depends on CPU_FREQ
  17. if CPU_FREQ
  18. config CPU_FREQ_TABLE
  19. tristate
  20. config CPU_FREQ_STAT
  21. tristate "CPU frequency translation statistics"
  22. select CPU_FREQ_TABLE
  23. default y
  24. help
  25. This driver exports CPU frequency statistics information through sysfs
  26. file system.
  27. To compile this driver as a module, choose M here: the
  28. module will be called cpufreq_stats.
  29. If in doubt, say N.
  30. config CPU_FREQ_STAT_DETAILS
  31. bool "CPU frequency translation statistics details"
  32. depends on CPU_FREQ_STAT
  33. help
  34. This will show detail CPU frequency translation table in sysfs file
  35. system.
  36. If in doubt, say N.
  37. config CPU_FREQ_LIMIT
  38. bool "CPU frequency limit API"
  39. default n
  40. help
  41. This driver supports API to limit CPU frequency.
  42. choice
  43. prompt "Default CPUFreq governor"
  44. default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110
  45. default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  46. help
  47. This option sets which CPUFreq governor shall be loaded at
  48. startup. If in doubt, select 'performance'.
  49. config CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  50. bool "performance"
  51. select CPU_FREQ_GOV_PERFORMANCE
  52. help
  53. Use the CPUFreq governor 'performance' as default. This sets
  54. the frequency statically to the highest frequency supported by
  55. the CPU.
  56. config CPU_FREQ_DEFAULT_GOV_POWERSAVE
  57. bool "powersave"
  58. depends on EXPERT
  59. select CPU_FREQ_GOV_POWERSAVE
  60. help
  61. Use the CPUFreq governor 'powersave' as default. This sets
  62. the frequency statically to the lowest frequency supported by
  63. the CPU.
  64. config CPU_FREQ_DEFAULT_GOV_USERSPACE
  65. bool "userspace"
  66. select CPU_FREQ_GOV_USERSPACE
  67. help
  68. Use the CPUFreq governor 'userspace' as default. This allows
  69. you to set the CPU frequency manually or when a userspace
  70. program shall be able to set the CPU dynamically without having
  71. to enable the userspace governor manually.
  72. config CPU_FREQ_DEFAULT_GOV_ONDEMAND
  73. bool "ondemand"
  74. select CPU_FREQ_GOV_ONDEMAND
  75. select CPU_FREQ_GOV_PERFORMANCE
  76. help
  77. Use the CPUFreq governor 'ondemand' as default. This allows
  78. you to get a full dynamic frequency capable system by simply
  79. loading your cpufreq low-level hardware driver.
  80. Be aware that not all cpufreq drivers support the ondemand
  81. governor. If unsure have a look at the help section of the
  82. driver. Fallback governor will be the performance governor.
  83. config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
  84. bool "conservative"
  85. select CPU_FREQ_GOV_CONSERVATIVE
  86. select CPU_FREQ_GOV_PERFORMANCE
  87. help
  88. Use the CPUFreq governor 'conservative' as default. This allows
  89. you to get a full dynamic frequency capable system by simply
  90. loading your cpufreq low-level hardware driver.
  91. Be aware that not all cpufreq drivers support the conservative
  92. governor. If unsure have a look at the help section of the
  93. driver. Fallback governor will be the performance governor.
  94. config CPU_FREQ_DEFAULT_GOV_INTERACTIVE
  95. bool "interactive"
  96. select CPU_FREQ_GOV_INTERACTIVE
  97. help
  98. Use the CPUFreq governor 'interactive' as default. This allows
  99. you to get a full dynamic cpu frequency capable system by simply
  100. loading your cpufreq low-level hardware driver, using the
  101. 'interactive' governor for latency-sensitive workloads.
  102. endchoice
  103. config CPU_FREQ_GOV_PERFORMANCE
  104. tristate "'performance' governor"
  105. help
  106. This cpufreq governor sets the frequency statically to the
  107. highest available CPU frequency.
  108. To compile this driver as a module, choose M here: the
  109. module will be called cpufreq_performance.
  110. If in doubt, say Y.
  111. config CPU_FREQ_GOV_POWERSAVE
  112. tristate "'powersave' governor"
  113. help
  114. This cpufreq governor sets the frequency statically to the
  115. lowest available CPU frequency.
  116. To compile this driver as a module, choose M here: the
  117. module will be called cpufreq_powersave.
  118. If in doubt, say Y.
  119. config CPU_FREQ_GOV_USERSPACE
  120. tristate "'userspace' governor for userspace frequency scaling"
  121. help
  122. Enable this cpufreq governor when you either want to set the
  123. CPU frequency manually or when a userspace program shall
  124. be able to set the CPU dynamically, like on LART
  125. <http://www.lartmaker.nl/>.
  126. To compile this driver as a module, choose M here: the
  127. module will be called cpufreq_userspace.
  128. For details, take a look at <file:Documentation/cpu-freq/>.
  129. If in doubt, say Y.
  130. config CPU_FREQ_GOV_ONDEMAND
  131. tristate "'ondemand' cpufreq policy governor"
  132. select CPU_FREQ_TABLE
  133. help
  134. 'ondemand' - This driver adds a dynamic cpufreq policy governor.
  135. The governor does a periodic polling and
  136. changes frequency based on the CPU utilization.
  137. The support for this governor depends on CPU capability to
  138. do fast frequency switching (i.e, very low latency frequency
  139. transitions).
  140. To compile this driver as a module, choose M here: the
  141. module will be called cpufreq_ondemand.
  142. For details, take a look at linux/Documentation/cpu-freq.
  143. If in doubt, say N.
  144. config CPU_FREQ_GOV_INTERACTIVE
  145. tristate "'interactive' cpufreq policy governor"
  146. help
  147. 'interactive' - This driver adds a dynamic cpufreq policy governor
  148. designed for latency-sensitive workloads.
  149. This governor attempts to reduce the latency of clock
  150. increases so that the system is more responsive to
  151. interactive workloads.
  152. To compile this driver as a module, choose M here: the
  153. module will be called cpufreq_interactive.
  154. For details, take a look at linux/Documentation/cpu-freq.
  155. If in doubt, say N.
  156. config CPU_FREQ_GOV_CONSERVATIVE
  157. tristate "'conservative' cpufreq governor"
  158. depends on CPU_FREQ
  159. help
  160. 'conservative' - this driver is rather similar to the 'ondemand'
  161. governor both in its source code and its purpose, the difference is
  162. its optimisation for better suitability in a battery powered
  163. environment. The frequency is gracefully increased and decreased
  164. rather than jumping to 100% when speed is required.
  165. If you have a desktop machine then you should really be considering
  166. the 'ondemand' governor instead, however if you are using a laptop,
  167. PDA or even an AMD64 based computer (due to the unacceptable
  168. step-by-step latency issues between the minimum and maximum frequency
  169. transitions in the CPU) you will probably want to use this governor.
  170. To compile this driver as a module, choose M here: the
  171. module will be called cpufreq_conservative.
  172. For details, take a look at linux/Documentation/cpu-freq.
  173. If in doubt, say N.
  174. menu "x86 CPU frequency scaling drivers"
  175. depends on X86
  176. source "drivers/cpufreq/Kconfig.x86"
  177. endmenu
  178. menu "ARM CPU frequency scaling drivers"
  179. depends on ARM
  180. source "drivers/cpufreq/Kconfig.arm"
  181. endmenu
  182. menu "PowerPC CPU frequency scaling drivers"
  183. depends on PPC32 || PPC64
  184. source "drivers/cpufreq/Kconfig.powerpc"
  185. endmenu
  186. endif
  187. endmenu