From 1bfadf2edd653af321af17e1cfac4fb28c3f790d Mon Sep 17 00:00:00 2001 From: Ulf Hansson Date: Tue, 12 Sep 2023 00:13:37 +0200 Subject: pmdomain: apple: 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: Hector Martin Cc: Sven Peter Cc: Alyssa Rosenzweig Cc: Reviewed-by: Eric Curtin Reviewed-by: Neal Gompa Signed-off-by: Ulf Hansson --- drivers/pmdomain/apple/Kconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 drivers/pmdomain/apple/Kconfig (limited to 'drivers/pmdomain/apple/Kconfig') diff --git a/drivers/pmdomain/apple/Kconfig b/drivers/pmdomain/apple/Kconfig new file mode 100644 index 000000000000..12237cbcfaa9 --- /dev/null +++ b/drivers/pmdomain/apple/Kconfig @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: GPL-2.0-only + +if ARCH_APPLE || COMPILE_TEST + +config APPLE_PMGR_PWRSTATE + bool "Apple SoC PMGR power state control" + depends on PM + select REGMAP + select MFD_SYSCON + select PM_GENERIC_DOMAINS + select RESET_CONTROLLER + default ARCH_APPLE + help + The PMGR block in Apple SoCs provides high-level power state + controls for SoC devices. This driver manages them through the + generic power domain framework, and also provides reset support. + +endif -- cgit