From a145a6f2e7b2b762ee631652aef1e6f78a61835c Mon Sep 17 00:00:00 2001 From: Dan Sneddon Date: Wed, 5 Nov 2014 12:23:30 -0700 Subject: devfreq: devfreq_spdm: Support scm and hvc Currently SPDM driver uses hvc calls to support the dcvs algorithm logic. On some targets this dcvs algorithm support is present in TZ and which is accessed via separate calls. Add SCM call to support TZ based dcvs algorithm. Change-Id: I197f0f13b4107047151e10e19e4849008607f3e8 Signed-off-by: Dan Sneddon Signed-off-by: Alok Chauhan --- drivers/devfreq/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'drivers/devfreq/Kconfig') diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index b391ea4f8b34..f47a54c122f9 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -187,6 +187,15 @@ config MSM_DEVFREQ_DEVBW agnostic interface to so that some of the devfreq governors can be shared across SoCs. +config SPDM_SCM + bool "MSM SPDM SCM based call support" + depends on DEVFREQ_SPDM + help + SPDM driver support the dcvs algorithm logic being accessed via + scm or hvc calls. This adds the support for SPDM interaction to + tz via SCM based call. If not selected then Hypervior interaction + will be activated. + config DEVFREQ_SPDM bool "MSM SPDM based bandwidth voting" depends on ARCH_MSM -- cgit v1.2.3