summaryrefslogtreecommitdiff
path: root/drivers/devfreq/Kconfig
diff options
context:
space:
mode:
authorDan Sneddon <dsneddon@codeaurora.org>2014-09-22 12:49:26 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:03:58 -0700
commit924da379e02c1c89f34eaeb2b040b2f2ddb34f66 (patch)
tree63ec8b46557256f8cec2e5b7332d93cb28a8b359 /drivers/devfreq/Kconfig
parentadb7181f83a20fce3317a7b4ee7ea8958b5363b8 (diff)
devfreq: devfreq_spdm: Introduce devfreq_spdm driver.
The devfreq_spdm driver implements support for bandwidth voting based on input from the SPDM device on MSM SoC's. The SPDM governor registers for the SPDM interrupt and then calls the hypervisor to determine the correct bandwidth to vote for. The devfreq framework poll timer is used to perdiocially ask the hypervisor for the new bandwidth to request from the MSM bus scaling code. Change-Id: I851457e40d49b5929f01c510249d3e6bb4ff2f1d Signed-off-by: Dan Sneddon <dsneddon@codeaurora.org> [junjiew@codeaurora.org: resolved trivial conflicts] Signed-off-by: Junjie Wu <junjiew@codeaurora.org>
Diffstat (limited to 'drivers/devfreq/Kconfig')
-rw-r--r--drivers/devfreq/Kconfig18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig
index bc8945e7e41b..e2222972dae2 100644
--- a/drivers/devfreq/Kconfig
+++ b/drivers/devfreq/Kconfig
@@ -111,6 +111,15 @@ config DEVFREQ_GOV_MSM_CACHE_HWMON
conflict with existing profiling tools. This governor is unlikely
to be useful for other devices.
+config DEVFREQ_GOV_SPDM_HYP
+ bool "MSM SPDM Hypervisor Governor"
+ depends on ARCH_MSM
+ help
+ Hypervisor based governor for CPU bandwidth voting
+ for MSM chipsets.
+ Sets the frequency using a "on-demand" algorithm.
+ This governor is unlikely to be useful for other devices.
+
comment "DEVFREQ Drivers"
config ARM_EXYNOS4_BUS_DEVFREQ
@@ -169,6 +178,15 @@ config MSM_DEVFREQ_DEVBW
agnostic interface to so that some of the devfreq governors can be
shared across SoCs.
+config DEVFREQ_SPDM
+ bool "MSM SPDM based bandwidth voting"
+ depends on ARCH_MSM
+ select DEVFREQ_GOV_SPDM_HYP
+ help
+ This adds the support for SPDM based bandwidth voting on MSM chipsets.
+ This driver allows any SPDM based client to vote for bandwidth.
+ Used with the MSM SPDM Hypervisor Governor.
+
source "drivers/devfreq/event/Kconfig"
endif # PM_DEVFREQ