xref: /kernel/linux/linux-5.10/drivers/spmi/Kconfig (revision 8c2ecf20)
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# SPMI driver configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_cimenuconfig SPMI
68c2ecf20Sopenharmony_ci	tristate "SPMI support"
78c2ecf20Sopenharmony_ci	help
88c2ecf20Sopenharmony_ci	  SPMI (System Power Management Interface) is a two-wire
98c2ecf20Sopenharmony_ci	  serial interface between baseband and application processors
108c2ecf20Sopenharmony_ci	  and Power Management Integrated Circuits (PMIC).
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ciif SPMI
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciconfig SPMI_MSM_PMIC_ARB
158c2ecf20Sopenharmony_ci	tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
168c2ecf20Sopenharmony_ci	select IRQ_DOMAIN_HIERARCHY
178c2ecf20Sopenharmony_ci	depends on ARCH_QCOM || COMPILE_TEST
188c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
198c2ecf20Sopenharmony_ci	default ARCH_QCOM
208c2ecf20Sopenharmony_ci	help
218c2ecf20Sopenharmony_ci	  If you say yes to this option, support will be included for the
228c2ecf20Sopenharmony_ci	  built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
238c2ecf20Sopenharmony_ci	  processors.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci	  This is required for communicating with Qualcomm PMICs and
268c2ecf20Sopenharmony_ci	  other devices that have the SPMI interface.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciendif
29