summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/Kconfig
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-03-19 13:58:43 +0100
committerJakub Kicinski <kuba@kernel.org>2023-03-21 03:48:41 +0100
commit5b89aeae6e00696ed9f15f18adbbe47dd1d4c0b7 (patch)
treec48675b658165e3457eeac69c5a166d3e0b05c49 /drivers/net/dsa/Kconfig
parentnet: ethernet: mtk_eth_soc: switch to external PCS driver (diff)
downloadlinux-5b89aeae6e00696ed9f15f18adbbe47dd1d4c0b7.tar.xz
linux-5b89aeae6e00696ed9f15f18adbbe47dd1d4c0b7.zip
net: dsa: mt7530: use external PCS driver
Implement regmap access wrappers, for now only to be used by the pcs-mtk-lynxi driver. Make use of this external PCS driver and drop the now reduntant implementation in mt7530.c. As a nice side effect the SGMII registers can now also more easily be inspected for debugging via /sys/kernel/debug/regmap. Tested-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Daniel Golle <daniel@makrotopia.org> Tested-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/Kconfig')
-rw-r--r--drivers/net/dsa/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig
index f6f3b43dfb06..6b45fa8b6907 100644
--- a/drivers/net/dsa/Kconfig
+++ b/drivers/net/dsa/Kconfig
@@ -38,6 +38,7 @@ config NET_DSA_MT7530
tristate "MediaTek MT7530 and MT7531 Ethernet switch support"
select NET_DSA_TAG_MTK
select MEDIATEK_GE_PHY
+ select PCS_MTK_LYNXI
help
This enables support for the MediaTek MT7530 and MT7531 Ethernet
switch chips. Multi-chip module MT7530 in MT7621AT, MT7621DAT,