summaryrefslogtreecommitdiff
path: root/drivers/pmdomain/starfive
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2023-09-12 13:31:44 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2023-10-04 23:41:56 +0200
commitac68b50d15f12f3168f6cde8e59928ec86ba0f36 (patch)
treef294b6adab84bcaab5494d4ebe6aa05bae6a2d5b /drivers/pmdomain/starfive
parentc6d6afb840108ae3920812dd66b25a65acfe447b (diff)
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.