xref: /openbmc/linux/drivers/spmi/Kconfig (revision b45b3cce)
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
14e562cf3aSMauro Carvalho Chehabconfig SPMI_HISI3670
15e562cf3aSMauro Carvalho Chehab	tristate "Hisilicon 3670 SPMI Controller"
16e562cf3aSMauro Carvalho Chehab	select IRQ_DOMAIN_HIERARCHY
17e562cf3aSMauro Carvalho Chehab	depends on HAS_IOMEM
18e562cf3aSMauro Carvalho Chehab	help
19e562cf3aSMauro Carvalho Chehab	  If you say yes to this option, support will be included for the
20e562cf3aSMauro Carvalho Chehab	  built-in SPMI PMIC Arbiter interface on Hisilicon 3670
21e562cf3aSMauro Carvalho Chehab	  processors.
22e562cf3aSMauro 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
37*b45b3cceSJames Loconfig SPMI_MTK_PMIF
38*b45b3cceSJames Lo	tristate "Mediatek SPMI Controller (PMIC Arbiter)"
39*b45b3cceSJames Lo	depends on ARCH_MEDIATEK || COMPILE_TEST
40*b45b3cceSJames Lo	help
41*b45b3cceSJames Lo	  If you say yes to this option, support will be included for the
42*b45b3cceSJames Lo	  built-in SPMI PMIC Arbiter interface on Mediatek family
43*b45b3cceSJames Lo	  processors.
44*b45b3cceSJames Lo
45*b45b3cceSJames Lo	  This is required for communicating with Mediatek PMICs and
46*b45b3cceSJames Lo	  other devices that have the SPMI interface.
47*b45b3cceSJames Lo
4839ae93e3SKenneth Heitkeendif
49