blob: a53bad541f1a34686cb5b14a60708923db823de1 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001# SPDX-License-Identifier: GPL-2.0-only
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002#
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_MSM_PMIC_ARB
15 tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
David Brazdil0f672f62019-12-10 10:32:29 +000016 select IRQ_DOMAIN_HIERARCHY
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000017 depends on ARCH_QCOM || COMPILE_TEST
18 depends on HAS_IOMEM
19 default ARCH_QCOM
20 help
21 If you say yes to this option, support will be included for the
22 built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
23 processors.
24
25 This is required for communicating with Qualcomm PMICs and
26 other devices that have the SPMI interface.
27
28endif