aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pmdomain
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2023-09-12 12:48:37 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2023-10-04 23:41:56 +0200
commit70556c57eab404cc0241e991065b4cd532883e57 (patch)
tree03c947a26a0debda8774eb8edd4402ce5ed8e244 /drivers/pmdomain
parent70a69266b3925f7d0e9c3906d15d4ca3431aa519 (diff)
downloadlinux-70556c57eab404cc0241e991065b4cd532883e57.tar.gz
pmdomain: samsung: 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: 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>
Diffstat (limited to 'drivers/pmdomain')
-rw-r--r--drivers/pmdomain/Kconfig1
-rw-r--r--drivers/pmdomain/samsung/Kconfig8
2 files changed, 9 insertions, 0 deletions
diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig
index 8afe69251dd221..4a411e0985c37c 100644
--- a/drivers/pmdomain/Kconfig
+++ b/drivers/pmdomain/Kconfig
@@ -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
index 00000000000000..0debfe36b00aaa
--- /dev/null
+++ b/drivers/pmdomain/samsung/Kconfig
@@ -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