xref: /openbmc/linux/drivers/spmi/Kconfig (revision 0661cb2a)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# SPMI driver configuration
4#
5menuconfig SPMI
6	tristate "SPMI support"
7	help
8	  SPMI (System Power Management Interface) is a two-wire
9	  serial interface between baseband and application processors
10	  and Power Management Integrated Circuits (PMIC).
11
12if SPMI
13
14config SPMI_HISI3670
15	tristate "Hisilicon 3670 SPMI Controller"
16	select IRQ_DOMAIN_HIERARCHY
17	depends on HAS_IOMEM
18	help
19	  If you say yes to this option, support will be included for the
20	  built-in SPMI PMIC Arbiter interface on Hisilicon 3670
21	  processors.
22
23config SPMI_MSM_PMIC_ARB
24	tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
25	select IRQ_DOMAIN_HIERARCHY
26	depends on ARCH_QCOM || COMPILE_TEST
27	depends on HAS_IOMEM
28	default ARCH_QCOM
29	help
30	  If you say yes to this option, support will be included for the
31	  built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
32	  processors.
33
34	  This is required for communicating with Qualcomm PMICs and
35	  other devices that have the SPMI interface.
36
37endif
38