summaryrefslogtreecommitdiff
path: root/drivers/pmdomain
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2023-09-12 16:41:22 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2023-10-05 00:41:56 +0300
commitd8237f8733efeb2f687907e73c658e4662dbfa00 (patch)
tree525685e2820594dc4919b241e1750fddc10dc884 /drivers/pmdomain
parent02c24a120374b8beb3078a40ce1e7fd326518fcf (diff)
downloadlinux-d8237f8733efeb2f687907e73c658e4662dbfa00.tar.xz
pmdomain: xilinx: Move Kconfig option to the pmdomain subsystem
The Kconfig option belongs closer to the corresponding implementation, hence let's move it from the soc subsystem to the pmdomain subsystem. Cc: Michal Simek <michal.simek@amd.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain')
-rw-r--r--drivers/pmdomain/Kconfig1
-rw-r--r--drivers/pmdomain/xilinx/Kconfig10
2 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig
index 33bfec9c4f7a..c98c5bf75a14 100644
--- a/drivers/pmdomain/Kconfig
+++ b/drivers/pmdomain/Kconfig
@@ -16,5 +16,6 @@ source "drivers/pmdomain/starfive/Kconfig"
source "drivers/pmdomain/sunxi/Kconfig"
source "drivers/pmdomain/tegra/Kconfig"
source "drivers/pmdomain/ti/Kconfig"
+source "drivers/pmdomain/xilinx/Kconfig"
endmenu
diff --git a/drivers/pmdomain/xilinx/Kconfig b/drivers/pmdomain/xilinx/Kconfig
new file mode 100644
index 000000000000..5242753d848a
--- /dev/null
+++ b/drivers/pmdomain/xilinx/Kconfig
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0
+
+config ZYNQMP_PM_DOMAINS
+ bool "Enable Zynq MPSoC generic PM domains"
+ default y
+ depends on PM && ZYNQMP_FIRMWARE
+ select PM_GENERIC_DOMAINS
+ help
+ Say yes to enable device power management through PM domains
+ If in doubt, say N.