| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | # |
| 2 | # SPMI driver configuration |
| 3 | # |
| 4 | menuconfig SPMI |
| 5 | tristate "SPMI support" |
| 6 | help |
| 7 | SPMI (System Power Management Interface) is a two-wire |
| 8 | serial interface between baseband and application processors |
| 9 | and Power Management Integrated Circuits (PMIC). |
| 10 | |
| 11 | if SPMI |
| 12 | |
| 13 | config SPMI_MSM_PMIC_ARB |
| 14 | tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)" |
| 15 | select IRQ_DOMAIN |
| 16 | depends on ARCH_QCOM || COMPILE_TEST |
| 17 | depends on HAS_IOMEM |
| 18 | default ARCH_QCOM |
| 19 | help |
| 20 | If you say yes to this option, support will be included for the |
| 21 | built-in SPMI PMIC Arbiter interface on Qualcomm MSM family |
| 22 | processors. |
| 23 | |
| 24 | This is required for communicating with Qualcomm PMICs and |
| 25 | other devices that have the SPMI interface. |
| 26 | |
| 27 | config MTK_PMIF |
| 28 | tristate "Mediatek SPMI Controller (PMIC Arbiter)" |
| 29 | help |
| 30 | If you say yes to this option, support will be included for the |
| 31 | built-in SPMI PMIC Arbiter interface on Mediatek family |
| 32 | processors. |
| 33 | |
| 34 | This is required for communicating with Mediatek PMICs and |
| 35 | other devices that have the SPMI interface. |
| 36 | endif |