drivers/spmi/Kconfig
Source file repositories/reference/linux-study-clean/drivers/spmi/Kconfig
File Facts
- System
- Linux kernel
- Corpus path
drivers/spmi/Kconfig- Extension
[no extension]- Size
- 1713 bytes
- Lines
- 58
- Domain
- Driver Families
- Bucket
- drivers/spmi
- Inferred role
- Driver Families: build/configuration rule
- Status
- atlas-only
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
# SPDX-License-Identifier: GPL-2.0-only
#
# SPMI driver configuration
#
menuconfig SPMI
tristate "SPMI support"
help
SPMI (System Power Management Interface) is a two-wire
serial interface between baseband and application processors
and Power Management Integrated Circuits (PMIC).
if SPMI
config SPMI_APPLE
tristate "Apple SoC SPMI Controller platform driver"
depends on ARCH_APPLE || COMPILE_TEST
help
If you say yes to this option, support will be included for the
SPMI controller present on many Apple SoCs, including the
t8103 (M1) and t600x (M1 Pro/Max).
config SPMI_HISI3670
tristate "Hisilicon 3670 SPMI Controller"
select IRQ_DOMAIN_HIERARCHY
depends on ARM64 || COMPILE_TEST
depends on HAS_IOMEM
help
If you say yes to this option, support will be included for the
built-in SPMI PMIC Arbiter interface on Hisilicon 3670
processors.
config SPMI_MSM_PMIC_ARB
tristate "Qualcomm MSM SPMI Controller (PMIC Arbiter)"
select IRQ_DOMAIN_HIERARCHY
depends on ARCH_QCOM || COMPILE_TEST
depends on HAS_IOMEM
default ARCH_QCOM
help
If you say yes to this option, support will be included for the
built-in SPMI PMIC Arbiter interface on Qualcomm MSM family
processors.
This is required for communicating with Qualcomm PMICs and
other devices that have the SPMI interface.
config SPMI_MTK_PMIF
tristate "Mediatek SPMI Controller (PMIC Arbiter)"
depends on ARCH_MEDIATEK || COMPILE_TEST
help
If you say yes to this option, support will be included for the
built-in SPMI PMIC Arbiter interface on Mediatek family
processors.
This is required for communicating with Mediatek PMICs and
other devices that have the SPMI interface.
endif
Annotation
- Atlas domain: Driver Families / drivers/spmi.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.