Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: dsa: mt7530: select MEDIATEK_GE_PHY for NET_DSA_MT7530_MDIO

Quoting from commit 4223f8651287 ("net: dsa: mt7530: make NET_DSA_MT7530
select MEDIATEK_GE_PHY"):

Make MediaTek MT753x DSA driver enable MediaTek Gigabit PHYs driver to
properly control MT7530 and MT7531 switch PHYs.

A noticeable change is that the behaviour of switchport interfaces going
up-down-up-down is no longer there.

Now, the switch can be used without the PHYs but, at the moment, every
hardware design out there that I have seen uses them. For that, it would
make the most sense to force the selection of MEDIATEK_GE_PHY for the MDIO
interface which currently controls the MT7530 and MT7531 switches.

Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link: https://lore.kernel.org/r/20240122053451.8004-1-arinc.unal@arinc9.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Arınç ÜNAL and committed by
Jakub Kicinski
fb4bb62a 5f76499f

+1 -1
+1 -1
drivers/net/dsa/Kconfig
··· 48 48 config NET_DSA_MT7530_MDIO 49 49 tristate "MediaTek MT7530 MDIO interface driver" 50 50 depends on NET_DSA_MT7530 51 - imply MEDIATEK_GE_PHY 51 + select MEDIATEK_GE_PHY 52 52 select PCS_MTK_LYNXI 53 53 help 54 54 This enables support for the MediaTek MT7530 and MT7531 switch