vserver 1.9.5.x5
[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_STAT
31        tristate "CPU frequency translation statistics"
32        depends on CPU_FREQ && CPU_FREQ_TABLE
33        default y
34        help
35          This driver exports CPU frequency statistics information through sysfs
36          file system
37
38 config CPU_FREQ_STAT_DETAILS
39        bool "CPU frequency translation statistics details"
40        depends on CPU_FREQ && CPU_FREQ_STAT
41        default n
42        help
43          This will show detail CPU frequency translation table in sysfs file
44          system
45
46 choice
47         prompt "Default CPUFreq governor"
48         depends on CPU_FREQ
49         default CPU_FREQ_DEFAULT_GOV_PERFORMANCE if !CPU_FREQ_SA1100 && !CPU_FREQ_SA1110
50         default CPU_FREQ_DEFAULT_GOV_USERSPACE if CPU_FREQ_SA1100 || CPU_FREQ_SA1110
51         help
52           This option sets which CPUFreq governor shall be loaded at
53           startup. If in doubt, select 'performance'.
54
55 config CPU_FREQ_DEFAULT_GOV_PERFORMANCE
56         bool "performance"
57         select CPU_FREQ_GOV_PERFORMANCE
58         help
59           Use the CPUFreq governor 'performance' as default. This sets
60           the frequency statically to the highest frequency supported by
61           the CPU.
62
63 config CPU_FREQ_DEFAULT_GOV_USERSPACE
64         bool "userspace"
65         select CPU_FREQ_GOV_USERSPACE
66         help
67           Use the CPUFreq governor 'userspace' as default. This allows
68           you to set the CPU frequency manually or when an userspace 
69           program shall be able to set the CPU dynamically without having
70           to enable the userspace governor manually.
71
72 endchoice
73
74 config CPU_FREQ_GOV_PERFORMANCE
75        tristate "'performance' governor"
76        depends on CPU_FREQ
77        help
78           This cpufreq governor sets the frequency statically to the
79           highest available CPU frequency.
80
81           If in doubt, say Y.
82
83 config CPU_FREQ_GOV_POWERSAVE
84        tristate "'powersave' governor"
85        depends on CPU_FREQ
86        help
87           This cpufreq governor sets the frequency statically to the
88           lowest available CPU frequency.
89
90           If in doubt, say Y.
91
92 config CPU_FREQ_GOV_USERSPACE
93        tristate "'userspace' governor for userspace frequency scaling"
94        depends on CPU_FREQ 
95        help
96           Enable this cpufreq governor when you either want to set the
97           CPU frequency manually or when an userspace program shall
98           be able to set the CPU dynamically, like on LART 
99           <http://www.lart.tudelft.nl/>
100
101           For details, take a look at <file:Documentation/cpu-freq/>.
102
103           If in doubt, say Y.
104
105 config CPU_FREQ_GOV_ONDEMAND
106         tristate "'ondemand' cpufreq policy governor"
107         depends on CPU_FREQ
108         help
109           'ondemand' - This driver adds a dynamic cpufreq policy governor.
110           The governor does a periodic polling and 
111           changes frequency based on the CPU utilization.
112           The support for this governor depends on CPU capability to
113           do fast frequency switching (i.e, very low latency frequency
114           transitions). 
115
116           For details, take a look at linux/Documentation/cpu-freq.
117
118           If in doubt, say N.