xref: /OK3568_Linux_fs/kernel/drivers/spmi/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# SPMI driver configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunmenuconfig SPMI
6*4882a593Smuzhiyun	tristate "SPMI support"
7*4882a593Smuzhiyun	help
8*4882a593Smuzhiyun	  SPMI (System Power Management Interface) is a two-wire
9*4882a593Smuzhiyun	  serial interface between baseband and application processors
10*4882a593Smuzhiyun	  and Power Management Integrated Circuits (PMIC).
11*4882a593Smuzhiyun
12*4882a593Smuzhiyunif SPMI
13*4882a593Smuzhiyun
14*4882a593Smuzhiyunconfig SPMI_MSM_PMIC_ARB
15*4882a593Smuzhiyun	tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
16*4882a593Smuzhiyun	select IRQ_DOMAIN_HIERARCHY
17*4882a593Smuzhiyun	depends on ARCH_QCOM || COMPILE_TEST
18*4882a593Smuzhiyun	depends on HAS_IOMEM
19*4882a593Smuzhiyun	default ARCH_QCOM
20*4882a593Smuzhiyun	help
21*4882a593Smuzhiyun	  If you say yes to this option, support will be included for the
22*4882a593Smuzhiyun	  built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
23*4882a593Smuzhiyun	  processors.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun	  This is required for communicating with Qualcomm PMICs and
26*4882a593Smuzhiyun	  other devices that have the SPMI interface.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyunendif
29