Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <marcan@marcan.st>
Cc: Sven Peter <sven@svenpeter.dev>
Cc: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Cc: <asahi@lists.linux.dev>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

+19 -13
+1
drivers/pmdomain/Kconfig
··· 3 3 4 4 source "drivers/pmdomain/actions/Kconfig" 5 5 source "drivers/pmdomain/amlogic/Kconfig" 6 + source "drivers/pmdomain/apple/Kconfig" 6 7 7 8 endmenu
+18
drivers/pmdomain/apple/Kconfig
··· 1 + # SPDX-License-Identifier: GPL-2.0-only 2 + 3 + if ARCH_APPLE || COMPILE_TEST 4 + 5 + config APPLE_PMGR_PWRSTATE 6 + bool "Apple SoC PMGR power state control" 7 + depends on PM 8 + select REGMAP 9 + select MFD_SYSCON 10 + select PM_GENERIC_DOMAINS 11 + select RESET_CONTROLLER 12 + default ARCH_APPLE 13 + help 14 + The PMGR block in Apple SoCs provides high-level power state 15 + controls for SoC devices. This driver manages them through the 16 + generic power domain framework, and also provides reset support. 17 + 18 + endif
-13
drivers/soc/apple/Kconfig
··· 4 4 5 5 menu "Apple SoC drivers" 6 6 7 - config APPLE_PMGR_PWRSTATE 8 - bool "Apple SoC PMGR power state control" 9 - depends on PM 10 - select REGMAP 11 - select MFD_SYSCON 12 - select PM_GENERIC_DOMAINS 13 - select RESET_CONTROLLER 14 - default ARCH_APPLE 15 - help 16 - The PMGR block in Apple SoCs provides high-level power state 17 - controls for SoC devices. This driver manages them through the 18 - generic power domain framework, and also provides reset support. 19 - 20 7 config APPLE_RTKIT 21 8 tristate "Apple RTKit co-processor IPC protocol" 22 9 depends on MAILBOX