xref: /linux/drivers/spmi/Kconfig (revision c26f4fbd58375bd6ef74f95eb73d61762ad97c59)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# SPMI driver configuration
4#
5menuconfig SPMI
6	tristate "SPMI support"
7	help
8	  SPMI (System Power Management Interface) is a two-wire
9	  serial interface between baseband and application processors
10	  and Power Management Integrated Circuits (PMIC).
11
12if SPMI
13
14config SPMI_APPLE
15	tristate "Apple SoC SPMI Controller platform driver"
16	depends on ARCH_APPLE || COMPILE_TEST
17	help
18	  If you say yes to this option, support will be included for the
19	  SPMI controller present on many Apple SoCs, including the
20	  t8103 (M1) and t600x (M1 Pro/Max).
21
22config SPMI_HISI3670
23	tristate "Hisilicon 3670 SPMI Controller"
24	select IRQ_DOMAIN_HIERARCHY
25	depends on ARM64 || COMPILE_TEST
26	depends on HAS_IOMEM
27	help
28	  If you say yes to this option, support will be included for the
29	  built-in SPMI PMIC Arbiter interface on Hisilicon 3670
30	  processors.
31
32config SPMI_MSM_PMIC_ARB
33	tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
34	select IRQ_DOMAIN_HIERARCHY
35	depends on ARCH_QCOM || COMPILE_TEST
36	depends on HAS_IOMEM
37	default ARCH_QCOM
38	help
39	  If you say yes to this option, support will be included for the
40	  built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
41	  processors.
42
43	  This is required for communicating with Qualcomm PMICs and
44	  other devices that have the SPMI interface.
45
46config SPMI_MTK_PMIF
47	tristate "Mediatek SPMI Controller (PMIC Arbiter)"
48	depends on ARCH_MEDIATEK || COMPILE_TEST
49	help
50	  If you say yes to this option, support will be included for the
51	  built-in SPMI PMIC Arbiter interface on Mediatek family
52	  processors.
53
54	  This is required for communicating with Mediatek PMICs and
55	  other devices that have the SPMI interface.
56
57endif
58