18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_cimenu "CPU Frequency scaling"
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ciconfig CPU_FREQ
58c2ecf20Sopenharmony_ci	bool "CPU Frequency scaling"
68c2ecf20Sopenharmony_ci	select SRCU
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  CPU Frequency scaling allows you to change the clock speed of 
98c2ecf20Sopenharmony_ci	  CPUs on the fly. This is a nice method to save power, because 
108c2ecf20Sopenharmony_ci	  the lower the CPU clock speed, the less power the CPU consumes.
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci	  Note that this driver doesn't automatically change the CPU
138c2ecf20Sopenharmony_ci	  clock speed, you need to either enable a dynamic cpufreq governor
148c2ecf20Sopenharmony_ci	  (see below) after boot, or use a userspace tool.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	  For details, take a look at <file:Documentation/cpu-freq>.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci	  If in doubt, say N.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciif CPU_FREQ
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig CPU_FREQ_GOV_ATTR_SET
238c2ecf20Sopenharmony_ci	bool
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig CPU_FREQ_GOV_COMMON
268c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_ATTR_SET
278c2ecf20Sopenharmony_ci	select IRQ_WORK
288c2ecf20Sopenharmony_ci	bool
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ciconfig CPU_FREQ_STAT
318c2ecf20Sopenharmony_ci	bool "CPU frequency transition statistics"
328c2ecf20Sopenharmony_ci	help
338c2ecf20Sopenharmony_ci	  Export CPU frequency statistics information through sysfs.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ci	  If in doubt, say N.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_cichoice
388c2ecf20Sopenharmony_ci	prompt "Default CPUFreq governor"
398c2ecf20Sopenharmony_ci	default CPU_FREQ_DEFAULT_GOV_USERSPACE if ARM_SA1100_CPUFREQ || ARM_SA1110_CPUFREQ
408c2ecf20Sopenharmony_ci	default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if ARM64 || ARM
418c2ecf20Sopenharmony_ci	default CPU_FREQ_DEFAULT_GOV_SCHEDUTIL if X86_INTEL_PSTATE && SMP
428c2ecf20Sopenharmony_ci	default CPU_FREQ_DEFAULT_GOV_PERFORMANCE
438c2ecf20Sopenharmony_ci	help
448c2ecf20Sopenharmony_ci	  This option sets which CPUFreq governor shall be loaded at
458c2ecf20Sopenharmony_ci	  startup. If in doubt, use the default setting.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig CPU_FREQ_DEFAULT_GOV_PERFORMANCE
488c2ecf20Sopenharmony_ci	bool "performance"
498c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_PERFORMANCE
508c2ecf20Sopenharmony_ci	help
518c2ecf20Sopenharmony_ci	  Use the CPUFreq governor 'performance' as default. This sets
528c2ecf20Sopenharmony_ci	  the frequency statically to the highest frequency supported by
538c2ecf20Sopenharmony_ci	  the CPU.
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ciconfig CPU_FREQ_DEFAULT_GOV_POWERSAVE
568c2ecf20Sopenharmony_ci	bool "powersave"
578c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_POWERSAVE
588c2ecf20Sopenharmony_ci	help
598c2ecf20Sopenharmony_ci	  Use the CPUFreq governor 'powersave' as default. This sets
608c2ecf20Sopenharmony_ci	  the frequency statically to the lowest frequency supported by
618c2ecf20Sopenharmony_ci	  the CPU.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciconfig CPU_FREQ_DEFAULT_GOV_USERSPACE
648c2ecf20Sopenharmony_ci	bool "userspace"
658c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_USERSPACE
668c2ecf20Sopenharmony_ci	help
678c2ecf20Sopenharmony_ci	  Use the CPUFreq governor 'userspace' as default. This allows
688c2ecf20Sopenharmony_ci	  you to set the CPU frequency manually or when a userspace 
698c2ecf20Sopenharmony_ci	  program shall be able to set the CPU dynamically without having
708c2ecf20Sopenharmony_ci	  to enable the userspace governor manually.
718c2ecf20Sopenharmony_ci
728c2ecf20Sopenharmony_ciconfig CPU_FREQ_DEFAULT_GOV_ONDEMAND
738c2ecf20Sopenharmony_ci	bool "ondemand"
748c2ecf20Sopenharmony_ci	depends on !(X86_INTEL_PSTATE && SMP)
758c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_ONDEMAND
768c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_PERFORMANCE
778c2ecf20Sopenharmony_ci	help
788c2ecf20Sopenharmony_ci	  Use the CPUFreq governor 'ondemand' as default. This allows
798c2ecf20Sopenharmony_ci	  you to get a full dynamic frequency capable system by simply
808c2ecf20Sopenharmony_ci	  loading your cpufreq low-level hardware driver.
818c2ecf20Sopenharmony_ci	  Be aware that not all cpufreq drivers support the ondemand
828c2ecf20Sopenharmony_ci	  governor. If unsure have a look at the help section of the
838c2ecf20Sopenharmony_ci	  driver. Fallback governor will be the performance governor.
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ciconfig CPU_FREQ_DEFAULT_GOV_CONSERVATIVE
868c2ecf20Sopenharmony_ci	bool "conservative"
878c2ecf20Sopenharmony_ci	depends on !(X86_INTEL_PSTATE && SMP)
888c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_CONSERVATIVE
898c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_PERFORMANCE
908c2ecf20Sopenharmony_ci	help
918c2ecf20Sopenharmony_ci	  Use the CPUFreq governor 'conservative' as default. This allows
928c2ecf20Sopenharmony_ci	  you to get a full dynamic frequency capable system by simply
938c2ecf20Sopenharmony_ci	  loading your cpufreq low-level hardware driver.
948c2ecf20Sopenharmony_ci	  Be aware that not all cpufreq drivers support the conservative
958c2ecf20Sopenharmony_ci	  governor. If unsure have a look at the help section of the
968c2ecf20Sopenharmony_ci	  driver. Fallback governor will be the performance governor.
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ciconfig CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
998c2ecf20Sopenharmony_ci	bool "schedutil"
1008c2ecf20Sopenharmony_ci	depends on SMP
1018c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_SCHEDUTIL
1028c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_PERFORMANCE
1038c2ecf20Sopenharmony_ci	help
1048c2ecf20Sopenharmony_ci	  Use the 'schedutil' CPUFreq governor by default. If unsure,
1058c2ecf20Sopenharmony_ci	  have a look at the help section of that governor. The fallback
1068c2ecf20Sopenharmony_ci	  governor will be 'performance'.
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ciendchoice
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ciconfig CPU_FREQ_GOV_PERFORMANCE
1118c2ecf20Sopenharmony_ci	tristate "'performance' governor"
1128c2ecf20Sopenharmony_ci	help
1138c2ecf20Sopenharmony_ci	  This cpufreq governor sets the frequency statically to the
1148c2ecf20Sopenharmony_ci	  highest available CPU frequency.
1158c2ecf20Sopenharmony_ci
1168c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
1178c2ecf20Sopenharmony_ci	  module will be called cpufreq_performance.
1188c2ecf20Sopenharmony_ci
1198c2ecf20Sopenharmony_ci	  If in doubt, say Y.
1208c2ecf20Sopenharmony_ci
1218c2ecf20Sopenharmony_ciconfig CPU_FREQ_GOV_POWERSAVE
1228c2ecf20Sopenharmony_ci	tristate "'powersave' governor"
1238c2ecf20Sopenharmony_ci	help
1248c2ecf20Sopenharmony_ci	  This cpufreq governor sets the frequency statically to the
1258c2ecf20Sopenharmony_ci	  lowest available CPU frequency.
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
1288c2ecf20Sopenharmony_ci	  module will be called cpufreq_powersave.
1298c2ecf20Sopenharmony_ci
1308c2ecf20Sopenharmony_ci	  If in doubt, say Y.
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ciconfig CPU_FREQ_GOV_USERSPACE
1338c2ecf20Sopenharmony_ci	tristate "'userspace' governor for userspace frequency scaling"
1348c2ecf20Sopenharmony_ci	help
1358c2ecf20Sopenharmony_ci	  Enable this cpufreq governor when you either want to set the
1368c2ecf20Sopenharmony_ci	  CPU frequency manually or when a userspace program shall
1378c2ecf20Sopenharmony_ci	  be able to set the CPU dynamically, like on LART 
1388c2ecf20Sopenharmony_ci	  <http://www.lartmaker.nl/>.
1398c2ecf20Sopenharmony_ci
1408c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
1418c2ecf20Sopenharmony_ci	  module will be called cpufreq_userspace.
1428c2ecf20Sopenharmony_ci
1438c2ecf20Sopenharmony_ci	  For details, take a look at <file:Documentation/cpu-freq/>.
1448c2ecf20Sopenharmony_ci
1458c2ecf20Sopenharmony_ci	  If in doubt, say Y.
1468c2ecf20Sopenharmony_ci
1478c2ecf20Sopenharmony_ciconfig CPU_FREQ_GOV_ONDEMAND
1488c2ecf20Sopenharmony_ci	tristate "'ondemand' cpufreq policy governor"
1498c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_COMMON
1508c2ecf20Sopenharmony_ci	help
1518c2ecf20Sopenharmony_ci	  'ondemand' - This driver adds a dynamic cpufreq policy governor.
1528c2ecf20Sopenharmony_ci	  The governor does a periodic polling and 
1538c2ecf20Sopenharmony_ci	  changes frequency based on the CPU utilization.
1548c2ecf20Sopenharmony_ci	  The support for this governor depends on CPU capability to
1558c2ecf20Sopenharmony_ci	  do fast frequency switching (i.e, very low latency frequency
1568c2ecf20Sopenharmony_ci	  transitions). 
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
1598c2ecf20Sopenharmony_ci	  module will be called cpufreq_ondemand.
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ci	  For details, take a look at linux/Documentation/cpu-freq.
1628c2ecf20Sopenharmony_ci
1638c2ecf20Sopenharmony_ci	  If in doubt, say N.
1648c2ecf20Sopenharmony_ci
1658c2ecf20Sopenharmony_ciconfig CPU_FREQ_GOV_CONSERVATIVE
1668c2ecf20Sopenharmony_ci	tristate "'conservative' cpufreq governor"
1678c2ecf20Sopenharmony_ci	depends on CPU_FREQ
1688c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_COMMON
1698c2ecf20Sopenharmony_ci	help
1708c2ecf20Sopenharmony_ci	  'conservative' - this driver is rather similar to the 'ondemand'
1718c2ecf20Sopenharmony_ci	  governor both in its source code and its purpose, the difference is
1728c2ecf20Sopenharmony_ci	  its optimisation for better suitability in a battery powered
1738c2ecf20Sopenharmony_ci	  environment.  The frequency is gracefully increased and decreased
1748c2ecf20Sopenharmony_ci	  rather than jumping to 100% when speed is required.
1758c2ecf20Sopenharmony_ci
1768c2ecf20Sopenharmony_ci	  If you have a desktop machine then you should really be considering
1778c2ecf20Sopenharmony_ci	  the 'ondemand' governor instead, however if you are using a laptop,
1788c2ecf20Sopenharmony_ci	  PDA or even an AMD64 based computer (due to the unacceptable
1798c2ecf20Sopenharmony_ci	  step-by-step latency issues between the minimum and maximum frequency
1808c2ecf20Sopenharmony_ci	  transitions in the CPU) you will probably want to use this governor.
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
1838c2ecf20Sopenharmony_ci	  module will be called cpufreq_conservative.
1848c2ecf20Sopenharmony_ci
1858c2ecf20Sopenharmony_ci	  For details, take a look at linux/Documentation/cpu-freq.
1868c2ecf20Sopenharmony_ci
1878c2ecf20Sopenharmony_ci	  If in doubt, say N.
1888c2ecf20Sopenharmony_ci
1898c2ecf20Sopenharmony_ciconfig CPU_FREQ_GOV_SCHEDUTIL
1908c2ecf20Sopenharmony_ci	bool "'schedutil' cpufreq policy governor"
1918c2ecf20Sopenharmony_ci	depends on CPU_FREQ && SMP
1928c2ecf20Sopenharmony_ci	select CPU_FREQ_GOV_ATTR_SET
1938c2ecf20Sopenharmony_ci	select IRQ_WORK
1948c2ecf20Sopenharmony_ci	help
1958c2ecf20Sopenharmony_ci	  This governor makes decisions based on the utilization data provided
1968c2ecf20Sopenharmony_ci	  by the scheduler.  It sets the CPU frequency to be proportional to
1978c2ecf20Sopenharmony_ci	  the utilization/capacity ratio coming from the scheduler.  If the
1988c2ecf20Sopenharmony_ci	  utilization is frequency-invariant, the new frequency is also
1998c2ecf20Sopenharmony_ci	  proportional to the maximum available frequency.  If that is not the
2008c2ecf20Sopenharmony_ci	  case, it is proportional to the current frequency of the CPU.  The
2018c2ecf20Sopenharmony_ci	  frequency tipping point is at utilization/capacity equal to 80% in
2028c2ecf20Sopenharmony_ci	  both cases.
2038c2ecf20Sopenharmony_ci
2048c2ecf20Sopenharmony_ci	  If in doubt, say N.
2058c2ecf20Sopenharmony_ci
2068c2ecf20Sopenharmony_cicomment "CPU frequency scaling drivers"
2078c2ecf20Sopenharmony_ci
2088c2ecf20Sopenharmony_ciconfig CPUFREQ_DT
2098c2ecf20Sopenharmony_ci	tristate "Generic DT based cpufreq driver"
2108c2ecf20Sopenharmony_ci	depends on HAVE_CLK && OF
2118c2ecf20Sopenharmony_ci	select CPUFREQ_DT_PLATDEV
2128c2ecf20Sopenharmony_ci	select PM_OPP
2138c2ecf20Sopenharmony_ci	help
2148c2ecf20Sopenharmony_ci	  This adds a generic DT based cpufreq driver for frequency management.
2158c2ecf20Sopenharmony_ci	  It supports both uniprocessor (UP) and symmetric multiprocessor (SMP)
2168c2ecf20Sopenharmony_ci	  systems.
2178c2ecf20Sopenharmony_ci
2188c2ecf20Sopenharmony_ci	  If in doubt, say N.
2198c2ecf20Sopenharmony_ci
2208c2ecf20Sopenharmony_ciconfig CPUFREQ_DT_PLATDEV
2218c2ecf20Sopenharmony_ci	bool
2228c2ecf20Sopenharmony_ci	help
2238c2ecf20Sopenharmony_ci	  This adds a generic DT based cpufreq platdev driver for frequency
2248c2ecf20Sopenharmony_ci	  management.  This creates a 'cpufreq-dt' platform device, on the
2258c2ecf20Sopenharmony_ci	  supported platforms.
2268c2ecf20Sopenharmony_ci
2278c2ecf20Sopenharmony_ci	  If in doubt, say N.
2288c2ecf20Sopenharmony_ci
2298c2ecf20Sopenharmony_ciif X86
2308c2ecf20Sopenharmony_cisource "drivers/cpufreq/Kconfig.x86"
2318c2ecf20Sopenharmony_ciendif
2328c2ecf20Sopenharmony_ci
2338c2ecf20Sopenharmony_ciif ARM || ARM64
2348c2ecf20Sopenharmony_cisource "drivers/cpufreq/Kconfig.arm"
2358c2ecf20Sopenharmony_ciendif
2368c2ecf20Sopenharmony_ci
2378c2ecf20Sopenharmony_ciif PPC32 || PPC64
2388c2ecf20Sopenharmony_cisource "drivers/cpufreq/Kconfig.powerpc"
2398c2ecf20Sopenharmony_ciendif
2408c2ecf20Sopenharmony_ci
2418c2ecf20Sopenharmony_ciif IA64
2428c2ecf20Sopenharmony_ciconfig IA64_ACPI_CPUFREQ
2438c2ecf20Sopenharmony_ci	tristate "ACPI Processor P-States driver"
2448c2ecf20Sopenharmony_ci	depends on ACPI_PROCESSOR
2458c2ecf20Sopenharmony_ci	help
2468c2ecf20Sopenharmony_ci	This driver adds a CPUFreq driver which utilizes the ACPI
2478c2ecf20Sopenharmony_ci	Processor Performance States.
2488c2ecf20Sopenharmony_ci
2498c2ecf20Sopenharmony_ci	For details, take a look at <file:Documentation/cpu-freq/>.
2508c2ecf20Sopenharmony_ci
2518c2ecf20Sopenharmony_ci	If in doubt, say N.
2528c2ecf20Sopenharmony_ciendif
2538c2ecf20Sopenharmony_ci
2548c2ecf20Sopenharmony_ciif MIPS
2558c2ecf20Sopenharmony_ciconfig BMIPS_CPUFREQ
2568c2ecf20Sopenharmony_ci	tristate "BMIPS CPUfreq Driver"
2578c2ecf20Sopenharmony_ci	help
2588c2ecf20Sopenharmony_ci	  This option adds a CPUfreq driver for BMIPS processors with
2598c2ecf20Sopenharmony_ci	  support for configurable CPU frequency.
2608c2ecf20Sopenharmony_ci
2618c2ecf20Sopenharmony_ci	  For now, BMIPS5 chips are supported (such as the Broadcom 7425).
2628c2ecf20Sopenharmony_ci
2638c2ecf20Sopenharmony_ci	  If in doubt, say N.
2648c2ecf20Sopenharmony_ci
2658c2ecf20Sopenharmony_ciconfig LOONGSON2_CPUFREQ
2668c2ecf20Sopenharmony_ci	tristate "Loongson2 CPUFreq Driver"
2678c2ecf20Sopenharmony_ci	depends on LEMOTE_MACH2F
2688c2ecf20Sopenharmony_ci	help
2698c2ecf20Sopenharmony_ci	  This option adds a CPUFreq driver for loongson processors which
2708c2ecf20Sopenharmony_ci	  support software configurable cpu frequency.
2718c2ecf20Sopenharmony_ci
2728c2ecf20Sopenharmony_ci	  Loongson2F and it's successors support this feature.
2738c2ecf20Sopenharmony_ci
2748c2ecf20Sopenharmony_ci	  For details, take a look at <file:Documentation/cpu-freq/>.
2758c2ecf20Sopenharmony_ci
2768c2ecf20Sopenharmony_ci	  If in doubt, say N.
2778c2ecf20Sopenharmony_ci
2788c2ecf20Sopenharmony_ciconfig LOONGSON1_CPUFREQ
2798c2ecf20Sopenharmony_ci	tristate "Loongson1 CPUFreq Driver"
2808c2ecf20Sopenharmony_ci	depends on LOONGSON1_LS1B
2818c2ecf20Sopenharmony_ci	help
2828c2ecf20Sopenharmony_ci	  This option adds a CPUFreq driver for loongson1 processors which
2838c2ecf20Sopenharmony_ci	  support software configurable cpu frequency.
2848c2ecf20Sopenharmony_ci
2858c2ecf20Sopenharmony_ci	  For details, take a look at <file:Documentation/cpu-freq/>.
2868c2ecf20Sopenharmony_ci
2878c2ecf20Sopenharmony_ci	  If in doubt, say N.
2888c2ecf20Sopenharmony_ciendif
2898c2ecf20Sopenharmony_ci
2908c2ecf20Sopenharmony_ciif LOONGARCH
2918c2ecf20Sopenharmony_ciconfig LOONGSON3_CPUFREQ
2928c2ecf20Sopenharmony_ci	tristate "Loongson3 CPUFreq Driver"
2938c2ecf20Sopenharmony_ci	help
2948c2ecf20Sopenharmony_ci	  This option adds a CPUFreq driver for Loongson processors which
2958c2ecf20Sopenharmony_ci	  support software configurable cpu frequency.
2968c2ecf20Sopenharmony_ci
2978c2ecf20Sopenharmony_ci	  Loongson-3 family processors support this feature.
2988c2ecf20Sopenharmony_ci
2998c2ecf20Sopenharmony_ci	  For details, take a look at <file:Documentation/cpu-freq/>.
3008c2ecf20Sopenharmony_ci
3018c2ecf20Sopenharmony_ci	  If in doubt, say N.
3028c2ecf20Sopenharmony_ciendif
3038c2ecf20Sopenharmony_ci
3048c2ecf20Sopenharmony_ciif SPARC64
3058c2ecf20Sopenharmony_ciconfig SPARC_US3_CPUFREQ
3068c2ecf20Sopenharmony_ci	tristate "UltraSPARC-III CPU Frequency driver"
3078c2ecf20Sopenharmony_ci	help
3088c2ecf20Sopenharmony_ci	  This adds the CPUFreq driver for UltraSPARC-III processors.
3098c2ecf20Sopenharmony_ci
3108c2ecf20Sopenharmony_ci	  For details, take a look at <file:Documentation/cpu-freq>.
3118c2ecf20Sopenharmony_ci
3128c2ecf20Sopenharmony_ci	  If in doubt, say N.
3138c2ecf20Sopenharmony_ci
3148c2ecf20Sopenharmony_ciconfig SPARC_US2E_CPUFREQ
3158c2ecf20Sopenharmony_ci	tristate "UltraSPARC-IIe CPU Frequency driver"
3168c2ecf20Sopenharmony_ci	help
3178c2ecf20Sopenharmony_ci	  This adds the CPUFreq driver for UltraSPARC-IIe processors.
3188c2ecf20Sopenharmony_ci
3198c2ecf20Sopenharmony_ci	  For details, take a look at <file:Documentation/cpu-freq>.
3208c2ecf20Sopenharmony_ci
3218c2ecf20Sopenharmony_ci	  If in doubt, say N.
3228c2ecf20Sopenharmony_ciendif
3238c2ecf20Sopenharmony_ci
3248c2ecf20Sopenharmony_ciif SUPERH
3258c2ecf20Sopenharmony_ciconfig SH_CPU_FREQ
3268c2ecf20Sopenharmony_ci	tristate "SuperH CPU Frequency driver"
3278c2ecf20Sopenharmony_ci	help
3288c2ecf20Sopenharmony_ci	  This adds the cpufreq driver for SuperH. Any CPU that supports
3298c2ecf20Sopenharmony_ci	  clock rate rounding through the clock framework can use this
3308c2ecf20Sopenharmony_ci	  driver. While it will make the kernel slightly larger, this is
3318c2ecf20Sopenharmony_ci	  harmless for CPUs that don't support rate rounding. The driver
3328c2ecf20Sopenharmony_ci	  will also generate a notice in the boot log before disabling
3338c2ecf20Sopenharmony_ci	  itself if the CPU in question is not capable of rate rounding.
3348c2ecf20Sopenharmony_ci
3358c2ecf20Sopenharmony_ci	  For details, take a look at <file:Documentation/cpu-freq>.
3368c2ecf20Sopenharmony_ci
3378c2ecf20Sopenharmony_ci	  If unsure, say N.
3388c2ecf20Sopenharmony_ciendif
3398c2ecf20Sopenharmony_ci
3408c2ecf20Sopenharmony_ciconfig QORIQ_CPUFREQ
3418c2ecf20Sopenharmony_ci	tristate "CPU frequency scaling driver for Freescale QorIQ SoCs"
3428c2ecf20Sopenharmony_ci	depends on OF && COMMON_CLK
3438c2ecf20Sopenharmony_ci	depends on PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST
3448c2ecf20Sopenharmony_ci	select CLK_QORIQ
3458c2ecf20Sopenharmony_ci	help
3468c2ecf20Sopenharmony_ci	  This adds the CPUFreq driver support for Freescale QorIQ SoCs
3478c2ecf20Sopenharmony_ci	  which are capable of changing the CPU's frequency dynamically.
3488c2ecf20Sopenharmony_ci
3498c2ecf20Sopenharmony_ciendif
3508c2ecf20Sopenharmony_ciendmenu
351