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