162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# SPMI driver configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_cimenuconfig SPMI
662306a36Sopenharmony_ci	tristate "SPMI support"
762306a36Sopenharmony_ci	help
862306a36Sopenharmony_ci	  SPMI (System Power Management Interface) is a two-wire
962306a36Sopenharmony_ci	  serial interface between baseband and application processors
1062306a36Sopenharmony_ci	  and Power Management Integrated Circuits (PMIC).
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ciif SPMI
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig SPMI_HISI3670
1562306a36Sopenharmony_ci	tristate "Hisilicon 3670 SPMI Controller"
1662306a36Sopenharmony_ci	select IRQ_DOMAIN_HIERARCHY
1762306a36Sopenharmony_ci	depends on HAS_IOMEM
1862306a36Sopenharmony_ci	help
1962306a36Sopenharmony_ci	  If you say yes to this option, support will be included for the
2062306a36Sopenharmony_ci	  built-in SPMI PMIC Arbiter interface on Hisilicon 3670
2162306a36Sopenharmony_ci	  processors.
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciconfig SPMI_MSM_PMIC_ARB
2462306a36Sopenharmony_ci	tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
2562306a36Sopenharmony_ci	select IRQ_DOMAIN_HIERARCHY
2662306a36Sopenharmony_ci	depends on ARCH_QCOM || COMPILE_TEST
2762306a36Sopenharmony_ci	depends on HAS_IOMEM
2862306a36Sopenharmony_ci	default ARCH_QCOM
2962306a36Sopenharmony_ci	help
3062306a36Sopenharmony_ci	  If you say yes to this option, support will be included for the
3162306a36Sopenharmony_ci	  built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
3262306a36Sopenharmony_ci	  processors.
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci	  This is required for communicating with Qualcomm PMICs and
3562306a36Sopenharmony_ci	  other devices that have the SPMI interface.
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ciconfig SPMI_MTK_PMIF
3862306a36Sopenharmony_ci	tristate "Mediatek SPMI Controller (PMIC Arbiter)"
3962306a36Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
4062306a36Sopenharmony_ci	help
4162306a36Sopenharmony_ci	  If you say yes to this option, support will be included for the
4262306a36Sopenharmony_ci	  built-in SPMI PMIC Arbiter interface on Mediatek family
4362306a36Sopenharmony_ci	  processors.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ci	  This is required for communicating with Mediatek PMICs and
4662306a36Sopenharmony_ci	  other devices that have the SPMI interface.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciendif
49