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