Add an SPMI controller driver for the Glink PMIC register dumping debug interface. This can be used to read and write PMIC registers controlled by the charging firmware running on a remote processor (e.g. DSP). Change-Id: I10d0c345e35613c708eea0d2fbb9fd0e03ecf2b5 Signed-off-by: David Collins <collinsd@codeaurora.org>
49 lines
1.6 KiB
Plaintext
49 lines
1.6 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_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_QTI_GLINK_DEBUG
|
|
tristate "QTI Glink Debug SPMI Controller"
|
|
depends on QTI_PMIC_GLINK
|
|
help
|
|
The Qualcomm Technologies, Inc. Glink debug SPMI controller driver
|
|
provides an interface to read and write PMIC registers over PMIC
|
|
Glink using a remote subsytem (e.g. DSP). This allows for debugging
|
|
PMIC peripherals that would typically only be accessible to the
|
|
charger and fuel gauging firmware running on the remote subsystem.
|
|
|
|
endif
|