pmdomain: samsung: Move Kconfig option to the pmdomain subsystem
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 12 Sep 2023 10:48:37 +0000 (12:48 +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: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Alim Akhtar <alim.akhtar@samsung.com>
Cc: <linux-samsung-soc@vger.kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/Kconfig
drivers/pmdomain/samsung/Kconfig [new file with mode: 0644]
drivers/soc/samsung/Kconfig

index 8afe69251dd221461cd8a83068adf72818f3a86c..4a411e0985c37cb7187dd95a8183a00ce999caf5 100644 (file)
@@ -10,5 +10,6 @@ source "drivers/pmdomain/mediatek/Kconfig"
 source "drivers/pmdomain/qcom/Kconfig"
 source "drivers/pmdomain/renesas/Kconfig"
 source "drivers/pmdomain/rockchip/Kconfig"
+source "drivers/pmdomain/samsung/Kconfig"
 
 endmenu
diff --git a/drivers/pmdomain/samsung/Kconfig b/drivers/pmdomain/samsung/Kconfig
new file mode 100644 (file)
index 0000000..0debfe3
--- /dev/null
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+if SOC_SAMSUNG
+
+config EXYNOS_PM_DOMAINS
+       bool "Exynos PM domains" if COMPILE_TEST
+       depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST
+
+endif
index 7a8f291e7704cb00384b67be6fbb79d26a6be69d..27ec99af77e33adecd883cd9949f38415945153d 100644 (file)
@@ -48,10 +48,6 @@ config EXYNOS_PMU_ARM_DRIVERS
        bool "Exynos PMU ARMv7-specific driver extensions" if COMPILE_TEST
        depends on EXYNOS_PMU
 
-config EXYNOS_PM_DOMAINS
-       bool "Exynos PM domains" if COMPILE_TEST
-       depends on (ARCH_EXYNOS && PM_GENERIC_DOMAINS) || COMPILE_TEST
-
 config SAMSUNG_PM_CHECK
        bool "S3C2410 PM Suspend Memory CRC"
        depends on PM && (ARCH_S3C64XX || ARCH_S5PV210)