android_kernel_samsung_sm8650/drivers/spmi/Kconfig
Abdul Salam 3d38e6b88a spmi: Add snapshot of virtio_spmi driver
Add snapshot for virtio_spmi driver from msm-5.15 at
commit 2993484d0d65 ("drivers: virtio: Remove Backward
compatibility of VIRTIO_ID's").

Change-Id: I856443537d193baa099020a44a271cf6c8715fea
Signed-off-by: Abdul Salam <quic_asalam@quicinc.com>
2023-03-23 17:16:30 +05:30

72 lines
2.2 KiB
Plaintext

# SPDX-License-Identifier: GPL-2.0-only
#
# 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).
if SPMI
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.
config SPMI_MSM_PMIC_ARB
tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
select IRQ_DOMAIN_HIERARCHY
depends on ARCH_QCOM || COMPILE_TEST
depends on HAS_IOMEM
default ARCH_QCOM
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.
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.
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.
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.
endif