USB: mct_u232: add sanity checking in probe
[profile/mobile/platform/kernel/linux-3.10-sc7730.git] / drivers / cpufreq / Kconfig
1 menu "CPU Frequency scaling"
2
3 config CPU_FREQ
4         bool "CPU Frequency scaling"
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
10           Note that this driver doesn't automatically change the CPU
11           clock speed, you need to either enable a dynamic cpufreq governor
12           (see below) after boot, or use a userspace tool.
13
14           For details, take a look at <file:Documentation/cpu-freq>.
15
16           If in doubt, say N.
17
18 if CPU_FREQ
19
20 config CPU_FREQ_TABLE
21         tristate
22
23 config CPU_FREQ_GOV_COMMON
24         bool
25
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
34           To compile this driver as a module, choose M here: the
35           module will be called cpufreq_stats.
36
37           If in doubt, say N.
38
39 config CPU_FREQ_STAT_DETAILS
40         bool "CPU frequency translation statistics details"
41         depends on CPU_FREQ_STAT
42         help
43           This will show detail CPU frequency translation table in sysfs file
44           system.
45
46           If in doubt, say N.
47
48 choice
49         prompt "Default CPUFreq governor"
50         default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1100_CPUFREQ || ARM_SA1110_CPUFREQ
51         default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
52         help
53           This option sets which CPUFreq governor shall be loaded at
54           startup. If in doubt, select 'performance'.
55
56 config CPU_FREQ_DEFAULT_GOV_PERFORMANCE
57         bool "performance"
58         select CPU_FREQ_GOV_PERFORMANCE
59         help
60           Use the CPUFreq governor 'performance' as default. This sets
61           the frequency statically to the highest frequency supported by
62           the CPU.
63
64 config CPU_FREQ_DEFAULT_GOV_POWERSAVE
65         bool "powersave"
66         depends on EXPERT
67         select CPU_FREQ_GOV_POWERSAVE
68         help
69           Use the CPUFreq governor 'powersave' as default. This sets
70           the frequency statically to the lowest frequency supported by
71           the CPU.
72
73 config CPU_FREQ_DEFAULT_GOV_USERSPACE
74         bool "userspace"
75         select CPU_FREQ_GOV_USERSPACE
76         help
77           Use the CPUFreq governor 'userspace' as default. This allows
78           you to set the CPU frequency manually or when a userspace 
79           program shall be able to set the CPU dynamically without having
80           to enable the userspace governor manually.
81
82 config CPU_FREQ_DEFAULT_GOV_ONDEMAND
83         bool "ondemand"
84         select CPU_FREQ_GOV_ONDEMAND
85         select CPU_FREQ_GOV_PERFORMANCE
86         help
87           Use the CPUFreq governor 'ondemand' as default. This allows
88           you to get a full dynamic frequency capable system by simply
89           loading your cpufreq low-level hardware driver.
90           Be aware that not all cpufreq drivers support the ondemand
91           governor. If unsure have a look at the help section of the
92           driver. Fallback governor will be the performance governor.
93
94 config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
95         bool "conservative"
96         select CPU_FREQ_GOV_CONSERVATIVE
97         select CPU_FREQ_GOV_PERFORMANCE
98         help
99           Use the CPUFreq governor 'conservative' as default. This allows
100           you to get a full dynamic frequency capable system by simply
101           loading your cpufreq low-level hardware driver.
102           Be aware that not all cpufreq drivers support the conservative
103           governor. If unsure have a look at the help section of the
104           driver. Fallback governor will be the performance governor.
105
106 config CPU_FREQ_DEFAULT_GOV_INTERACTIVE
107         bool "interactive"
108         select CPU_FREQ_GOV_INTERACTIVE
109         help
110           Use the CPUFreq governor 'interactive' as default. This allows
111           you to get a full dynamic cpu frequency capable system by simply
112           loading your cpufreq low-level hardware driver, using the
113           'interactive' governor for latency-sensitive workloads.
114
115 config CPU_FREQ_DEFAULT_GOV_SPRDEMAND
116         bool "sprdemand"
117         select CPU_FREQ_GOV_SPRDEMAND
118         select CPU_FREQ_GOV_PERFORMANCE
119         help
120           Use the CPUFreq governor 'sprdemand' as default. This allows
121           you to get a full dynamic frequency capable system by simply
122           loading your cpufreq low-level hardware driver.
123           Be aware that not all cpufreq drivers support the ondemand
124           governor. If unsure have a look at the help section of the
125           driver. Fallback governor will be the performance governor.
126
127
128 endchoice
129
130 config CPU_FREQ_GOV_PERFORMANCE
131         tristate "'performance' governor"
132         help
133           This cpufreq governor sets the frequency statically to the
134           highest available CPU frequency.
135
136           To compile this driver as a module, choose M here: the
137           module will be called cpufreq_performance.
138
139           If in doubt, say Y.
140
141 config CPU_FREQ_GOV_POWERSAVE
142         tristate "'powersave' governor"
143         help
144           This cpufreq governor sets the frequency statically to the
145           lowest available CPU frequency.
146
147           To compile this driver as a module, choose M here: the
148           module will be called cpufreq_powersave.
149
150           If in doubt, say Y.
151
152 config CPU_FREQ_GOV_USERSPACE
153         tristate "'userspace' governor for userspace frequency scaling"
154         help
155           Enable this cpufreq governor when you either want to set the
156           CPU frequency manually or when a userspace program shall
157           be able to set the CPU dynamically, like on LART 
158           <http://www.lartmaker.nl/>.
159
160           To compile this driver as a module, choose M here: the
161           module will be called cpufreq_userspace.
162
163           For details, take a look at <file:Documentation/cpu-freq/>.
164
165           If in doubt, say Y.
166
167 config CPU_FREQ_GOV_ONDEMAND
168         tristate "'ondemand' cpufreq policy governor"
169         select CPU_FREQ_TABLE
170         select CPU_FREQ_GOV_COMMON
171         help
172           'ondemand' - This driver adds a dynamic cpufreq policy governor.
173           The governor does a periodic polling and 
174           changes frequency based on the CPU utilization.
175           The support for this governor depends on CPU capability to
176           do fast frequency switching (i.e, very low latency frequency
177           transitions). 
178
179           To compile this driver as a module, choose M here: the
180           module will be called cpufreq_ondemand.
181
182           For details, take a look at linux/Documentation/cpu-freq.
183
184           If in doubt, say N.
185
186 config CPU_FREQ_GOV_INTERACTIVE
187         tristate "'interactive' cpufreq policy governor"
188         default n
189         help
190           'interactive' - This driver adds a dynamic cpufreq policy governor
191           designed for latency-sensitive workloads.
192
193           This governor attempts to reduce the latency of clock
194           increases so that the system is more responsive to
195           interactive workloads.
196
197           To compile this driver as a module, choose M here: the
198           module will be called cpufreq_interactive.
199
200           For details, take a look at linux/Documentation/cpu-freq.
201
202           If in doubt, say N.
203
204 config CPU_FREQ_GOV_CONSERVATIVE
205         tristate "'conservative' cpufreq governor"
206         depends on CPU_FREQ
207         select CPU_FREQ_GOV_COMMON
208         help
209           'conservative' - this driver is rather similar to the 'ondemand'
210           governor both in its source code and its purpose, the difference is
211           its optimisation for better suitability in a battery powered
212           environment.  The frequency is gracefully increased and decreased
213           rather than jumping to 100% when speed is required.
214
215           If you have a desktop machine then you should really be considering
216           the 'ondemand' governor instead, however if you are using a laptop,
217           PDA or even an AMD64 based computer (due to the unacceptable
218           step-by-step latency issues between the minimum and maximum frequency
219           transitions in the CPU) you will probably want to use this governor.
220
221           To compile this driver as a module, choose M here: the
222           module will be called cpufreq_conservative.
223
224           For details, take a look at linux/Documentation/cpu-freq.
225
226           If in doubt, say N.
227
228 config CPU_FREQ_GOV_SPRDEMAND
229         tristate "'sprdemand' cpufreq policy governor"
230         select CPU_FREQ_TABLE
231         select CPU_FREQ_GOV_COMMON
232         help
233           'sprdemand' - this driver mimics the frequency scaling behavior
234           in 'ondemand', but with some key differences. 'sprdemand' will
235           offline auxillary CPUs when the system is idle, and online those
236           CPUs once the system becomes busy again. This last feature is needed for
237           architectures which transition to low power states when only
238           the "master" CPU is online, or for thermally constrained
239           devices.
240
241           If you don't have one of these architectures or devices, use
242           'ondemand' instead.
243
244 config DVFS_ONLY
245         bool "USE DVFS ONLY WHEN SPRDEMAND IS ON DUTY"
246         default n
247         help
248           USE DVFS ONLY WHEN SPRDEMAND IS ON DUTY
249
250 config SPRD_CPUFREQ_DT_DRIVER
251         bool "USE CPUFREQ DT DRIVER ON bL SOC"
252         default n
253         help
254           USE CPUFREQ DT DRIVER INSTEAD of cpufreq-scx35.c on bL SOC
255
256 config GENERIC_CPUFREQ_CPU0
257         tristate "Generic CPU0 cpufreq driver"
258         depends on HAVE_CLK && REGULATOR && PM_OPP && OF
259         select CPU_FREQ_TABLE
260         help
261           This adds a generic cpufreq driver for CPU0 frequency management.
262           It supports both uniprocessor (UP) and symmetric multiprocessor (SMP)
263           systems which share clock and voltage across all CPUs.
264
265           If in doubt, say N.
266
267 config SCX35_1300MHZ
268         bool "SCX35 1300MHZ"
269         depends on ARCH_SCX35
270         default n
271         help
272           enable the 1300MHZ
273
274 menu "x86 CPU frequency scaling drivers"
275 depends on X86
276 source "drivers/cpufreq/Kconfig.x86"
277 endmenu
278
279 menu "ARM CPU frequency scaling drivers"
280 depends on ARM || ARM64
281 source "drivers/cpufreq/Kconfig.arm"
282 endmenu
283
284 menu "AVR32 CPU frequency scaling drivers"
285 depends on AVR32
286
287 config AVR32_AT32AP_CPUFREQ
288         bool "CPU frequency driver for AT32AP"
289         depends on PLATFORM_AT32AP
290         default n
291         help
292           This enables the CPU frequency driver for AT32AP processors.
293           If in doubt, say N.
294
295 endmenu
296
297 menu "CPUFreq processor drivers"
298 depends on IA64
299
300 config IA64_ACPI_CPUFREQ
301         tristate "ACPI Processor P-States driver"
302         select CPU_FREQ_TABLE
303         depends on ACPI_PROCESSOR
304         help
305         This driver adds a CPUFreq driver which utilizes the ACPI
306         Processor Performance States.
307
308         For details, take a look at <file:Documentation/cpu-freq/>.
309
310         If in doubt, say N.
311
312 endmenu
313
314 menu "MIPS CPUFreq processor drivers"
315 depends on MIPS
316
317 config LOONGSON2_CPUFREQ
318         tristate "Loongson2 CPUFreq Driver"
319         select CPU_FREQ_TABLE
320         help
321           This option adds a CPUFreq driver for loongson processors which
322           support software configurable cpu frequency.
323
324           Loongson2F and it's successors support this feature.
325
326           For details, take a look at <file:Documentation/cpu-freq/>.
327
328           If in doubt, say N.
329
330 endmenu
331
332 menu "PowerPC CPU frequency scaling drivers"
333 depends on PPC32 || PPC64
334 source "drivers/cpufreq/Kconfig.powerpc"
335 endmenu
336
337 menu "SPARC CPU frequency scaling drivers"
338 depends on SPARC64
339 config SPARC_US3_CPUFREQ
340         tristate "UltraSPARC-III CPU Frequency driver"
341         select CPU_FREQ_TABLE
342         help
343           This adds the CPUFreq driver for UltraSPARC-III processors.
344
345           For details, take a look at <file:Documentation/cpu-freq>.
346
347           If in doubt, say N.
348
349 config SPARC_US2E_CPUFREQ
350         tristate "UltraSPARC-IIe CPU Frequency driver"
351         select CPU_FREQ_TABLE
352         help
353           This adds the CPUFreq driver for UltraSPARC-IIe processors.
354
355           For details, take a look at <file:Documentation/cpu-freq>.
356
357           If in doubt, say N.
358 endmenu
359
360 menu "SH CPU Frequency scaling"
361 depends on SUPERH
362 config SH_CPU_FREQ
363         tristate "SuperH CPU Frequency driver"
364         select CPU_FREQ_TABLE
365         help
366           This adds the cpufreq driver for SuperH. Any CPU that supports
367           clock rate rounding through the clock framework can use this
368           driver. While it will make the kernel slightly larger, this is
369           harmless for CPUs that don't support rate rounding. The driver
370           will also generate a notice in the boot log before disabling
371           itself if the CPU in question is not capable of rate rounding.
372
373           For details, take a look at <file:Documentation/cpu-freq>.
374
375           If unsure, say N.
376 endmenu
377
378 endif
379 endmenu