Kconfig 8.6 KB

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