Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Kenneth Heitke | 5a86bf3 | 2014-02-12 13:44:22 -0600 | [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). |
Kenneth Heitke | 39ae93e | 2014-02-12 13:44:24 -0600 | [diff] [blame] | 11 | |
| 12 | if SPMI |
| 13 | |
Mauro Carvalho Chehab | e562cf3 | 2021-06-25 09:45:54 +0200 | [diff] [blame] | 14 | config SPMI_HISI3670 |
| 15 | tristate "Hisilicon 3670 SPMI Controller" |
| 16 | select IRQ_DOMAIN_HIERARCHY |
| 17 | depends on HAS_IOMEM |
| 18 | help |
| 19 | If you say yes to this option, support will be included for the |
| 20 | built-in SPMI PMIC Arbiter interface on Hisilicon 3670 |
| 21 | processors. |
| 22 | |
Kenneth Heitke | 39ae93e | 2014-02-12 13:44:24 -0600 | [diff] [blame] | 23 | config SPMI_MSM_PMIC_ARB |
| 24 | tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)" |
Brian Masney | 760a160 | 2019-02-13 20:36:39 -0500 | [diff] [blame] | 25 | select IRQ_DOMAIN_HIERARCHY |
Josh Cartwright | 2415fc6 | 2014-03-03 10:49:43 -0600 | [diff] [blame] | 26 | depends on ARCH_QCOM || COMPILE_TEST |
Richard Weinberger | 61a590f | 2015-05-04 21:00:46 +0200 | [diff] [blame] | 27 | depends on HAS_IOMEM |
Josh Cartwright | 2415fc6 | 2014-03-03 10:49:43 -0600 | [diff] [blame] | 28 | default ARCH_QCOM |
Kenneth Heitke | 39ae93e | 2014-02-12 13:44:24 -0600 | [diff] [blame] | 29 | help |
| 30 | If you say yes to this option, support will be included for the |
| 31 | built-in SPMI PMIC Arbiter interface on Qualcomm MSM family |
| 32 | processors. |
| 33 | |
| 34 | This is required for communicating with Qualcomm PMICs and |
| 35 | other devices that have the SPMI interface. |
| 36 | |
| 37 | endif |