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