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

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

msm: devfreq_cpubw: Move devfreq_cpubw to drivers/devfreq



In order to share devfreq_cpubw among all targets, it needs to be
moved outside arch/arm/mach-msm directory. Move the file and
Kconfig to drivers/devfreq.

Change-Id: I4dd476b315b04f84b07855bec3ed5b6061549ea9
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent e30c480b
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -699,20 +699,6 @@ config MSM_CPU_FREQ_MIN

endif # CPU_FREQ_MSM

config MSM_DEVFREQ_CPUBW
	bool "Devfreq device for CPU<->DDR IB/AB BW voting"
	depends on PM_DEVFREQ
	select DEVFREQ_GOV_PERFORMANCE
	select DEVFREQ_GOV_POWERSAVE
	select DEVFREQ_GOV_USERSPACE
	select DEVFREQ_GOV_MSM_CPUFREQ
	default n
	help
	  Different devfreq governors use this devfreq device to make CPU to
	  DDR IB/AB bandwidth votes. This driver provides a SoC topology
	  agnostic interface to so that some of the devfreq governors can be
	  shared across SoCs.

config RTAC
	bool "MSM8K real-time audio calibration support"
	default y
+0 −1
Original line number Diff line number Diff line
@@ -78,7 +78,6 @@ obj-$(CONFIG_MEMORY_HOLE_CARVEOUT) += msm_mem_hole.o
obj-$(CONFIG_MSM_SMCMOD) += smcmod.o

obj-$(CONFIG_ARCH_MSM8974) += msm_mpmctr.o
obj-$(CONFIG_MSM_DEVFREQ_CPUBW) += devfreq_cpubw.o

obj-$(CONFIG_ARCH_RANDOM) += early_random.o
obj-$(CONFIG_PERFMAP) += perfmap.o
+14 −0
Original line number Diff line number Diff line
@@ -105,4 +105,18 @@ config ARM_EXYNOS4_BUS_DEVFREQ
	  To operate with optimal voltages, ASV support is required
	  (CONFIG_EXYNOS_ASV).

config MSM_DEVFREQ_CPUBW
	bool "MSM DEVFREQ device for CPU<->DDR IB/AB BW voting"
	depends on ARCH_MSM
	select DEVFREQ_GOV_PERFORMANCE
	select DEVFREQ_GOV_POWERSAVE
	select DEVFREQ_GOV_USERSPACE
	select DEVFREQ_GOV_MSM_CPUFREQ
	default n
	help
	  Different devfreq governors use this devfreq device to make CPU to
	  DDR IB/AB bandwidth votes. This driver provides a SoC topology
	  agnostic interface to so that some of the devfreq governors can be
	  shared across SoCs.

endif # PM_DEVFREQ
+1 −0
Original line number Diff line number Diff line
@@ -10,3 +10,4 @@ obj-$(CONFIG_DEVFREQ_GOV_MSM_CPUBW_HWMON) += governor_cpubw_hwmon.o

# DEVFREQ Drivers
obj-$(CONFIG_ARM_EXYNOS4_BUS_DEVFREQ)	+= exynos4_bus.o
obj-$(CONFIG_MSM_DEVFREQ_CPUBW)		+= devfreq_cpubw.o