blob: 2874b6c26028b45136bd3dc2b2c3ebff95ae94ea [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Kenneth Heitke5a86bf32014-02-12 13:44:22 -06002#
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).
Kenneth Heitke39ae93e2014-02-12 13:44:24 -060011
12if SPMI
13
Mauro Carvalho Chehabe562cf32021-06-25 09:45:54 +020014config SPMI_HISI3670
15 tristate "Hisilicon 3670 SPMI Controller"
16 select IRQ_DOMAIN_HIERARCHY
17 depends on HAS_IOMEM
18 help
19 If you say yes to this option, support will be included for the
20 built-in SPMI PMIC Arbiter interface on Hisilicon 3670
21 processors.
22
Kenneth Heitke39ae93e2014-02-12 13:44:24 -060023config SPMI_MSM_PMIC_ARB
24 tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
Brian Masney760a1602019-02-13 20:36:39 -050025 select IRQ_DOMAIN_HIERARCHY
Josh Cartwright2415fc62014-03-03 10:49:43 -060026 depends on ARCH_QCOM || COMPILE_TEST
Richard Weinberger61a590f2015-05-04 21:00:46 +020027 depends on HAS_IOMEM
Josh Cartwright2415fc62014-03-03 10:49:43 -060028 default ARCH_QCOM
Kenneth Heitke39ae93e2014-02-12 13:44:24 -060029 help
30 If you say yes to this option, support will be included for the
31 built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
32 processors.
33
34 This is required for communicating with Qualcomm PMICs and
35 other devices that have the SPMI interface.
36
37endif