Kconfig 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. config CPU_FREQ
  2. bool "CPU Frequency scaling"
  3. help
  4. CPU Frequency scaling allows you to change the clock speed of
  5. CPUs on the fly. This is a nice method to save power, because
  6. the lower the CPU clock speed, the less power the CPU consumes.
  7. Note that this driver doesn't automatically change the CPU
  8. clock speed, you need to either enable a dynamic cpufreq governor
  9. (see below) after boot, or use a userspace tool.
  10. For details, take a look at <file:Documentation/cpu-freq>.
  11. If in doubt, say N.
  12. if CPU_FREQ
  13. config CPU_FREQ_TABLE
  14. def_tristate m
  15. config CPU_FREQ_DEBUG
  16. bool "Enable CPUfreq debugging"
  17. help
  18. Say Y here to enable CPUfreq subsystem (including drivers)
  19. debugging. You will need to activate it via the kernel
  20. command line by passing
  21. cpufreq.debug=<value>
  22. To get <value>, add
  23. 1 to activate CPUfreq core debugging,
  24. 2 to activate CPUfreq drivers debugging, and
  25. 4 to activate CPUfreq governor debugging
  26. config CPU_FREQ_STAT
  27. tristate "CPU frequency translation statistics"
  28. select CPU_FREQ_TABLE
  29. default y
  30. help
  31. This driver exports CPU frequency statistics information through sysfs
  32. file system
  33. config CPU_FREQ_STAT_DETAILS
  34. bool "CPU frequency translation statistics details"
  35. depends on CPU_FREQ_STAT
  36. help
  37. This will show detail CPU frequency translation table in sysfs file
  38. system
  39. choice
  40. prompt "Default CPUFreq governor"
  41. default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110
  42. default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  43. help
  44. This option sets which CPUFreq governor shall be loaded at
  45. startup. If in doubt, select 'performance'.
  46. config CPU_FREQ_DEFAULT_GOV_PERFORMANCE
  47. bool "performance"
  48. select CPU_FREQ_GOV_PERFORMANCE
  49. help
  50. Use the CPUFreq governor 'performance' as default. This sets
  51. the frequency statically to the highest frequency supported by
  52. the CPU.
  53. config CPU_FREQ_DEFAULT_GOV_USERSPACE
  54. bool "userspace"
  55. select CPU_FREQ_GOV_USERSPACE
  56. help
  57. Use the CPUFreq governor 'userspace' as default. This allows
  58. you to set the CPU frequency manually or when an userspace
  59. program shall be able to set the CPU dynamically without having
  60. to enable the userspace governor manually.
  61. endchoice
  62. config CPU_FREQ_GOV_PERFORMANCE
  63. tristate "'performance' governor"
  64. help
  65. This cpufreq governor sets the frequency statically to the
  66. highest available CPU frequency.
  67. If in doubt, say Y.
  68. config CPU_FREQ_GOV_POWERSAVE
  69. tristate "'powersave' governor"
  70. help
  71. This cpufreq governor sets the frequency statically to the
  72. lowest available CPU frequency.
  73. If in doubt, say Y.
  74. config CPU_FREQ_GOV_USERSPACE
  75. tristate "'userspace' governor for userspace frequency scaling"
  76. help
  77. Enable this cpufreq governor when you either want to set the
  78. CPU frequency manually or when an userspace program shall
  79. be able to set the CPU dynamically, like on LART
  80. <http://www.lart.tudelft.nl/>
  81. For details, take a look at <file:Documentation/cpu-freq/>.
  82. If in doubt, say Y.
  83. config CPU_FREQ_GOV_ONDEMAND
  84. tristate "'ondemand' cpufreq policy governor"
  85. help
  86. 'ondemand' - This driver adds a dynamic cpufreq policy governor.
  87. The governor does a periodic polling and
  88. changes frequency based on the CPU utilization.
  89. The support for this governor depends on CPU capability to
  90. do fast frequency switching (i.e, very low latency frequency
  91. transitions).
  92. For details, take a look at linux/Documentation/cpu-freq.
  93. If in doubt, say N.
  94. endif # CPU_FREQ