2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2014-02-12 19:44:22 +00:00
|
|
|
#
|
|
|
|
# SPMI driver configuration
|
|
|
|
#
|
|
|
|
menuconfig SPMI
|
|
|
|
tristate "SPMI support"
|
|
|
|
help
|
|
|
|
SPMI (System Power Management Interface) is a two-wire
|
|
|
|
serial interface between baseband and application processors
|
|
|
|
and Power Management Integrated Circuits (PMIC).
|
2014-02-12 19:44:24 +00:00
|
|
|
|
|
|
|
if SPMI
|
|
|
|
|
2021-06-25 07:45:54 +00:00
|
|
|
config SPMI_HISI3670
|
|
|
|
tristate "Hisilicon 3670 SPMI Controller"
|
|
|
|
select IRQ_DOMAIN_HIERARCHY
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
If you say yes to this option, support will be included for the
|
|
|
|
built-in SPMI PMIC Arbiter interface on Hisilicon 3670
|
|
|
|
processors.
|
|
|
|
|
2014-02-12 19:44:24 +00:00
|
|
|
config SPMI_MSM_PMIC_ARB
|
|
|
|
tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
|
2019-02-14 01:36:39 +00:00
|
|
|
select IRQ_DOMAIN_HIERARCHY
|
2014-03-03 16:49:43 +00:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2015-05-04 19:00:46 +00:00
|
|
|
depends on HAS_IOMEM
|
2014-03-03 16:49:43 +00:00
|
|
|
default ARCH_QCOM
|
2014-02-12 19:44:24 +00:00
|
|
|
help
|
|
|
|
If you say yes to this option, support will be included for the
|
|
|
|
built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
|
|
|
|
processors.
|
|
|
|
|
|
|
|
This is required for communicating with Qualcomm PMICs and
|
|
|
|
other devices that have the SPMI interface.
|
|
|
|
|
|
|
|
endif
|