Kconfig 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. menu "CPU Frequency scaling"
  2. config CPU_FREQ
  3. bool "CPU Frequency scaling"
  4. select CPU_FREQ_TABLE
  5. help
  6. CPU Frequency scaling allows you to change the clock speed of
  7. CPUs on the fly. This is a nice method to save power, because
  8. the lower the CPU clock speed, the less power the CPU consumes.
  9. Note that this driver doesn't automatically change the CPU
  10. clock speed, you need to either enable a dynamic cpufreq governor
  11. (see below) after boot, or use a userspace tool.
  12. For details, take a look at <file:Documentation/cpu-freq>.
  13. If in doubt, say N.
  14. if CPU_FREQ
  15. config CPU_FREQ_TABLE
  16. tristate
  17. config CPU_FREQ_GOV_COMMON
  18. bool
  19. config CPU_FREQ_STAT
  20. tristate "CPU frequency translation statistics"
  21. select CPU_FREQ_TABLE
  22. default y
  23. help
  24. This driver exports CPU frequency statistics information through sysfs
  25. file system.
  26. To compile this driver as a module, choose M here: the
  27. module will be called cpufreq_stats.
  28. If in doubt, say N.
  29. config CPU_FREQ_STAT_DETAILS
  30. bool "CPU frequency translation statistics details"
  31. depends on CPU_FREQ_STAT
  32. help
  33. This will show detail CPU frequency translation table in sysfs file
  34. system.
  35. If in doubt, say N.
  36. choice
  37. prompt "Default CPUFreq governor"
  38. default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1100_CPUFREQ || ARM_SA1110_CPUFREQ
  39. default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  40. help
  41. This option sets which CPUFreq governor shall be loaded at
  42. startup. If in doubt, select 'performance'.
  43. config CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  44. bool "performance"
  45. select CPU_FREQ_GOV_PERFORMANCE
  46. help
  47. Use the CPUFreq governor 'performance' as default. This sets
  48. the frequency statically to the highest frequency supported by
  49. the CPU.
  50. config CPU_FREQ_DEFAULT_GOV_POWERSAVE
  51. bool "powersave"
  52. depends on EXPERT
  53. select CPU_FREQ_GOV_POWERSAVE
  54. help
  55. Use the CPUFreq governor 'powersave' as default. This sets
  56. the frequency statically to the lowest frequency supported by
  57. the CPU.
  58. config CPU_FREQ_DEFAULT_GOV_USERSPACE
  59. bool "userspace"
  60. select CPU_FREQ_GOV_USERSPACE
  61. help
  62. Use the CPUFreq governor 'userspace' as default. This allows
  63. you to set the CPU frequency manually or when a userspace
  64. program shall be able to set the CPU dynamically without having
  65. to enable the userspace governor manually.
  66. config CPU_FREQ_DEFAULT_GOV_ONDEMAND
  67. bool "ondemand"
  68. select CPU_FREQ_GOV_ONDEMAND
  69. select CPU_FREQ_GOV_PERFORMANCE
  70. help
  71. Use the CPUFreq governor 'ondemand' as default. This allows
  72. you to get a full dynamic frequency capable system by simply
  73. loading your cpufreq low-level hardware driver.
  74. Be aware that not all cpufreq drivers support the ondemand
  75. governor. If unsure have a look at the help section of the
  76. driver. Fallback governor will be the performance governor.
  77. config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
  78. bool "conservative"
  79. select CPU_FREQ_GOV_CONSERVATIVE
  80. select CPU_FREQ_GOV_PERFORMANCE
  81. help
  82. Use the CPUFreq governor 'conservative' as default. This allows
  83. you to get a full dynamic frequency capable system by simply
  84. loading your cpufreq low-level hardware driver.
  85. Be aware that not all cpufreq drivers support the conservative
  86. governor. If unsure have a look at the help section of the
  87. driver. Fallback governor will be the performance governor.
  88. endchoice
  89. config CPU_FREQ_GOV_PERFORMANCE
  90. tristate "'performance' governor"
  91. help
  92. This cpufreq governor sets the frequency statically to the
  93. highest available CPU frequency.
  94. To compile this driver as a module, choose M here: the
  95. module will be called cpufreq_performance.
  96. If in doubt, say Y.
  97. config CPU_FREQ_GOV_POWERSAVE
  98. tristate "'powersave' governor"
  99. help
  100. This cpufreq governor sets the frequency statically to the
  101. lowest available CPU frequency.
  102. To compile this driver as a module, choose M here: the
  103. module will be called cpufreq_powersave.
  104. If in doubt, say Y.
  105. config CPU_FREQ_GOV_USERSPACE
  106. tristate "'userspace' governor for userspace frequency scaling"
  107. help
  108. Enable this cpufreq governor when you either want to set the
  109. CPU frequency manually or when a userspace program shall
  110. be able to set the CPU dynamically, like on LART
  111. <http://www.lartmaker.nl/>.
  112. To compile this driver as a module, choose M here: the
  113. module will be called cpufreq_userspace.
  114. For details, take a look at <file:Documentation/cpu-freq/>.
  115. If in doubt, say Y.
  116. config CPU_FREQ_GOV_ONDEMAND
  117. tristate "'ondemand' cpufreq policy governor"
  118. select CPU_FREQ_TABLE
  119. select CPU_FREQ_GOV_COMMON
  120. help
  121. 'ondemand' - This driver adds a dynamic cpufreq policy governor.
  122. The governor does a periodic polling and
  123. changes frequency based on the CPU utilization.
  124. The support for this governor depends on CPU capability to
  125. do fast frequency switching (i.e, very low latency frequency
  126. transitions).
  127. To compile this driver as a module, choose M here: the
  128. module will be called cpufreq_ondemand.
  129. For details, take a look at linux/Documentation/cpu-freq.
  130. If in doubt, say N.
  131. config CPU_FREQ_GOV_CONSERVATIVE
  132. tristate "'conservative' cpufreq governor"
  133. depends on CPU_FREQ
  134. select CPU_FREQ_GOV_COMMON
  135. help
  136. 'conservative' - this driver is rather similar to the 'ondemand'
  137. governor both in its source code and its purpose, the difference is
  138. its optimisation for better suitability in a battery powered
  139. environment. The frequency is gracefully increased and decreased
  140. rather than jumping to 100% when speed is required.
  141. If you have a desktop machine then you should really be considering
  142. the 'ondemand' governor instead, however if you are using a laptop,
  143. PDA or even an AMD64 based computer (due to the unacceptable
  144. step-by-step latency issues between the minimum and maximum frequency
  145. transitions in the CPU) you will probably want to use this governor.
  146. To compile this driver as a module, choose M here: the
  147. module will be called cpufreq_conservative.
  148. For details, take a look at linux/Documentation/cpu-freq.
  149. If in doubt, say N.
  150. config GENERIC_CPUFREQ_CPU0
  151. tristate "Generic CPU0 cpufreq driver"
  152. depends on HAVE_CLK && REGULATOR && PM_OPP && OF
  153. select CPU_FREQ_TABLE
  154. help
  155. This adds a generic cpufreq driver for CPU0 frequency management.
  156. It supports both uniprocessor (UP) and symmetric multiprocessor (SMP)
  157. systems which share clock and voltage across all CPUs.
  158. If in doubt, say N.
  159. menu "x86 CPU frequency scaling drivers"
  160. depends on X86
  161. source "drivers/cpufreq/Kconfig.x86"
  162. endmenu
  163. menu "ARM CPU frequency scaling drivers"
  164. depends on ARM
  165. source "drivers/cpufreq/Kconfig.arm"
  166. endmenu
  167. menu "AVR32 CPU frequency scaling drivers"
  168. depends on AVR32
  169. config AVR32_AT32AP_CPUFREQ
  170. bool "CPU frequency driver for AT32AP"
  171. depends on PLATFORM_AT32AP
  172. default n
  173. help
  174. This enables the CPU frequency driver for AT32AP processors.
  175. If in doubt, say N.
  176. endmenu
  177. menu "CPUFreq processor drivers"
  178. depends on IA64
  179. config IA64_ACPI_CPUFREQ
  180. tristate "ACPI Processor P-States driver"
  181. select CPU_FREQ_TABLE
  182. depends on ACPI_PROCESSOR
  183. help
  184. This driver adds a CPUFreq driver which utilizes the ACPI
  185. Processor Performance States.
  186. For details, take a look at <file:Documentation/cpu-freq/>.
  187. If in doubt, say N.
  188. endmenu
  189. menu "MIPS CPUFreq processor drivers"
  190. depends on MIPS
  191. config LOONGSON2_CPUFREQ
  192. tristate "Loongson2 CPUFreq Driver"
  193. select CPU_FREQ_TABLE
  194. help
  195. This option adds a CPUFreq driver for loongson processors which
  196. support software configurable cpu frequency.
  197. Loongson2F and it's successors support this feature.
  198. For details, take a look at <file:Documentation/cpu-freq/>.
  199. If in doubt, say N.
  200. endmenu
  201. menu "PowerPC CPU frequency scaling drivers"
  202. depends on PPC32 || PPC64
  203. source "drivers/cpufreq/Kconfig.powerpc"
  204. endmenu
  205. menu "SPARC CPU frequency scaling drivers"
  206. depends on SPARC64
  207. config SPARC_US3_CPUFREQ
  208. tristate "UltraSPARC-III CPU Frequency driver"
  209. select CPU_FREQ_TABLE
  210. help
  211. This adds the CPUFreq driver for UltraSPARC-III processors.
  212. For details, take a look at <file:Documentation/cpu-freq>.
  213. If in doubt, say N.
  214. config SPARC_US2E_CPUFREQ
  215. tristate "UltraSPARC-IIe CPU Frequency driver"
  216. select CPU_FREQ_TABLE
  217. help
  218. This adds the CPUFreq driver for UltraSPARC-IIe processors.
  219. For details, take a look at <file:Documentation/cpu-freq>.
  220. If in doubt, say N.
  221. endmenu
  222. menu "SH CPU Frequency scaling"
  223. depends on SUPERH
  224. config SH_CPU_FREQ
  225. tristate "SuperH CPU Frequency driver"
  226. select CPU_FREQ_TABLE
  227. help
  228. This adds the cpufreq driver for SuperH. Any CPU that supports
  229. clock rate rounding through the clock framework can use this
  230. driver. While it will make the kernel slightly larger, this is
  231. harmless for CPUs that don't support rate rounding. The driver
  232. will also generate a notice in the boot log before disabling
  233. itself if the CPU in question is not capable of rate rounding.
  234. For details, take a look at <file:Documentation/cpu-freq>.
  235. If unsure, say N.
  236. endmenu
  237. endif
  238. endmenu