drivers/net/phy/mediatek/Kconfig
Source file repositories/reference/linux-study-clean/drivers/net/phy/mediatek/Kconfig
File Facts
- System
- Linux kernel
- Corpus path
drivers/net/phy/mediatek/Kconfig- Extension
[no extension]- Size
- 1354 bytes
- Lines
- 41
- Domain
- Driver Families
- Bucket
- drivers/net
- 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
config MEDIATEK_2P5GE_PHY
tristate "MediaTek 2.5Gb Ethernet PHYs"
depends on (ARM64 && ARCH_MEDIATEK) || COMPILE_TEST
select MTK_NET_PHYLIB
help
Supports MediaTek SoC built-in 2.5Gb Ethernet PHYs.
This will load necessary firmware and add appropriate time delay.
Accelerate this procedure through internal pbus instead of MDIO
bus. Certain link-up issues will also be fixed here.
config MEDIATEK_GE_PHY
tristate "MediaTek Gigabit Ethernet PHYs"
select MTK_NET_PHYLIB
help
Supports the MediaTek non-built-in Gigabit Ethernet PHYs.
Non-built-in Gigabit Ethernet PHYs include mt7530/mt7531.
You may find mt7530 inside mt7621. This driver shares some
common operations with MediaTek SoC built-in Gigabit
Ethernet PHYs.
config MEDIATEK_GE_SOC_PHY
tristate "MediaTek SoC Ethernet PHYs"
depends on ARM64 || COMPILE_TEST
depends on ARCH_AIROHA || (ARCH_MEDIATEK && NVMEM_MTK_EFUSE) || \
COMPILE_TEST
select MTK_NET_PHYLIB
select PHY_PACKAGE
help
Supports MediaTek SoC built-in Gigabit Ethernet PHYs.
Include support for built-in Ethernet PHYs which are present in
the MT7981 and MT7988 SoCs. These PHYs need calibration data
present in the SoCs efuse and will dynamically calibrate VCM
(common-mode voltage) during startup.
config MTK_NET_PHYLIB
tristate
Annotation
- Atlas domain: Driver Families / drivers/net.
- 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.