aboutsummaryrefslogtreecommitdiff
path: root/drivers/pmdomain/arm
diff options
context:
space:
mode:
authorGravatar Sudeep Holla <sudeep.holla@arm.com> 2023-11-23 12:08:46 +0000
committerGravatar Ulf Hansson <ulf.hansson@linaro.org> 2023-11-23 17:32:53 +0100
commit820cec125970b37cbbd0fa026b314c5e6094fcbf (patch)
treecec2ee66198c8a6ac82008699a305a4d4f4af389 /drivers/pmdomain/arm
parentpmdomain: qcom: rpmhpd: Update part number to X1E80100 (diff)
downloadlinux-820cec125970b37cbbd0fa026b314c5e6094fcbf.tar.gz
linux-820cec125970b37cbbd0fa026b314c5e6094fcbf.tar.bz2
linux-820cec125970b37cbbd0fa026b314c5e6094fcbf.zip
pmdomain: arm_scmi: Move Kconfig options to the pmdomain subsystem
The Kconfig options belongs closer to the corresponding implementations, hence let's move them from the firmware to the pmdomain subsystem. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Link: https://lore.kernel.org/r/20231123120847.2825444-1-sudeep.holla@arm.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain/arm')
-rw-r--r--drivers/pmdomain/arm/Kconfig25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/pmdomain/arm/Kconfig b/drivers/pmdomain/arm/Kconfig
new file mode 100644
index 000000000000..acbe4331aaf7
--- /dev/null
+++ b/drivers/pmdomain/arm/Kconfig
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config ARM_SCMI_PERF_DOMAIN
+ tristate "SCMI performance domain driver"
+ depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
+ default y
+ select PM_GENERIC_DOMAINS if PM
+ help
+ This enables support for the SCMI performance domains which can be
+ enabled or disabled via the SCP firmware.
+
+ This driver can also be built as a module. If so, the module will be
+ called scmi_perf_domain.
+
+config ARM_SCMI_POWER_DOMAIN
+ tristate "SCMI power domain driver"
+ depends on ARM_SCMI_PROTOCOL || (COMPILE_TEST && OF)
+ default y
+ select PM_GENERIC_DOMAINS if PM
+ help
+ This enables support for the SCMI power domains which can be
+ enabled or disabled via the SCP firmware
+
+ This driver can also be built as a module. If so, the module
+ will be called scmi_pm_domain. Note this may needed early in boot
+ before rootfs may be available.