]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: dsa: mt7530: make NET_DSA_MT7530 select MEDIATEK_GE_PHY
authorArınç ÜNAL <arinc.unal@arinc9.com>
Sat, 29 Jan 2022 06:27:04 +0000 (09:27 +0300)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Feb 2022 05:18:17 +0000 (21:18 -0800)
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.

Fixes: b8f126a8d543 ("net-next: dsa: add dsa support for Mediatek MT7530 switch")
Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220129062703.595-1-arinc.unal@arinc9.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/Kconfig

index 7b1457a6e327b01d5415c71dcd06ed4116234706..c0c91440340ae67d0e313a012b8d5c70d2ec9a3e 100644 (file)
@@ -36,6 +36,7 @@ config NET_DSA_LANTIQ_GSWIP
 config NET_DSA_MT7530
        tristate "MediaTek MT753x and MT7621 Ethernet switch support"
        select NET_DSA_TAG_MTK
+       select MEDIATEK_GE_PHY
        help
          This enables support for the MediaTek MT7530, MT7531, and MT7621
          Ethernet switch chips.