Implements genpd and reset providers for downstream devices. Each instance of the driver binds to a single register and represents a single SoC power domain. The driver does not currently implement all features (clockgate-only state, misc flags), but we declare the respective registers for documentation purposes. These features will be added as they become useful for downstream devices. This also creates the apple/soc tree and Kconfig submenu. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Hector Martin <marcan@marcan.st>
23 lines
513 B
Plaintext
23 lines
513 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
if ARCH_APPLE || COMPILE_TEST
|
|
|
|
menu "Apple SoC drivers"
|
|
|
|
config APPLE_PMGR_PWRSTATE
|
|
tristate "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.
|
|
|
|
endmenu
|
|
|
|
endif
|