kernel.org linux-2.6.10
[linux-2.6.git] / drivers / cpufreq / Kconfig
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
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
12           For details, take a look at <file:Documentation/cpu-freq>.
13
14           If in doubt, say N.
15
16 config CPU_FREQ_DEBUG
17         bool "Enable CPUfreq debugging"
18         depends on CPU_FREQ
19         help
20           Say Y here to enable CPUfreq subsystem (including drivers)
21           debugging. You will need to activate it via the kernel
22           command line by passing
23              cpufreq.debug=<value>
24
25           To get <value>, add 
26                1 to activate CPUfreq core debugging,
27                2 to activate CPUfreq drivers debugging, and
28                4 to activate CPUfreq governor debugging
29
30 config CPU_FREQ_PROC_INTF
31         tristate "/proc/cpufreq interface (deprecated)"
32         depends on CPU_FREQ && PROC_FS
33         help
34           This enables the /proc/cpufreq interface for controlling
35           CPUFreq. Please note that it is recommended to use the sysfs
36           interface instead (which is built automatically). 
37           
38           For details, take a look at <file:Documentation/cpu-freq/>.
39           
40           If in doubt, say N.
41
42 choice
43         prompt "Default CPUFreq governor"
44         depends on CPU_FREQ
45         default CPU_FREQ_DEFAULT_GOV_PERFORMANCE if !CPU_FREQ_SA1100 && !CPU_FREQ_SA1110
46         default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110
47         help
48           This option sets which CPUFreq governor shall be loaded at
49           startup. If in doubt, select 'performance'.
50
51 config CPU_FREQ_DEFAULT_GOV_PERFORMANCE
52         bool "performance"
53         select CPU_FREQ_GOV_PERFORMANCE
54         help
55           Use the CPUFreq governor 'performance' as default. This sets
56           the frequency statically to the highest frequency supported by
57           the CPU.
58
59 config CPU_FREQ_DEFAULT_GOV_USERSPACE
60         bool "userspace"
61         select CPU_FREQ_GOV_USERSPACE
62         help
63           Use the CPUFreq governor 'userspace' as default. This allows
64           you to set the CPU frequency manually or when an userspace 
65           program shall be able to set the CPU dynamically without having
66           to enable the userspace governor manually.
67
68 endchoice
69
70 config CPU_FREQ_GOV_PERFORMANCE
71        tristate "'performance' governor"
72        depends on CPU_FREQ
73        help
74           This cpufreq governor sets the frequency statically to the
75           highest available CPU frequency.
76
77           If in doubt, say Y.
78
79 config CPU_FREQ_GOV_POWERSAVE
80        tristate "'powersave' governor"
81        depends on CPU_FREQ
82        help
83           This cpufreq governor sets the frequency statically to the
84           lowest available CPU frequency.
85
86           If in doubt, say Y.
87
88 config CPU_FREQ_GOV_USERSPACE
89        tristate "'userspace' governor for userspace frequency scaling"
90        depends on CPU_FREQ 
91        help
92           Enable this cpufreq governor when you either want to set the
93           CPU frequency manually or when an userspace program shall
94           be able to set the CPU dynamically, like on LART 
95           <http://www.lart.tudelft.nl/>
96
97           For details, take a look at <file:Documentation/cpu-freq/>.
98
99           If in doubt, say Y.
100
101 config CPU_FREQ_24_API
102         bool "/proc/sys/cpu/ interface (2.4. / OLD)"
103         depends on CPU_FREQ_GOV_USERSPACE
104         depends on SYSCTL
105         help
106           This enables the /proc/sys/cpu/ sysctl interface for controlling
107           the CPUFreq,"userspace" governor. This is the same interface
108           as known from the 2.4.-kernel patches for CPUFreq, and offers
109           the same functionality as long as "userspace" is the
110           selected governor for the specified CPU.
111         
112           For details, take a look at <file:Documentation/cpu-freq/>.
113
114           If in doubt, say N.
115
116 config CPU_FREQ_GOV_ONDEMAND
117         tristate "'ondemand' cpufreq policy governor"
118         depends on CPU_FREQ
119         help
120           'ondemand' - This driver adds a dynamic cpufreq policy governor.
121           The governor does a periodic polling and 
122           changes frequency based on the CPU utilization.
123           The support for this governor depends on CPU capability to
124           do fast frequency switching (i.e, very low latency frequency
125           transitions). 
126
127           For details, take a look at linux/Documentation/cpu-freq.
128
129           If in doubt, say N.