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