From: Ulf Hansson Date: Mon, 11 Sep 2023 15:32:31 +0000 (+0200) Subject: pmdomain: actions: Move Kconfig file to the pmdomain subsystem X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4db570466cddfdf3ccbbc6d180d059551ff93e68;p=linux.git pmdomain: actions: 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: "Andreas Färber" Cc: Manivannan Sadhasivam Cc: Signed-off-by: Ulf Hansson --- diff --git a/MAINTAINERS b/MAINTAINERS index f1c34484c9b23..6b491ebcf790d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -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/ diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index ac77cf4271a70..e410c4b8071a6 100644 --- a/drivers/pmdomain/Kconfig +++ b/drivers/pmdomain/Kconfig @@ -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 index 0000000000000..1aca2058a40c2 --- /dev/null +++ b/drivers/pmdomain/actions/Kconfig @@ -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 diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig index d21e75d692943..8b46da40f1074 100644 --- a/drivers/soc/Kconfig +++ b/drivers/soc/Kconfig @@ -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 index 1aca2058a40c2..0000000000000 --- a/drivers/soc/actions/Kconfig +++ /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