xref: /linux/drivers/spmi/Kconfig (revision c26f4fbd58375bd6ef74f95eb73d61762ad97c59)
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*77ca75e8SJean-Francois Bortolotticonfig SPMI_APPLE
15*77ca75e8SJean-Francois Bortolotti	tristate "Apple SoC SPMI Controller platform driver"
16*77ca75e8SJean-Francois Bortolotti	depends on ARCH_APPLE || COMPILE_TEST
17*77ca75e8SJean-Francois Bortolotti	help
18*77ca75e8SJean-Francois Bortolotti	  If you say yes to this option, support will be included for the
19*77ca75e8SJean-Francois Bortolotti	  SPMI controller present on many Apple SoCs, including the
20*77ca75e8SJean-Francois Bortolotti	  t8103 (M1) and t600x (M1 Pro/Max).
21*77ca75e8SJean-Francois Bortolotti
22e562cf3aSMauro Carvalho Chehabconfig SPMI_HISI3670
23e562cf3aSMauro Carvalho Chehab	tristate "Hisilicon 3670 SPMI Controller"
24e562cf3aSMauro Carvalho Chehab	select IRQ_DOMAIN_HIERARCHY
25cdd18ef9SWangYuli	depends on ARM64 || COMPILE_TEST
26e562cf3aSMauro Carvalho Chehab	depends on HAS_IOMEM
27e562cf3aSMauro Carvalho Chehab	help
28e562cf3aSMauro Carvalho Chehab	  If you say yes to this option, support will be included for the
29e562cf3aSMauro Carvalho Chehab	  built-in SPMI PMIC Arbiter interface on Hisilicon 3670
30e562cf3aSMauro Carvalho Chehab	  processors.
31e562cf3aSMauro Carvalho Chehab
3239ae93e3SKenneth Heitkeconfig SPMI_MSM_PMIC_ARB
3339ae93e3SKenneth Heitke	tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
34760a160eSBrian Masney	select IRQ_DOMAIN_HIERARCHY
352415fc67SJosh Cartwright	depends on ARCH_QCOM || COMPILE_TEST
3661a590faSRichard Weinberger	depends on HAS_IOMEM
372415fc67SJosh Cartwright	default ARCH_QCOM
3839ae93e3SKenneth Heitke	help
3939ae93e3SKenneth Heitke	  If you say yes to this option, support will be included for the
4039ae93e3SKenneth Heitke	  built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
4139ae93e3SKenneth Heitke	  processors.
4239ae93e3SKenneth Heitke
4339ae93e3SKenneth Heitke	  This is required for communicating with Qualcomm PMICs and
4439ae93e3SKenneth Heitke	  other devices that have the SPMI interface.
4539ae93e3SKenneth Heitke
46b45b3cceSJames Loconfig SPMI_MTK_PMIF
47b45b3cceSJames Lo	tristate "Mediatek SPMI Controller (PMIC Arbiter)"
48b45b3cceSJames Lo	depends on ARCH_MEDIATEK || COMPILE_TEST
49b45b3cceSJames Lo	help
50b45b3cceSJames Lo	  If you say yes to this option, support will be included for the
51b45b3cceSJames Lo	  built-in SPMI PMIC Arbiter interface on Mediatek family
52b45b3cceSJames Lo	  processors.
53b45b3cceSJames Lo
54b45b3cceSJames Lo	  This is required for communicating with Mediatek PMICs and
55b45b3cceSJames Lo	  other devices that have the SPMI interface.
56b45b3cceSJames Lo
5739ae93e3SKenneth Heitkeendif
58