xref: /linux/drivers/cpufreq/Kconfig (revision 109df086e002f253569de47e3a709403d3388a02)
1bb0a56ecSDave Jonesmenu "CPU Frequency scaling"
2bb0a56ecSDave Jones
31da177e4SLinus Torvaldsconfig CPU_FREQ
41da177e4SLinus Torvalds	bool "CPU Frequency scaling"
51da177e4SLinus Torvalds	help
61da177e4SLinus Torvalds	  CPU Frequency scaling allows you to change the clock speed of
71da177e4SLinus Torvalds	  CPUs on the fly. This is a nice method to save power, because
81da177e4SLinus Torvalds	  the lower the CPU clock speed, the less power the CPU consumes.
91da177e4SLinus Torvalds
101da177e4SLinus Torvalds	  Note that this driver doesn't automatically change the CPU
111da177e4SLinus Torvalds	  clock speed, you need to either enable a dynamic cpufreq governor
121da177e4SLinus Torvalds	  (see below) after boot, or use a userspace tool.
131da177e4SLinus Torvalds
141da177e4SLinus Torvalds	  For details, take a look at <file:Documentation/cpu-freq>.
151da177e4SLinus Torvalds
161da177e4SLinus Torvalds	  If in doubt, say N.
171da177e4SLinus Torvalds
181da177e4SLinus Torvaldsif CPU_FREQ
191da177e4SLinus Torvalds
201e15f295SLarry Fingerconfig CPU_FREQ_GOV_COMMON
211e15f295SLarry Finger	bool
221e15f295SLarry Finger
231da177e4SLinus Torvaldsconfig CPU_FREQ_STAT
241da177e4SLinus Torvalds	tristate "CPU frequency translation statistics"
251da177e4SLinus Torvalds	default y
261da177e4SLinus Torvalds	help
271da177e4SLinus Torvalds	  This driver exports CPU frequency statistics information through sysfs
289101be53SMike Frysinger	  file system.
299101be53SMike Frysinger
309101be53SMike Frysinger	  To compile this driver as a module, choose M here: the
319101be53SMike Frysinger	  module will be called cpufreq_stats.
329101be53SMike Frysinger
339101be53SMike Frysinger	  If in doubt, say N.
341da177e4SLinus Torvalds
351da177e4SLinus Torvaldsconfig CPU_FREQ_STAT_DETAILS
361da177e4SLinus Torvalds	bool "CPU frequency translation statistics details"
371da177e4SLinus Torvalds	depends on CPU_FREQ_STAT
381da177e4SLinus Torvalds	help
391da177e4SLinus Torvalds	  This will show detail CPU frequency translation table in sysfs file
409101be53SMike Frysinger	  system.
419101be53SMike Frysinger
429101be53SMike Frysinger	  If in doubt, say N.
431da177e4SLinus Torvalds
441da177e4SLinus Torvaldschoice
451da177e4SLinus Torvalds	prompt "Default CPUFreq governor"
46559f56c7SAlexander Shiyan	default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1100_CPUFREQ || ARM_SA1110_CPUFREQ
471da177e4SLinus Torvalds	default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
481da177e4SLinus Torvalds	help
491da177e4SLinus Torvalds	  This option sets which CPUFreq governor shall be loaded at
501da177e4SLinus Torvalds	  startup. If in doubt, select 'performance'.
511da177e4SLinus Torvalds
521da177e4SLinus Torvaldsconfig CPU_FREQ_DEFAULT_GOV_PERFORMANCE
531da177e4SLinus Torvalds	bool "performance"
541da177e4SLinus Torvalds	select CPU_FREQ_GOV_PERFORMANCE
551da177e4SLinus Torvalds	help
561da177e4SLinus Torvalds	  Use the CPUFreq governor 'performance' as default. This sets
571da177e4SLinus Torvalds	  the frequency statically to the highest frequency supported by
581da177e4SLinus Torvalds	  the CPU.
591da177e4SLinus Torvalds
6030d221dbSAlessandro Guidoconfig CPU_FREQ_DEFAULT_GOV_POWERSAVE
6130d221dbSAlessandro Guido	bool "powersave"
626a108a14SDavid Rientjes	depends on EXPERT
6330d221dbSAlessandro Guido	select CPU_FREQ_GOV_POWERSAVE
6430d221dbSAlessandro Guido	help
6530d221dbSAlessandro Guido	  Use the CPUFreq governor 'powersave' as default. This sets
6630d221dbSAlessandro Guido	  the frequency statically to the lowest frequency supported by
6730d221dbSAlessandro Guido	  the CPU.
6830d221dbSAlessandro Guido
691da177e4SLinus Torvaldsconfig CPU_FREQ_DEFAULT_GOV_USERSPACE
701da177e4SLinus Torvalds	bool "userspace"
711da177e4SLinus Torvalds	select CPU_FREQ_GOV_USERSPACE
721da177e4SLinus Torvalds	help
731da177e4SLinus Torvalds	  Use the CPUFreq governor 'userspace' as default. This allows
740211a9c8SFrederik Schwarzer	  you to set the CPU frequency manually or when a userspace
751da177e4SLinus Torvalds	  program shall be able to set the CPU dynamically without having
761da177e4SLinus Torvalds	  to enable the userspace governor manually.
771da177e4SLinus Torvalds
781c256245SThomas Renningerconfig CPU_FREQ_DEFAULT_GOV_ONDEMAND
791c256245SThomas Renninger	bool "ondemand"
801c256245SThomas Renninger	select CPU_FREQ_GOV_ONDEMAND
811c256245SThomas Renninger	select CPU_FREQ_GOV_PERFORMANCE
821c256245SThomas Renninger	help
831c256245SThomas Renninger	  Use the CPUFreq governor 'ondemand' as default. This allows
841c256245SThomas Renninger	  you to get a full dynamic frequency capable system by simply
851c256245SThomas Renninger	  loading your cpufreq low-level hardware driver.
861c256245SThomas Renninger	  Be aware that not all cpufreq drivers support the ondemand
871c256245SThomas Renninger	  governor. If unsure have a look at the help section of the
881c256245SThomas Renninger	  driver. Fallback governor will be the performance governor.
891c256245SThomas Renninger
901c256245SThomas Renningerconfig CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
911c256245SThomas Renninger	bool "conservative"
921c256245SThomas Renninger	select CPU_FREQ_GOV_CONSERVATIVE
931c256245SThomas Renninger	select CPU_FREQ_GOV_PERFORMANCE
941c256245SThomas Renninger	help
951c256245SThomas Renninger	  Use the CPUFreq governor 'conservative' as default. This allows
961c256245SThomas Renninger	  you to get a full dynamic frequency capable system by simply
971c256245SThomas Renninger	  loading your cpufreq low-level hardware driver.
981c256245SThomas Renninger	  Be aware that not all cpufreq drivers support the conservative
991c256245SThomas Renninger	  governor. If unsure have a look at the help section of the
1001c256245SThomas Renninger	  driver. Fallback governor will be the performance governor.
1011da177e4SLinus Torvaldsendchoice
1021da177e4SLinus Torvalds
1031da177e4SLinus Torvaldsconfig CPU_FREQ_GOV_PERFORMANCE
1041da177e4SLinus Torvalds	tristate "'performance' governor"
1051da177e4SLinus Torvalds	help
1061da177e4SLinus Torvalds	  This cpufreq governor sets the frequency statically to the
1071da177e4SLinus Torvalds	  highest available CPU frequency.
1081da177e4SLinus Torvalds
1099101be53SMike Frysinger	  To compile this driver as a module, choose M here: the
1109101be53SMike Frysinger	  module will be called cpufreq_performance.
1119101be53SMike Frysinger
1121da177e4SLinus Torvalds	  If in doubt, say Y.
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvaldsconfig CPU_FREQ_GOV_POWERSAVE
1151da177e4SLinus Torvalds	tristate "'powersave' governor"
1161da177e4SLinus Torvalds	help
1171da177e4SLinus Torvalds	  This cpufreq governor sets the frequency statically to the
1181da177e4SLinus Torvalds	  lowest available CPU frequency.
1191da177e4SLinus Torvalds
1209101be53SMike Frysinger	  To compile this driver as a module, choose M here: the
1219101be53SMike Frysinger	  module will be called cpufreq_powersave.
1229101be53SMike Frysinger
1231da177e4SLinus Torvalds	  If in doubt, say Y.
1241da177e4SLinus Torvalds
1251da177e4SLinus Torvaldsconfig CPU_FREQ_GOV_USERSPACE
1261da177e4SLinus Torvalds	tristate "'userspace' governor for userspace frequency scaling"
1271da177e4SLinus Torvalds	help
1281da177e4SLinus Torvalds	  Enable this cpufreq governor when you either want to set the
1290211a9c8SFrederik Schwarzer	  CPU frequency manually or when a userspace program shall
1301da177e4SLinus Torvalds	  be able to set the CPU dynamically, like on LART
1314c41251eSErik Mouw	  <http://www.lartmaker.nl/>.
1321da177e4SLinus Torvalds
1339101be53SMike Frysinger	  To compile this driver as a module, choose M here: the
1349101be53SMike Frysinger	  module will be called cpufreq_userspace.
1359101be53SMike Frysinger
1361da177e4SLinus Torvalds	  For details, take a look at <file:Documentation/cpu-freq/>.
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvalds	  If in doubt, say Y.
1391da177e4SLinus Torvalds
1401da177e4SLinus Torvaldsconfig CPU_FREQ_GOV_ONDEMAND
1411da177e4SLinus Torvalds	tristate "'ondemand' cpufreq policy governor"
1421e15f295SLarry Finger	select CPU_FREQ_GOV_COMMON
1431da177e4SLinus Torvalds	help
1441da177e4SLinus Torvalds	  'ondemand' - This driver adds a dynamic cpufreq policy governor.
1451da177e4SLinus Torvalds	  The governor does a periodic polling and
1461da177e4SLinus Torvalds	  changes frequency based on the CPU utilization.
1471da177e4SLinus Torvalds	  The support for this governor depends on CPU capability to
1481da177e4SLinus Torvalds	  do fast frequency switching (i.e, very low latency frequency
1491da177e4SLinus Torvalds	  transitions).
1501da177e4SLinus Torvalds
1519101be53SMike Frysinger	  To compile this driver as a module, choose M here: the
1529101be53SMike Frysinger	  module will be called cpufreq_ondemand.
1539101be53SMike Frysinger
1541da177e4SLinus Torvalds	  For details, take a look at linux/Documentation/cpu-freq.
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvalds	  If in doubt, say N.
1571da177e4SLinus Torvalds
158b9170836SDave Jonesconfig CPU_FREQ_GOV_CONSERVATIVE
159b9170836SDave Jones	tristate "'conservative' cpufreq governor"
160b9170836SDave Jones	depends on CPU_FREQ
1611e15f295SLarry Finger	select CPU_FREQ_GOV_COMMON
162b9170836SDave Jones	help
163b9170836SDave Jones	  'conservative' - this driver is rather similar to the 'ondemand'
164b9170836SDave Jones	  governor both in its source code and its purpose, the difference is
165b9170836SDave Jones	  its optimisation for better suitability in a battery powered
166b9170836SDave Jones	  environment.  The frequency is gracefully increased and decreased
167b9170836SDave Jones	  rather than jumping to 100% when speed is required.
168b9170836SDave Jones
169b9170836SDave Jones	  If you have a desktop machine then you should really be considering
170b9170836SDave Jones	  the 'ondemand' governor instead, however if you are using a laptop,
171b9170836SDave Jones	  PDA or even an AMD64 based computer (due to the unacceptable
172b9170836SDave Jones	  step-by-step latency issues between the minimum and maximum frequency
173b9170836SDave Jones	  transitions in the CPU) you will probably want to use this governor.
174b9170836SDave Jones
1759101be53SMike Frysinger	  To compile this driver as a module, choose M here: the
1769101be53SMike Frysinger	  module will be called cpufreq_conservative.
1779101be53SMike Frysinger
178b9170836SDave Jones	  For details, take a look at linux/Documentation/cpu-freq.
179b9170836SDave Jones
180b9170836SDave Jones	  If in doubt, say N.
181b9170836SDave Jones
18295ceafd4SShawn Guoconfig GENERIC_CPUFREQ_CPU0
1835553f9e2SShawn Guo	tristate "Generic CPU0 cpufreq driver"
184*109df086SMark Brown	depends on HAVE_CLK && REGULATOR && OF
185*109df086SMark Brown	select PM_OPP
18695ceafd4SShawn Guo	help
18795ceafd4SShawn Guo	  This adds a generic cpufreq driver for CPU0 frequency management.
18895ceafd4SShawn Guo	  It supports both uniprocessor (UP) and symmetric multiprocessor (SMP)
18995ceafd4SShawn Guo	  systems which share clock and voltage across all CPUs.
19095ceafd4SShawn Guo
19195ceafd4SShawn Guo	  If in doubt, say N.
19295ceafd4SShawn Guo
193bb0a56ecSDave Jonesmenu "x86 CPU frequency scaling drivers"
194bb0a56ecSDave Jonesdepends on X86
195bb0a56ecSDave Jonessource "drivers/cpufreq/Kconfig.x86"
196bb0a56ecSDave Jonesendmenu
197bb0a56ecSDave Jones
198f7d77079SKukjin Kimmenu "ARM CPU frequency scaling drivers"
199f7d77079SKukjin Kimdepends on ARM
200f7d77079SKukjin Kimsource "drivers/cpufreq/Kconfig.arm"
201f7d77079SKukjin Kimendmenu
202f7d77079SKukjin Kim
20381c720c9SViresh Kumarmenu "AVR32 CPU frequency scaling drivers"
20481c720c9SViresh Kumardepends on AVR32
20581c720c9SViresh Kumar
20681c720c9SViresh Kumarconfig AVR32_AT32AP_CPUFREQ
20781c720c9SViresh Kumar	bool "CPU frequency driver for AT32AP"
20881c720c9SViresh Kumar	depends on PLATFORM_AT32AP
20981c720c9SViresh Kumar	default n
21081c720c9SViresh Kumar	help
21181c720c9SViresh Kumar	  This enables the CPU frequency driver for AT32AP processors.
21281c720c9SViresh Kumar	  If in doubt, say N.
21381c720c9SViresh Kumar
21481c720c9SViresh Kumarendmenu
21581c720c9SViresh Kumar
216ab423e43SViresh Kumarmenu "CPUFreq processor drivers"
217ab423e43SViresh Kumardepends on IA64
218ab423e43SViresh Kumar
219ab423e43SViresh Kumarconfig IA64_ACPI_CPUFREQ
220ab423e43SViresh Kumar	tristate "ACPI Processor P-States driver"
221ab423e43SViresh Kumar	depends on ACPI_PROCESSOR
222ab423e43SViresh Kumar	help
223ab423e43SViresh Kumar	This driver adds a CPUFreq driver which utilizes the ACPI
224ab423e43SViresh Kumar	Processor Performance States.
225ab423e43SViresh Kumar
226ab423e43SViresh Kumar	For details, take a look at <file:Documentation/cpu-freq/>.
227ab423e43SViresh Kumar
228ab423e43SViresh Kumar	If in doubt, say N.
229ab423e43SViresh Kumar
230ab423e43SViresh Kumarendmenu
231ab423e43SViresh Kumar
2327a998935SViresh Kumarmenu "MIPS CPUFreq processor drivers"
2337a998935SViresh Kumardepends on MIPS
2347a998935SViresh Kumar
2357a998935SViresh Kumarconfig LOONGSON2_CPUFREQ
2367a998935SViresh Kumar	tristate "Loongson2 CPUFreq Driver"
2377a998935SViresh Kumar	help
2387a998935SViresh Kumar	  This option adds a CPUFreq driver for loongson processors which
2397a998935SViresh Kumar	  support software configurable cpu frequency.
2407a998935SViresh Kumar
2417a998935SViresh Kumar	  Loongson2F and it's successors support this feature.
2427a998935SViresh Kumar
2437a998935SViresh Kumar	  For details, take a look at <file:Documentation/cpu-freq/>.
2447a998935SViresh Kumar
2457a998935SViresh Kumar	  If in doubt, say N.
2467a998935SViresh Kumar
2477a998935SViresh Kumarendmenu
2487a998935SViresh Kumar
2495d8c6658SDmitry Eremin-Solenikovmenu "PowerPC CPU frequency scaling drivers"
2505d8c6658SDmitry Eremin-Solenikovdepends on PPC32 || PPC64
2515d8c6658SDmitry Eremin-Solenikovsource "drivers/cpufreq/Kconfig.powerpc"
2525d8c6658SDmitry Eremin-Solenikovendmenu
2535d8c6658SDmitry Eremin-Solenikov
254764295aeSViresh Kumarmenu "SPARC CPU frequency scaling drivers"
255764295aeSViresh Kumardepends on SPARC64
256764295aeSViresh Kumarconfig SPARC_US3_CPUFREQ
257764295aeSViresh Kumar	tristate "UltraSPARC-III CPU Frequency driver"
258764295aeSViresh Kumar	help
259764295aeSViresh Kumar	  This adds the CPUFreq driver for UltraSPARC-III processors.
260764295aeSViresh Kumar
261764295aeSViresh Kumar	  For details, take a look at <file:Documentation/cpu-freq>.
262764295aeSViresh Kumar
263764295aeSViresh Kumar	  If in doubt, say N.
264764295aeSViresh Kumar
265764295aeSViresh Kumarconfig SPARC_US2E_CPUFREQ
266764295aeSViresh Kumar	tristate "UltraSPARC-IIe CPU Frequency driver"
267764295aeSViresh Kumar	help
268764295aeSViresh Kumar	  This adds the CPUFreq driver for UltraSPARC-IIe processors.
269764295aeSViresh Kumar
270764295aeSViresh Kumar	  For details, take a look at <file:Documentation/cpu-freq>.
271764295aeSViresh Kumar
272764295aeSViresh Kumar	  If in doubt, say N.
273764295aeSViresh Kumarendmenu
274764295aeSViresh Kumar
2757258267eSViresh Kumarmenu "SH CPU Frequency scaling"
2767258267eSViresh Kumardepends on SUPERH
2777258267eSViresh Kumarconfig SH_CPU_FREQ
2787258267eSViresh Kumar	tristate "SuperH CPU Frequency driver"
2797258267eSViresh Kumar	help
2807258267eSViresh Kumar	  This adds the cpufreq driver for SuperH. Any CPU that supports
2817258267eSViresh Kumar	  clock rate rounding through the clock framework can use this
2827258267eSViresh Kumar	  driver. While it will make the kernel slightly larger, this is
2837258267eSViresh Kumar	  harmless for CPUs that don't support rate rounding. The driver
2847258267eSViresh Kumar	  will also generate a notice in the boot log before disabling
2857258267eSViresh Kumar	  itself if the CPU in question is not capable of rate rounding.
2867258267eSViresh Kumar
2877258267eSViresh Kumar	  For details, take a look at <file:Documentation/cpu-freq>.
2887258267eSViresh Kumar
2897258267eSViresh Kumar	  If unsure, say N.
2907258267eSViresh Kumarendmenu
2917258267eSViresh Kumar
292bb0a56ecSDave Jonesendif
293bb0a56ecSDave Jonesendmenu
294