Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fffce141 authored by Junjie Wu's avatar Junjie Wu
Browse files

ARM64: Add CPU_FREQ related Kconfig



Add CPU_FREQ related Kconfig to enable cpufreq scaling configurations

Change-Id: I9e1744f91f8e4730f41f5675caa11cbc395aafd6
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent a8d0e9e1
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -100,6 +100,13 @@ config IOMMU_HELPER
config KERNEL_MODE_NEON
	def_bool y

config ARCH_HAS_CPUFREQ
	bool
	help
	  Internal node to signify that the ARCH has CPUFREQ support
	  and that the relevant menu configurations are displayed for
	  it.

source "init/Kconfig"

source "kernel/Kconfig.freezer"
@@ -125,6 +132,8 @@ config ARCH_MSM
	select MSM_IRQ
	select PINCTRL
	select SOC_BUS
	select ARCH_HAS_CPUFREQ
	select CPU_FREQ_MSM
	help
	  This enables support for the ARMv8 based Qualcomm chipsets.

@@ -319,6 +328,10 @@ endmenu

menu "CPU Power Management"

if ARCH_HAS_CPUFREQ
source "drivers/cpufreq/Kconfig"
endif

source "drivers/cpuidle/Kconfig"

endmenu