^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # SPMI driver configuration
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) menuconfig SPMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) tristate "SPMI support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) SPMI (System Power Management Interface) is a two-wire
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) serial interface between baseband and application processors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) and Power Management Integrated Circuits (PMIC).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) if SPMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) config SPMI_MSM_PMIC_ARB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) select IRQ_DOMAIN_HIERARCHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) depends on ARCH_QCOM || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) default ARCH_QCOM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) If you say yes to this option, support will be included for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) processors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) This is required for communicating with Qualcomm PMICs and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) other devices that have the SPMI interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) endif