mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 06:35:04 +07:00
61a590fa67
Not all architectures have io memory. Fixes: drivers/built-in.o: In function `spmi_pmic_arb_probe': spmi-pmic-arb.c:(.text+0x1ed399): undefined reference to `devm_ioremap_resource' Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
28 lines
714 B
Plaintext
28 lines
714 B
Plaintext
#
|
|
# SPMI driver configuration
|
|
#
|
|
menuconfig SPMI
|
|
tristate "SPMI support"
|
|
help
|
|
SPMI (System Power Management Interface) is a two-wire
|
|
serial interface between baseband and application processors
|
|
and Power Management Integrated Circuits (PMIC).
|
|
|
|
if SPMI
|
|
|
|
config SPMI_MSM_PMIC_ARB
|
|
tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
|
|
depends on IRQ_DOMAIN
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
default ARCH_QCOM
|
|
help
|
|
If you say yes to this option, support will be included for the
|
|
built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
|
|
processors.
|
|
|
|
This is required for communicating with Qualcomm PMICs and
|
|
other devices that have the SPMI interface.
|
|
|
|
endif
|