mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-27 04:22:58 +00:00
This patch integrates read/write page helper functions as MTK phy lib. They are basically the same in mtk-ge.c & mtk-ge-soc.c. Signed-off-by: SkyLake.Huang <skylake.huang@mediatek.com> Signed-off-by: David S. Miller <davem@davemloft.net>
28 lines
898 B
Plaintext
28 lines
898 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
config MTK_NET_PHYLIB
|
|
tristate
|
|
|
|
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 && ARCH_MEDIATEK) || COMPILE_TEST
|
|
depends on NVMEM_MTK_EFUSE
|
|
select MTK_NET_PHYLIB
|
|
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.
|