Merge branch 'vsc73xx-fix-mdio-and-phy'
authorDavid S. Miller <davem@davemloft.net>
Mon, 12 Aug 2024 10:46:56 +0000 (11:46 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Aug 2024 10:46:56 +0000 (11:46 +0100)
Pawel Dembicki says:

====================
net: dsa: vsc73xx: fix MDIO bus access and PHY opera

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge