diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2023-09-11 17:32:31 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2023-09-20 10:07:52 +0200 |
commit | 4db570466cddfdf3ccbbc6d180d059551ff93e68 (patch) | |
tree | 39707737488bffab4b01ca6ff2dfd34546918d84 /drivers/pmdomain | |
parent | d149718ea22c8e53a7a7dd6ac8034ee9be7784ce (diff) |
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" <afaerber@suse.de>
Cc: Manivannan Sadhasivam <mani@kernel.org>
Cc: <linux-actions@lists.infradead.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain')
-rw-r--r-- | drivers/pmdomain/Kconfig | 2 | ||||
-rw-r--r-- | drivers/pmdomain/actions/Kconfig | 17 |
2 files changed, 19 insertions, 0 deletions
diff --git a/drivers/pmdomain/Kconfig b/drivers/pmdomain/Kconfig index ac77cf4271a7..e410c4b8071a 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 000000000000..1aca2058a40c --- /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 |