net: dsa: b53: Configure RGMII for 531x5 and MII for 5325
authorFlorian Fainelli <florian.fainelli@broadcom.com>
Tue, 23 Apr 2024 18:33:36 +0000 (11:33 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 25 Apr 2024 18:46:38 +0000 (11:46 -0700)
commit536e5b2ecbaea7dfc89b952310b89d53142b53c9
tree325444be46e03f0eee3fb6a97b60b2499c46bd55
parent93a2579ed08c76835514d2a7f6e5bf3a9bc377ef
net: dsa: b53: Configure RGMII for 531x5 and MII for 5325

Call b53_adjust_531x5_rgmii() and b53_adjust_5325_mii() from
b53_phylink_mac_config() when we have a fixed PHY in preparation for removing
b53_adjust_link(). Also move b53_adjust_63xx_rgmii() to
b53_phylink_mac_config() where it logically belongs.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20240423183339.1368511-6-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/b53/b53_common.c