summaryrefslogtreecommitdiff
path: root/drivers/pmdomain/starfive
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2023-09-12 14:31:44 +0300
committerHal Feng <hal.feng@starfivetech.com>2024-01-18 13:08:49 +0300
commitd6c1053736373e738dfe7d0c4eaeb0b3099fd395 (patch)
tree1a66a29fec1ac20375495bcfd8f1254f677ad4d6 /drivers/pmdomain/starfive
parente386c5ef6b81e81172fb1b4fabb20d639939905c (diff)
downloadlinux-d6c1053736373e738dfe7d0c4eaeb0b3099fd395.tar.xz
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 <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>
Diffstat (limited to 'drivers/pmdomain/starfive')
-rw-r--r--drivers/pmdomain/starfive/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/pmdomain/starfive/Kconfig b/drivers/pmdomain/starfive/Kconfig
new file mode 100644
index 000000000000..1e9b0c414fec
--- /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.