xref: /openbmc/linux/drivers/spmi/Kconfig (revision ec8f24b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
25a86bf34SKenneth Heitke#
35a86bf34SKenneth Heitke# SPMI driver configuration
45a86bf34SKenneth Heitke#
55a86bf34SKenneth Heitkemenuconfig SPMI
65a86bf34SKenneth Heitke	tristate "SPMI support"
75a86bf34SKenneth Heitke	help
85a86bf34SKenneth Heitke	  SPMI (System Power Management Interface) is a two-wire
95a86bf34SKenneth Heitke	  serial interface between baseband and application processors
105a86bf34SKenneth Heitke	  and Power Management Integrated Circuits (PMIC).
1139ae93e3SKenneth Heitke
1239ae93e3SKenneth Heitkeif SPMI
1339ae93e3SKenneth Heitke
1439ae93e3SKenneth Heitkeconfig SPMI_MSM_PMIC_ARB
1539ae93e3SKenneth Heitke	tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
16760a160eSBrian Masney	select IRQ_DOMAIN_HIERARCHY
172415fc67SJosh Cartwright	depends on ARCH_QCOM || COMPILE_TEST
1861a590faSRichard Weinberger	depends on HAS_IOMEM
192415fc67SJosh Cartwright	default ARCH_QCOM
2039ae93e3SKenneth Heitke	help
2139ae93e3SKenneth Heitke	  If you say yes to this option, support will be included for the
2239ae93e3SKenneth Heitke	  built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
2339ae93e3SKenneth Heitke	  processors.
2439ae93e3SKenneth Heitke
2539ae93e3SKenneth Heitke	  This is required for communicating with Qualcomm PMICs and
2639ae93e3SKenneth Heitke	  other devices that have the SPMI interface.
2739ae93e3SKenneth Heitke
2839ae93e3SKenneth Heitkeendif
29