xref: /openbmc/linux/drivers/spmi/Kconfig (revision e562cf3a)
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
14*e562cf3aSMauro Carvalho Chehabconfig SPMI_HISI3670
15*e562cf3aSMauro Carvalho Chehab	tristate "Hisilicon 3670 SPMI Controller"
16*e562cf3aSMauro Carvalho Chehab	select IRQ_DOMAIN_HIERARCHY
17*e562cf3aSMauro Carvalho Chehab	depends on HAS_IOMEM
18*e562cf3aSMauro Carvalho Chehab	help
19*e562cf3aSMauro Carvalho Chehab	  If you say yes to this option, support will be included for the
20*e562cf3aSMauro Carvalho Chehab	  built-in SPMI PMIC Arbiter interface on Hisilicon 3670
21*e562cf3aSMauro Carvalho Chehab	  processors.
22*e562cf3aSMauro Carvalho Chehab
2339ae93e3SKenneth Heitkeconfig SPMI_MSM_PMIC_ARB
2439ae93e3SKenneth Heitke	tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
25760a160eSBrian Masney	select IRQ_DOMAIN_HIERARCHY
262415fc67SJosh Cartwright	depends on ARCH_QCOM || COMPILE_TEST
2761a590faSRichard Weinberger	depends on HAS_IOMEM
282415fc67SJosh Cartwright	default ARCH_QCOM
2939ae93e3SKenneth Heitke	help
3039ae93e3SKenneth Heitke	  If you say yes to this option, support will be included for the
3139ae93e3SKenneth Heitke	  built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
3239ae93e3SKenneth Heitke	  processors.
3339ae93e3SKenneth Heitke
3439ae93e3SKenneth Heitke	  This is required for communicating with Qualcomm PMICs and
3539ae93e3SKenneth Heitke	  other devices that have the SPMI interface.
3639ae93e3SKenneth Heitke
3739ae93e3SKenneth Heitkeendif
38