mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-28 00:19:36 +00:00

When the first driver for Apple Silicon was upstreamed we accidentally included `default ARCH_APPLE` in its Kconfig which then spread to almost every subsequent driver. As soon as ARCH_APPLE is set to y this will pull in many drivers as built-ins which is not what we want. Thus, drop `default ARCH_APPLE` from Kconfig. Signed-off-by: Sven Peter <sven@kernel.org> Reviewed-by: Janne Grunau <j@jannau.net> Link: https://lore.kernel.org/r/20250612-apple-kconfig-defconfig-v1-1-0e6f9cb512c1@kernel.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
18 lines
454 B
Plaintext
18 lines
454 B
Plaintext
# 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
|
|
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
|