pmdomain: starfive: Move Kconfig file to the pmdomain subsystem
authorUlf Hansson <ulf.hansson@linaro.org>
Tue, 12 Sep 2023 11:31:44 +0000 (13:31 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 Oct 2023 21:41:56 +0000 (23:41 +0200)
The Kconfig belongs closer to the corresponding implementation, hence let's
move it from the soc subsystem to the pmdomain subsystem.

Cc: Walker Chen <walker.chen@starfivetech.com>
Cc: Conor Dooley <conor@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
MAINTAINERS
drivers/pmdomain/Kconfig
drivers/pmdomain/starfive/Kconfig [new file with mode: 0644]
drivers/soc/Kconfig
drivers/soc/starfive/Kconfig [deleted file]

index 6b491ebcf790d0755f964b1b593c5b9dd2993185..40744fefed3d120bbeff617beff151dc6fb3a44c 100644 (file)
@@ -20515,7 +20515,7 @@ M:      Walker Chen <walker.chen@starfivetech.com>
 M:     Changhuang Liang <changhuang.liang@starfivetech.com>
 S:     Supported
 F:     Documentation/devicetree/bindings/power/starfive*
-F:     drivers/pmdomain/starfive/jh71xx-pmu.c
+F:     drivers/pmdomain/starfive/
 F:     include/dt-bindings/power/starfive,jh7110-pmu.h
 
 STARFIVE SOC DRIVERS
@@ -20523,7 +20523,6 @@ M:      Conor Dooley <conor@kernel.org>
 S:     Maintained
 T:     git https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/
 F:     Documentation/devicetree/bindings/soc/starfive/
-F:     drivers/soc/starfive/
 
 STARFIVE TRNG DRIVER
 M:     Jia Jie Ho <jiajie.ho@starfivetech.com>
index 08f8a3aa98051e850cc539985c70be3665052e07..2286c36076db5b0a9728b3af9008553f88890d01 100644 (file)
@@ -12,5 +12,6 @@ source "drivers/pmdomain/renesas/Kconfig"
 source "drivers/pmdomain/rockchip/Kconfig"
 source "drivers/pmdomain/samsung/Kconfig"
 source "drivers/pmdomain/st/Kconfig"
+source "drivers/pmdomain/starfive/Kconfig"
 
 endmenu
diff --git a/drivers/pmdomain/starfive/Kconfig b/drivers/pmdomain/starfive/Kconfig
new file mode 100644 (file)
index 0000000..1e9b0c4
--- /dev/null
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0
+
+config JH71XX_PMU
+       bool "Support PMU for StarFive JH71XX Soc"
+       depends on PM
+       depends on ARCH_STARFIVE || COMPILE_TEST
+       default ARCH_STARFIVE
+       select PM_GENERIC_DOMAINS
+       help
+         Say 'y' here to enable support power domain support.
+         In order to meet low power requirements, a Power Management Unit (PMU)
+         is designed for controlling power resources in StarFive JH71XX SoCs.
index 8b46da40f10747690208a1a289c689cdd474e4a9..10a9ff84ff41d038c28e4308ae712bf2df9c6008 100644 (file)
@@ -23,7 +23,6 @@ source "drivers/soc/renesas/Kconfig"
 source "drivers/soc/rockchip/Kconfig"
 source "drivers/soc/samsung/Kconfig"
 source "drivers/soc/sifive/Kconfig"
-source "drivers/soc/starfive/Kconfig"
 source "drivers/soc/sunxi/Kconfig"
 source "drivers/soc/tegra/Kconfig"
 source "drivers/soc/ti/Kconfig"
diff --git a/drivers/soc/starfive/Kconfig b/drivers/soc/starfive/Kconfig
deleted file mode 100644 (file)
index 1e9b0c4..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0
-
-config JH71XX_PMU
-       bool "Support PMU for StarFive JH71XX Soc"
-       depends on PM
-       depends on ARCH_STARFIVE || COMPILE_TEST
-       default ARCH_STARFIVE
-       select PM_GENERIC_DOMAINS
-       help
-         Say 'y' here to enable support power domain support.
-         In order to meet low power requirements, a Power Management Unit (PMU)
-         is designed for controlling power resources in StarFive JH71XX SoCs.