Dave Jones | bb0a56e | 2011-05-19 18:51:07 -0400 | [diff] [blame] | 1 | menu "CPU Frequency scaling" |
| 2 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | config CPU_FREQ |
| 4 | bool "CPU Frequency scaling" |
Pranith Kumar | 83fe27e | 2014-12-05 11:24:45 -0500 | [diff] [blame] | 5 | select SRCU |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Rafael J. Wysocki | 2d0c58a | 2016-03-22 02:49:15 +0100 | [diff] [blame] | 21 | config CPU_FREQ_GOV_ATTR_SET |
| 22 | bool |
| 23 | |
Larry Finger | 1e15f29 | 2012-12-29 01:55:20 +0000 | [diff] [blame] | 24 | config CPU_FREQ_GOV_COMMON |
Rafael J. Wysocki | 2d0c58a | 2016-03-22 02:49:15 +0100 | [diff] [blame] | 25 | select CPU_FREQ_GOV_ATTR_SET |
Rafael J. Wysocki | e6f0365 | 2016-02-28 02:33:29 +0100 | [diff] [blame] | 26 | select IRQ_WORK |
Larry Finger | 1e15f29 | 2012-12-29 01:55:20 +0000 | [diff] [blame] | 27 | bool |
| 28 | |
Lukasz Majewski | 2fb4719 | 2013-12-20 15:24:51 +0100 | [diff] [blame] | 29 | config CPU_FREQ_BOOST_SW |
| 30 | bool |
| 31 | depends on THERMAL |
| 32 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 33 | config CPU_FREQ_STAT |
Rafael J. Wysocki | 1aefc75 | 2016-05-31 22:14:44 +0200 | [diff] [blame] | 34 | bool "CPU frequency transition statistics" |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 35 | help |
Rafael J. Wysocki | 1aefc75 | 2016-05-31 22:14:44 +0200 | [diff] [blame] | 36 | Export CPU frequency statistics information through sysfs. |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 37 | |
| 38 | If in doubt, say N. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 39 | |
| 40 | config CPU_FREQ_STAT_DETAILS |
Rafael J. Wysocki | 1aefc75 | 2016-05-31 22:14:44 +0200 | [diff] [blame] | 41 | bool "CPU frequency transition statistics details" |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 42 | depends on CPU_FREQ_STAT |
| 43 | help |
Rafael J. Wysocki | 1aefc75 | 2016-05-31 22:14:44 +0200 | [diff] [blame] | 44 | Show detailed CPU frequency transition table in sysfs. |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 45 | |
| 46 | If in doubt, say N. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 48 | choice |
| 49 | prompt "Default CPUFreq governor" |
Alexander Shiyan | 559f56c | 2013-05-05 12:18:08 +0000 | [diff] [blame] | 50 | default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1100_CPUFREQ || ARM_SA1110_CPUFREQ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Alessandro Guido | 30d221d | 2008-04-18 13:31:13 -0700 | [diff] [blame] | 64 | config CPU_FREQ_DEFAULT_GOV_POWERSAVE |
| 65 | bool "powersave" |
Alessandro Guido | 30d221d | 2008-04-18 13:31:13 -0700 | [diff] [blame] | 66 | select CPU_FREQ_GOV_POWERSAVE |
| 67 | help |
| 68 | Use the CPUFreq governor 'powersave' as default. This sets |
| 69 | the frequency statically to the lowest frequency supported by |
| 70 | the CPU. |
| 71 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 72 | config CPU_FREQ_DEFAULT_GOV_USERSPACE |
| 73 | bool "userspace" |
| 74 | select CPU_FREQ_GOV_USERSPACE |
| 75 | help |
| 76 | Use the CPUFreq governor 'userspace' as default. This allows |
Frederik Schwarzer | 0211a9c | 2008-12-29 22:14:56 +0100 | [diff] [blame] | 77 | you to set the CPU frequency manually or when a userspace |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 78 | program shall be able to set the CPU dynamically without having |
| 79 | to enable the userspace governor manually. |
| 80 | |
Thomas Renninger | 1c25624 | 2007-10-02 13:28:12 -0700 | [diff] [blame] | 81 | config CPU_FREQ_DEFAULT_GOV_ONDEMAND |
| 82 | bool "ondemand" |
| 83 | select CPU_FREQ_GOV_ONDEMAND |
| 84 | select CPU_FREQ_GOV_PERFORMANCE |
| 85 | help |
| 86 | Use the CPUFreq governor 'ondemand' as default. This allows |
| 87 | you to get a full dynamic frequency capable system by simply |
| 88 | loading your cpufreq low-level hardware driver. |
| 89 | Be aware that not all cpufreq drivers support the ondemand |
| 90 | governor. If unsure have a look at the help section of the |
| 91 | driver. Fallback governor will be the performance governor. |
| 92 | |
| 93 | config CPU_FREQ_DEFAULT_GOV_CONSERVATIVE |
| 94 | bool "conservative" |
| 95 | select CPU_FREQ_GOV_CONSERVATIVE |
| 96 | select CPU_FREQ_GOV_PERFORMANCE |
| 97 | help |
| 98 | Use the CPUFreq governor 'conservative' as default. This allows |
| 99 | you to get a full dynamic frequency capable system by simply |
| 100 | loading your cpufreq low-level hardware driver. |
| 101 | Be aware that not all cpufreq drivers support the conservative |
| 102 | governor. If unsure have a look at the help section of the |
| 103 | driver. Fallback governor will be the performance governor. |
Rafael J. Wysocki | 9bdcb44 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 104 | |
Michael Turquette | 3b6188e | 2015-06-30 12:45:48 +0100 | [diff] [blame] | 105 | config CPU_FREQ_DEFAULT_GOV_SCHED |
| 106 | bool "sched" |
| 107 | select CPU_FREQ_GOV_SCHED |
Rafael J. Wysocki | 9bdcb44 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 108 | help |
Michael Turquette | 3b6188e | 2015-06-30 12:45:48 +0100 | [diff] [blame] | 109 | Use the CPUfreq governor 'sched' as default. This scales |
| 110 | cpu frequency using CPU utilization estimates from the |
| 111 | scheduler. |
Rafael J. Wysocki | 9bdcb44 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 112 | |
Mike Chan | ef96969 | 2010-06-22 11:26:45 -0700 | [diff] [blame] | 113 | config CPU_FREQ_DEFAULT_GOV_INTERACTIVE |
| 114 | bool "interactive" |
| 115 | select CPU_FREQ_GOV_INTERACTIVE |
| 116 | help |
| 117 | Use the CPUFreq governor 'interactive' as default. This allows |
| 118 | you to get a full dynamic cpu frequency capable system by simply |
| 119 | loading your cpufreq low-level hardware driver, using the |
| 120 | 'interactive' governor for latency-sensitive workloads. |
| 121 | |
Rafael J. Wysocki | b1d0976 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 122 | config CPU_FREQ_DEFAULT_GOV_SCHEDUTIL |
| 123 | bool "schedutil" |
Arnd Bergmann | 5f6e85d | 2016-05-11 14:52:01 +0200 | [diff] [blame] | 124 | depends on SMP |
Rafael J. Wysocki | b1d0976 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 125 | select CPU_FREQ_GOV_SCHEDUTIL |
| 126 | select CPU_FREQ_GOV_PERFORMANCE |
| 127 | help |
| 128 | Use the 'schedutil' CPUFreq governor by default. If unsure, |
| 129 | have a look at the help section of that governor. The fallback |
| 130 | governor will be 'performance'. |
| 131 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 132 | endchoice |
| 133 | |
| 134 | config CPU_FREQ_GOV_PERFORMANCE |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 135 | tristate "'performance' governor" |
| 136 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 137 | This cpufreq governor sets the frequency statically to the |
| 138 | highest available CPU frequency. |
| 139 | |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 140 | To compile this driver as a module, choose M here: the |
| 141 | module will be called cpufreq_performance. |
| 142 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 143 | If in doubt, say Y. |
| 144 | |
| 145 | config CPU_FREQ_GOV_POWERSAVE |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 146 | tristate "'powersave' governor" |
| 147 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 148 | This cpufreq governor sets the frequency statically to the |
| 149 | lowest available CPU frequency. |
| 150 | |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 151 | To compile this driver as a module, choose M here: the |
| 152 | module will be called cpufreq_powersave. |
| 153 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 154 | If in doubt, say Y. |
| 155 | |
| 156 | config CPU_FREQ_GOV_USERSPACE |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 157 | tristate "'userspace' governor for userspace frequency scaling" |
| 158 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 159 | Enable this cpufreq governor when you either want to set the |
Frederik Schwarzer | 0211a9c | 2008-12-29 22:14:56 +0100 | [diff] [blame] | 160 | CPU frequency manually or when a userspace program shall |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 161 | be able to set the CPU dynamically, like on LART |
Erik Mouw | 4c41251 | 2006-04-03 14:21:00 +0200 | [diff] [blame] | 162 | <http://www.lartmaker.nl/>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 163 | |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 164 | To compile this driver as a module, choose M here: the |
| 165 | module will be called cpufreq_userspace. |
| 166 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 167 | For details, take a look at <file:Documentation/cpu-freq/>. |
| 168 | |
| 169 | If in doubt, say Y. |
| 170 | |
| 171 | config CPU_FREQ_GOV_ONDEMAND |
| 172 | tristate "'ondemand' cpufreq policy governor" |
Larry Finger | 1e15f29 | 2012-12-29 01:55:20 +0000 | [diff] [blame] | 173 | select CPU_FREQ_GOV_COMMON |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 174 | help |
| 175 | 'ondemand' - This driver adds a dynamic cpufreq policy governor. |
| 176 | The governor does a periodic polling and |
| 177 | changes frequency based on the CPU utilization. |
| 178 | The support for this governor depends on CPU capability to |
| 179 | do fast frequency switching (i.e, very low latency frequency |
| 180 | transitions). |
| 181 | |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 182 | To compile this driver as a module, choose M here: the |
| 183 | module will be called cpufreq_ondemand. |
| 184 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 185 | For details, take a look at linux/Documentation/cpu-freq. |
| 186 | |
| 187 | If in doubt, say N. |
| 188 | |
Mike Chan | ef96969 | 2010-06-22 11:26:45 -0700 | [diff] [blame] | 189 | config CPU_FREQ_GOV_INTERACTIVE |
| 190 | tristate "'interactive' cpufreq policy governor" |
| 191 | help |
| 192 | 'interactive' - This driver adds a dynamic cpufreq policy governor |
| 193 | designed for latency-sensitive workloads. |
| 194 | |
| 195 | This governor attempts to reduce the latency of clock |
| 196 | increases so that the system is more responsive to |
| 197 | interactive workloads. |
| 198 | |
| 199 | To compile this driver as a module, choose M here: the |
| 200 | module will be called cpufreq_interactive. |
| 201 | |
| 202 | For details, take a look at linux/Documentation/cpu-freq. |
| 203 | |
| 204 | If in doubt, say N. |
| 205 | |
Dave Jones | b917083 | 2005-05-31 19:03:47 -0700 | [diff] [blame] | 206 | config CPU_FREQ_GOV_CONSERVATIVE |
| 207 | tristate "'conservative' cpufreq governor" |
| 208 | depends on CPU_FREQ |
Larry Finger | 1e15f29 | 2012-12-29 01:55:20 +0000 | [diff] [blame] | 209 | select CPU_FREQ_GOV_COMMON |
Dave Jones | b917083 | 2005-05-31 19:03:47 -0700 | [diff] [blame] | 210 | help |
| 211 | 'conservative' - this driver is rather similar to the 'ondemand' |
| 212 | governor both in its source code and its purpose, the difference is |
| 213 | its optimisation for better suitability in a battery powered |
| 214 | environment. The frequency is gracefully increased and decreased |
| 215 | rather than jumping to 100% when speed is required. |
| 216 | |
| 217 | If you have a desktop machine then you should really be considering |
| 218 | the 'ondemand' governor instead, however if you are using a laptop, |
| 219 | PDA or even an AMD64 based computer (due to the unacceptable |
| 220 | step-by-step latency issues between the minimum and maximum frequency |
| 221 | transitions in the CPU) you will probably want to use this governor. |
| 222 | |
Mike Frysinger | 9101be5 | 2007-04-18 16:18:13 -0400 | [diff] [blame] | 223 | To compile this driver as a module, choose M here: the |
| 224 | module will be called cpufreq_conservative. |
| 225 | |
Dave Jones | b917083 | 2005-05-31 19:03:47 -0700 | [diff] [blame] | 226 | For details, take a look at linux/Documentation/cpu-freq. |
| 227 | |
| 228 | If in doubt, say N. |
| 229 | |
Saravana Kannan | e53d0b2 | 2013-07-13 01:49:09 -0700 | [diff] [blame] | 230 | config CPU_BOOST |
| 231 | tristate "Event base short term CPU freq boost" |
| 232 | depends on CPU_FREQ |
| 233 | help |
| 234 | This driver boosts the frequency of one or more CPUs based on |
| 235 | various events that might occur in the system. As of now, the |
| 236 | events it reacts to are: |
| 237 | - Migration of important threads from one CPU to another. |
| 238 | |
| 239 | If in doubt, say N. |
| 240 | |
Michael Turquette | 3b6188e | 2015-06-30 12:45:48 +0100 | [diff] [blame] | 241 | config CPU_FREQ_GOV_SCHED |
| 242 | bool "'sched' cpufreq governor" |
| 243 | depends on CPU_FREQ |
Patrick Bellasi | 2178e84 | 2016-07-22 11:35:59 +0100 | [diff] [blame] | 244 | depends on SMP |
Michael Turquette | 3b6188e | 2015-06-30 12:45:48 +0100 | [diff] [blame] | 245 | select CPU_FREQ_GOV_COMMON |
Rafael J. Wysocki | 9bdcb44 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 246 | help |
Michael Turquette | 3b6188e | 2015-06-30 12:45:48 +0100 | [diff] [blame] | 247 | 'sched' - this governor scales cpu frequency from the |
| 248 | scheduler as a function of cpu capacity utilization. It does |
| 249 | not evaluate utilization on a periodic basis (as ondemand |
| 250 | does) but instead is event-driven by the scheduler. |
Rafael J. Wysocki | 9bdcb44 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 251 | |
Rafael J. Wysocki | 9bdcb44 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 252 | If in doubt, say N. |
| 253 | |
Rafael J. Wysocki | b1d0976 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 254 | config CPU_FREQ_GOV_SCHEDUTIL |
Rafael J. Wysocki | c456872 | 2016-08-16 22:14:55 +0200 | [diff] [blame] | 255 | bool "'schedutil' cpufreq policy governor" |
Rafael J. Wysocki | df12b01 | 2016-05-06 15:00:38 +0200 | [diff] [blame] | 256 | depends on CPU_FREQ && SMP |
Rafael J. Wysocki | b1d0976 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 257 | select CPU_FREQ_GOV_ATTR_SET |
| 258 | select IRQ_WORK |
| 259 | help |
| 260 | This governor makes decisions based on the utilization data provided |
| 261 | by the scheduler. It sets the CPU frequency to be proportional to |
| 262 | the utilization/capacity ratio coming from the scheduler. If the |
| 263 | utilization is frequency-invariant, the new frequency is also |
| 264 | proportional to the maximum available frequency. If that is not the |
| 265 | case, it is proportional to the current frequency of the CPU. The |
| 266 | frequency tipping point is at utilization/capacity equal to 80% in |
| 267 | both cases. |
| 268 | |
Rafael J. Wysocki | b1d0976 | 2016-04-02 01:09:12 +0200 | [diff] [blame] | 269 | If in doubt, say N. |
| 270 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 271 | comment "CPU frequency scaling drivers" |
| 272 | |
Viresh Kumar | bbcf071 | 2014-09-09 19:58:03 +0530 | [diff] [blame] | 273 | config CPUFREQ_DT |
| 274 | tristate "Generic DT based cpufreq driver" |
Viresh Kumar | 5fbfbcd | 2014-06-10 10:39:46 +0530 | [diff] [blame] | 275 | depends on HAVE_CLK && OF |
Viresh Kumar | bbcf071 | 2014-09-09 19:58:03 +0530 | [diff] [blame] | 276 | # if CPU_THERMAL is on and THERMAL=m, CPUFREQ_DT cannot be =y: |
Arnd Bergmann | 217886d | 2014-06-13 10:40:32 +0200 | [diff] [blame] | 277 | depends on !CPU_THERMAL || THERMAL |
Viresh Kumar | f56aad1 | 2016-03-30 13:45:26 +0530 | [diff] [blame] | 278 | select CPUFREQ_DT_PLATDEV |
Mark Brown | 109df08 | 2013-12-11 22:12:27 +0000 | [diff] [blame] | 279 | select PM_OPP |
Shawn Guo | 95ceafd | 2012-09-06 07:09:11 +0000 | [diff] [blame] | 280 | help |
Viresh Kumar | bbcf071 | 2014-09-09 19:58:03 +0530 | [diff] [blame] | 281 | This adds a generic DT based cpufreq driver for frequency management. |
Shawn Guo | 95ceafd | 2012-09-06 07:09:11 +0000 | [diff] [blame] | 282 | It supports both uniprocessor (UP) and symmetric multiprocessor (SMP) |
Viresh Kumar | 33cc4fc | 2016-09-09 16:48:07 +0530 | [diff] [blame] | 283 | systems. |
Shawn Guo | 95ceafd | 2012-09-06 07:09:11 +0000 | [diff] [blame] | 284 | |
| 285 | If in doubt, say N. |
| 286 | |
Viresh Kumar | f56aad1 | 2016-03-30 13:45:26 +0530 | [diff] [blame] | 287 | config CPUFREQ_DT_PLATDEV |
| 288 | bool |
| 289 | help |
| 290 | This adds a generic DT based cpufreq platdev driver for frequency |
| 291 | management. This creates a 'cpufreq-dt' platform device, on the |
| 292 | supported platforms. |
| 293 | |
| 294 | If in doubt, say N. |
| 295 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 296 | if X86 |
Dave Jones | bb0a56e | 2011-05-19 18:51:07 -0400 | [diff] [blame] | 297 | source "drivers/cpufreq/Kconfig.x86" |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 298 | endif |
Dave Jones | bb0a56e | 2011-05-19 18:51:07 -0400 | [diff] [blame] | 299 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 300 | if ARM || ARM64 |
Kukjin Kim | f7d7707 | 2011-06-01 14:18:22 -0700 | [diff] [blame] | 301 | source "drivers/cpufreq/Kconfig.arm" |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 302 | endif |
Kukjin Kim | f7d7707 | 2011-06-01 14:18:22 -0700 | [diff] [blame] | 303 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 304 | if PPC32 || PPC64 |
| 305 | source "drivers/cpufreq/Kconfig.powerpc" |
| 306 | endif |
Viresh Kumar | 81c720c | 2013-04-04 12:54:17 +0000 | [diff] [blame] | 307 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 308 | if AVR32 |
Viresh Kumar | 81c720c | 2013-04-04 12:54:17 +0000 | [diff] [blame] | 309 | config AVR32_AT32AP_CPUFREQ |
| 310 | bool "CPU frequency driver for AT32AP" |
| 311 | depends on PLATFORM_AT32AP |
| 312 | default n |
| 313 | help |
| 314 | This enables the CPU frequency driver for AT32AP processors. |
| 315 | If in doubt, say N. |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 316 | endif |
Viresh Kumar | 81c720c | 2013-04-04 12:54:17 +0000 | [diff] [blame] | 317 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 318 | if IA64 |
Viresh Kumar | ab423e4 | 2013-04-04 12:54:20 +0000 | [diff] [blame] | 319 | config IA64_ACPI_CPUFREQ |
| 320 | tristate "ACPI Processor P-States driver" |
Viresh Kumar | ab423e4 | 2013-04-04 12:54:20 +0000 | [diff] [blame] | 321 | depends on ACPI_PROCESSOR |
| 322 | help |
| 323 | This driver adds a CPUFreq driver which utilizes the ACPI |
| 324 | Processor Performance States. |
| 325 | |
| 326 | For details, take a look at <file:Documentation/cpu-freq/>. |
| 327 | |
| 328 | If in doubt, say N. |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 329 | endif |
Viresh Kumar | ab423e4 | 2013-04-04 12:54:20 +0000 | [diff] [blame] | 330 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 331 | if MIPS |
Viresh Kumar | 7a99893 | 2013-04-04 12:54:21 +0000 | [diff] [blame] | 332 | config LOONGSON2_CPUFREQ |
| 333 | tristate "Loongson2 CPUFreq Driver" |
James Hogan | 6436981 | 2017-11-15 21:17:55 +0000 | [diff] [blame] | 334 | depends on LEMOTE_MACH2F |
Viresh Kumar | 7a99893 | 2013-04-04 12:54:21 +0000 | [diff] [blame] | 335 | help |
| 336 | This option adds a CPUFreq driver for loongson processors which |
| 337 | support software configurable cpu frequency. |
| 338 | |
| 339 | Loongson2F and it's successors support this feature. |
| 340 | |
| 341 | For details, take a look at <file:Documentation/cpu-freq/>. |
| 342 | |
| 343 | If in doubt, say N. |
| 344 | |
Kelvin Cheung | a0a22cf | 2014-10-17 18:23:31 +0800 | [diff] [blame] | 345 | config LOONGSON1_CPUFREQ |
| 346 | tristate "Loongson1 CPUFreq Driver" |
James Hogan | 6436981 | 2017-11-15 21:17:55 +0000 | [diff] [blame] | 347 | depends on LOONGSON1_LS1B |
Kelvin Cheung | a0a22cf | 2014-10-17 18:23:31 +0800 | [diff] [blame] | 348 | help |
| 349 | This option adds a CPUFreq driver for loongson1 processors which |
| 350 | support software configurable cpu frequency. |
| 351 | |
| 352 | For details, take a look at <file:Documentation/cpu-freq/>. |
| 353 | |
| 354 | If in doubt, say N. |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 355 | endif |
Kelvin Cheung | a0a22cf | 2014-10-17 18:23:31 +0800 | [diff] [blame] | 356 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 357 | if SPARC64 |
Viresh Kumar | 764295a | 2013-04-04 12:54:24 +0000 | [diff] [blame] | 358 | config SPARC_US3_CPUFREQ |
| 359 | tristate "UltraSPARC-III CPU Frequency driver" |
Viresh Kumar | 764295a | 2013-04-04 12:54:24 +0000 | [diff] [blame] | 360 | help |
| 361 | This adds the CPUFreq driver for UltraSPARC-III processors. |
| 362 | |
| 363 | For details, take a look at <file:Documentation/cpu-freq>. |
| 364 | |
| 365 | If in doubt, say N. |
| 366 | |
| 367 | config SPARC_US2E_CPUFREQ |
| 368 | tristate "UltraSPARC-IIe CPU Frequency driver" |
Viresh Kumar | 764295a | 2013-04-04 12:54:24 +0000 | [diff] [blame] | 369 | help |
| 370 | This adds the CPUFreq driver for UltraSPARC-IIe processors. |
| 371 | |
| 372 | For details, take a look at <file:Documentation/cpu-freq>. |
| 373 | |
| 374 | If in doubt, say N. |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 375 | endif |
Viresh Kumar | 764295a | 2013-04-04 12:54:24 +0000 | [diff] [blame] | 376 | |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 377 | if SUPERH |
Viresh Kumar | 7258267 | 2013-04-04 12:54:22 +0000 | [diff] [blame] | 378 | config SH_CPU_FREQ |
| 379 | tristate "SuperH CPU Frequency driver" |
Viresh Kumar | 7258267 | 2013-04-04 12:54:22 +0000 | [diff] [blame] | 380 | help |
| 381 | This adds the cpufreq driver for SuperH. Any CPU that supports |
| 382 | clock rate rounding through the clock framework can use this |
| 383 | driver. While it will make the kernel slightly larger, this is |
| 384 | harmless for CPUs that don't support rate rounding. The driver |
| 385 | will also generate a notice in the boot log before disabling |
| 386 | itself if the CPU in question is not capable of rate rounding. |
| 387 | |
| 388 | For details, take a look at <file:Documentation/cpu-freq>. |
| 389 | |
| 390 | If unsure, say N. |
Viresh Kumar | f41f481 | 2014-11-15 08:50:44 +0530 | [diff] [blame] | 391 | endif |
Viresh Kumar | 7258267 | 2013-04-04 12:54:22 +0000 | [diff] [blame] | 392 | |
Tang Yuantian | 2f24935 | 2015-03-13 12:39:02 +0800 | [diff] [blame] | 393 | config QORIQ_CPUFREQ |
| 394 | tristate "CPU frequency scaling driver for Freescale QorIQ SoCs" |
| 395 | depends on OF && COMMON_CLK && (PPC_E500MC || ARM) |
Arnd Bergmann | ddd30ef | 2016-02-29 17:04:20 +0100 | [diff] [blame] | 396 | depends on !CPU_THERMAL || THERMAL |
Tang Yuantian | 2f24935 | 2015-03-13 12:39:02 +0800 | [diff] [blame] | 397 | select CLK_QORIQ |
| 398 | help |
| 399 | This adds the CPUFreq driver support for Freescale QorIQ SoCs |
| 400 | which are capable of changing the CPU's frequency dynamically. |
| 401 | |
Dave Jones | bb0a56e | 2011-05-19 18:51:07 -0400 | [diff] [blame] | 402 | endif |
| 403 | endmenu |