0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # SPMI driver configuration
0004 #
0005 menuconfig SPMI
0006 tristate "SPMI support"
0007 help
0008 SPMI (System Power Management Interface) is a two-wire
0009 serial interface between baseband and application processors
0010 and Power Management Integrated Circuits (PMIC).
0011
0012 if SPMI
0013
0014 config SPMI_HISI3670
0015 tristate "Hisilicon 3670 SPMI Controller"
0016 select IRQ_DOMAIN_HIERARCHY
0017 depends on HAS_IOMEM
0018 help
0019 If you say yes to this option, support will be included for the
0020 built-in SPMI PMIC Arbiter interface on Hisilicon 3670
0021 processors.
0022
0023 config SPMI_MSM_PMIC_ARB
0024 tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
0025 select IRQ_DOMAIN_HIERARCHY
0026 depends on ARCH_QCOM || COMPILE_TEST
0027 depends on HAS_IOMEM
0028 default ARCH_QCOM
0029 help
0030 If you say yes to this option, support will be included for the
0031 built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
0032 processors.
0033
0034 This is required for communicating with Qualcomm PMICs and
0035 other devices that have the SPMI interface.
0036
0037 config SPMI_MTK_PMIF
0038 tristate "Mediatek SPMI Controller (PMIC Arbiter)"
0039 depends on ARCH_MEDIATEK || COMPILE_TEST
0040 help
0041 If you say yes to this option, support will be included for the
0042 built-in SPMI PMIC Arbiter interface on Mediatek family
0043 processors.
0044
0045 This is required for communicating with Mediatek PMICs and
0046 other devices that have the SPMI interface.
0047
0048 endif