]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: dwc-qos: calibrate tegra with mdio bus idle
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 22 Apr 2025 14:24:55 +0000 (15:24 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Apr 2025 23:01:22 +0000 (16:01 -0700)
commit87f43e6f06a2b027ec2a7e86b5b767c9d60f5fc8
treeb1cc615167b0bba5a09df73d18ef18cdc5225436
parent8ff6175139967cd17b2a62bca4b2de2559942b7e
net: stmmac: dwc-qos: calibrate tegra with mdio bus idle

Thierry states that there are prerequists for Tegra's calibration
that should be met before starting calibration - both the RGMII and
MDIO interfaces should be idle.

This commit adds the necessary MII bus locking to ensure that the MDIO
interface is idle during calibration.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/E1u7EYR-001ZAS-Cr@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c