pmdomain: xilinx: Move Kconfig option to the pmdomain subsystem
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 12 Sep 2023 13:41:22 +0000 (15:41 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 Oct 2023 21:41:56 +0000 (23:41 +0200)
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>
drivers/pmdomain/Kconfig
drivers/pmdomain/xilinx/Kconfig [new file with mode: 0644]
drivers/soc/xilinx/Kconfig

index 33bfec9c4f7a6a6d55aa46bbc1892c38030f43d4..c98c5bf75a14b416edf8507b89dbaeb6e0cae52e 100644 (file)
@@ -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 (file)
index 0000000..5242753
--- /dev/null
@@ -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.
index 8a755a5c883607cf8df2ee5945aaa9c0212c7f49..49d69d6e18fead054a1601b6e237f4ecc0546a67 100644 (file)
@@ -16,15 +16,6 @@ config ZYNQMP_POWER
 
          If in doubt, say N.
 
-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.
-
 config XLNX_EVENT_MANAGER
        bool "Enable Xilinx Event Management Driver"
        depends on ZYNQMP_FIRMWARE