summaryrefslogtreecommitdiff
path: root/drivers/pmdomain/rockchip
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2023-09-12 13:39:02 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2023-10-05 00:41:18 +0300
commit70a69266b3925f7d0e9c3906d15d4ca3431aa519 (patch)
tree48e0ee1173afdd1d07ee4ab8396d201789ea804e /drivers/pmdomain/rockchip
parenta3aa70f9727431a1fef70f9f9cbc4765599c0cc2 (diff)
downloadlinux-70a69266b3925f7d0e9c3906d15d4ca3431aa519.tar.xz
pmdomain: rockchip: Move Kconfig option to the pmdomain subsystem
The Kconfig option belongs closer to the corresponding implementation, hence let's move it from the soc subsystem to the pmdomain subsystem. Cc: Heiko Stuebner <heiko@sntech.de> Cc: <linux-rockchip@lists.infradead.org> Acked-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/pmdomain/rockchip')
-rw-r--r--drivers/pmdomain/rockchip/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/pmdomain/rockchip/Kconfig b/drivers/pmdomain/rockchip/Kconfig
new file mode 100644
index 000000000000..b0d70f1a8439
--- /dev/null
+++ b/drivers/pmdomain/rockchip/Kconfig
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: GPL-2.0-only
+if ARCH_ROCKCHIP || COMPILE_TEST
+
+config ROCKCHIP_PM_DOMAINS
+ bool "Rockchip generic power domain"
+ depends on PM
+ select PM_GENERIC_DOMAINS
+ help
+ Say y here to enable power domain support.
+ In order to meet high performance and low power requirements, a power
+ management unit is designed or saving power when RK3288 in low power
+ mode. The RK3288 PMU is dedicated for managing the power of the whole chip.
+
+ If unsure, say N.
+
+endif