[PATCH net v3 0/5] net: dsa: vsc73xx: fix MDIO bus access and PHY operations

Pawel Dembicki posted 5 patches 1 year, 4 months ago
drivers/net/dsa/vitesse-vsc73xx-core.c | 54 +++++++++++++++++++-------
drivers/net/phy/vitesse.c              | 14 -------
2 files changed, 41 insertions(+), 27 deletions(-)
[PATCH net v3 0/5] net: dsa: vsc73xx: fix MDIO bus access and PHY operations
Posted by Pawel Dembicki 1 year, 4 months ago
This series are extracted patches from net-next series [0].

The VSC73xx driver has issues with PHY configuration. This patch series
fixes most of them.

The first patch synchronizes the register configuration routine with the
datasheet recommendations.

Patches 2-3 restore proper communication on the MDIO bus. Currently,
the write value isn't sent to the MDIO register, and without a busy check,
communication with the PHY can be interrupted. This causes the PHY to
receive improper configuration and autonegotiation could fail.

The fourth patch removes the PHY reset blockade, as it is no longer
required.

After fixing the MDIO operations, autonegotiation became possible.
The last patch removes the blockade, which became unnecessary after
the MDIO operations fix.

[0] https://patchwork.kernel.org/project/netdevbpf/list/?series=874739&state=%2A&archive=both

Pawel Dembicki (5):
  net: dsa: vsc73xx: fix port MAC configuration in full duplex mode
  net: dsa: vsc73xx: pass value in phy_write operation
  net: dsa: vsc73xx: check busy flag in MDIO operations
  net: dsa: vsc73xx: allow phy resetting
  net: phy: vitesse: repair vsc73xx autonegotiation

 drivers/net/dsa/vitesse-vsc73xx-core.c | 54 +++++++++++++++++++-------
 drivers/net/phy/vitesse.c              | 14 -------
 2 files changed, 41 insertions(+), 27 deletions(-)

-- 
2.34.1