pmdomain: actions: Move Kconfig file to the pmdomain subsystem
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Sep 2023 15:32:31 +0000 (17:32 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 20 Sep 2023 08:07:52 +0000 (10:07 +0200)
The Kconfig belongs closer to the corresponding implementation, hence let's
move it from the soc subsystem to the pmdomain subsystem.

Cc: "Andreas Färber" <afaerber@suse.de>
Cc: Manivannan Sadhasivam <mani@kernel.org>
Cc: <linux-actions@lists.infradead.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
MAINTAINERS
drivers/pmdomain/Kconfig
drivers/pmdomain/actions/Kconfig [new file with mode: 0644]
drivers/soc/Kconfig
drivers/soc/actions/Kconfig [deleted file]

index f1c34484c9b23b740b5055b801ad92d8769e5b6a..6b491ebcf790d0755f964b1b593c5b9dd2993185 100644 (file)
@@ -1788,7 +1788,7 @@ F:        drivers/irqchip/irq-owl-sirq.c
 F:     drivers/mmc/host/owl-mmc.c
 F:     drivers/net/ethernet/actions/
 F:     drivers/pinctrl/actions/*
-F:     drivers/soc/actions/
+F:     drivers/pmdomain/actions/
 F:     include/dt-bindings/power/owl-*
 F:     include/dt-bindings/reset/actions,*
 F:     include/linux/soc/actions/
index ac77cf4271a70471beb83bd3084e13bf06e22334..e410c4b8071a6366aa66cda1b204ccecf7a61d61 100644 (file)
@@ -1,4 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menu "PM Domains"
 
+source "drivers/pmdomain/actions/Kconfig"
+
 endmenu
diff --git a/drivers/pmdomain/actions/Kconfig b/drivers/pmdomain/actions/Kconfig
new file mode 100644 (file)
index 0000000..1aca205
--- /dev/null
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-only
+if ARCH_ACTIONS || COMPILE_TEST
+
+config OWL_PM_DOMAINS_HELPER
+       bool
+
+config OWL_PM_DOMAINS
+       bool "Actions Semi SPS power domains"
+       depends on PM
+       select OWL_PM_DOMAINS_HELPER
+       select PM_GENERIC_DOMAINS
+       help
+         Say 'y' here to enable support for Smart Power System (SPS)
+         power-gating on Actions Semiconductor S500, S700 and S900 SoCs.
+         If unsure, say 'n'.
+
+endif
index d21e75d69294307c82300e72020b2da205557848..8b46da40f10747690208a1a289c689cdd474e4a9 100644 (file)
@@ -1,7 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menu "SOC (System On Chip) specific Drivers"
 
-source "drivers/soc/actions/Kconfig"
 source "drivers/soc/amlogic/Kconfig"
 source "drivers/soc/apple/Kconfig"
 source "drivers/soc/aspeed/Kconfig"
diff --git a/drivers/soc/actions/Kconfig b/drivers/soc/actions/Kconfig
deleted file mode 100644 (file)
index 1aca205..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-if ARCH_ACTIONS || COMPILE_TEST
-
-config OWL_PM_DOMAINS_HELPER
-       bool
-
-config OWL_PM_DOMAINS
-       bool "Actions Semi SPS power domains"
-       depends on PM
-       select OWL_PM_DOMAINS_HELPER
-       select PM_GENERIC_DOMAINS
-       help
-         Say 'y' here to enable support for Smart Power System (SPS)
-         power-gating on Actions Semiconductor S500, S700 and S900 SoCs.
-         If unsure, say 'n'.
-
-endif