mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-28 22:54:05 +08:00
b45b3ccef8
Add spmi support for MT6873/8192. Refine indent in spmi-mtk-pmif.c. Link: https://lore.kernel.org/r/20211119034613.32489-4-james.lo@mediatek.com Acked-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: James Lo <james.lo@mediatek.com> Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Link: https://lore.kernel.org/r/20211216190812.1574801-5-sboyd@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
49 lines
1.4 KiB
Plaintext
49 lines
1.4 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_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.
|
|
|
|
endif
|