summaryrefslogtreecommitdiff
path: root/drivers/pmdomain/arm/Kconfig
diff options
context:
space:
mode:
authorSudeep Holla <sudeep.holla@arm.com>2023-11-23 12:08:47 +0000
committerUlf Hansson <ulf.hansson@linaro.org>2023-11-23 17:32:53 +0100
commit62b14b9e86a1c94b1a2f41a52adcfda822a9863e (patch)
tree2562ed15bc81dc5135f446781d1f04c97dc87096 /drivers/pmdomain/arm/Kconfig
parent820cec125970b37cbbd0fa026b314c5e6094fcbf (diff)
firmware: arm_scpi: Move power-domain driver to the pmdomain dir
To simplify with maintenance let's move the Arm SCPI power-domain driver to the new pmdomain directory. Note this is different from and precedes the new Arm SCMI protocol. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Link: https://lore.kernel.org/r/20231123120847.2825444-2-sudeep.holla@arm.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain/arm/Kconfig')
-rw-r--r--drivers/pmdomain/arm/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/pmdomain/arm/Kconfig b/drivers/pmdomain/arm/Kconfig
index acbe4331aaf7..efa139c34e08 100644
--- a/drivers/pmdomain/arm/Kconfig
+++ b/drivers/pmdomain/arm/Kconfig
@@ -23,3 +23,15 @@ config ARM_SCMI_POWER_DOMAIN
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.
+
+config ARM_SCPI_POWER_DOMAIN
+ tristate "SCPI power domain driver"
+ depends on ARM_SCPI_PROTOCOL || (COMPILE_TEST && OF)
+ default y
+ select PM_GENERIC_DOMAINS if PM
+ help
+ This enables support for the SCPI 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 scpi_pm_domain.