From: Ulf Hansson Date: Tue, 12 Sep 2023 11:31:44 +0000 (+0200) Subject: pmdomain: starfive: Move Kconfig file to the pmdomain subsystem X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ac68b50d15f12f3168f6cde8e59928ec86ba0f36;p=linux.git pmdomain: starfive: Move Kconfig file to the pmdomain subsystem The Kconfig belongs closer to the corresponding implementation, hence let's move it from the soc subsystem to the pmdomain subsystem. Cc: Walker Chen Cc: Conor Dooley Acked-by: Conor Dooley Signed-off-by: Ulf Hansson --- diff --git a/MAINTAINERS b/MAINTAINERS index 6b491ebcf790d..40744fefed3d1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -20515,7 +20515,7 @@ M: Walker Chen M: Changhuang Liang 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 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 diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index 08f8a3aa98051..2286c36076db5 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -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 index 0000000000000..1e9b0c414fec7 --- /dev/null +++ b/drivers/pmdomain/starfive/Kconfig @@ -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. diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig index 8b46da40f1074..10a9ff84ff41d 100644 --- a/drivers/soc/Kconfig +++ b/drivers/soc/Kconfig @@ -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 index 1e9b0c414fec7..0000000000000 --- a/drivers/soc/starfive/Kconfig +++ /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.