2019-05-19 21:07:45 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2014-02-13 04:44:22 +09: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-13 04:44:24 +09:00
|
|
|
|
|
|
|
if SPMI
|
|
|
|
|
2021-06-25 16:45:54 +09: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-13 04:44:24 +09:00
|
|
|
config SPMI_MSM_PMIC_ARB
|
|
|
|
tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
|
2019-02-14 10:36:39 +09:00
|
|
|
select IRQ_DOMAIN_HIERARCHY
|
2014-03-04 01:49:43 +09:00
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
2015-05-05 04:00:46 +09:00
|
|
|
depends on HAS_IOMEM
|
2014-03-04 01:49:43 +09:00
|
|
|
default ARCH_QCOM
|
2014-02-13 04:44:24 +09: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.
|
|
|
|
|
2017-04-11 09:27:47 +09:00
|
|
|
config SPMI_MSM_PMIC_ARB_DEBUG
|
|
|
|
tristate "QTI SPMI Debug Controller (PMIC Arbiter)"
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
If you say yes to this option, support will be included for the
|
|
|
|
built-in SPMI PMIC Arbiter debug interface on Qualcomm Technologies,
|
|
|
|
Inc. (QTI) MSM family processors. This feature is available on chips
|
|
|
|
with PMIC arbiter version 5 and above.
|
|
|
|
|
2021-12-17 04:08:10 +09:00
|
|
|
config SPMI_MTK_PMIF
|
|
|
|
tristate "Mediatek SPMI Controller (PMIC Arbiter)"
|
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
|
|
help
|
|
|
|
If you say yes to this option, support will be included for the
|
|
|
|
built-in SPMI PMIC Arbiter interface on Mediatek family
|
|
|
|
processors.
|
|
|
|
|
|
|
|
This is required for communicating with Mediatek PMICs and
|
|
|
|
other devices that have the SPMI interface.
|
|
|
|
|
2023-03-15 16:32:13 +09:00
|
|
|
config VIOSPMI_MSM_PMIC_ARB
|
|
|
|
tristate "QTI Virtio SPMI Controller (Virtio PMIC Arbiter)"
|
|
|
|
select IRQ_DOMAIN
|
|
|
|
depends on ARCH_QCOM || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
depends on VIRTIO
|
|
|
|
help
|
|
|
|
If you say yes to this option, support will be included for the
|
|
|
|
built-in SPMI PMIC Arbiter interface on MSM virtual platform.
|
|
|
|
|
|
|
|
This is required for communicating with PMICs and
|
|
|
|
other devices that have the SPMI interface.
|
|
|
|
|
2014-02-13 04:44:24 +09:00
|
|
|
endif
|