[PATCH net-next v3 0/2] net: stmmac: qcom-ethqos: enable 2.5G ethernet on sa8775p-ride

From: Bartosz Golaszewski
Date: Wed Jul 03 2024 - 14:15:21 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

Here are the changes required to enable 2.5G ethernet on sa8775p-ride.
As advised by Andrew Lunn and Russell King, I am reusing the existing
stmmac infrastructure to enable the SGMII loopback and so I dropped the
patches adding new callbacks to the driver core. I also added more
details to the commit message and made sure the workaround is only
enabled on Rev 3 of the board (with AQR115C PHY). Also: dropped any
mentions of the OCSGMII mode.

Changes since v2:
- only apply the SGMII loopback quirk on Rev 3 of the sa8775p-ride board
- extend the commit message in patch 2 to explain the situation in detail
Link to v2: https://lore.kernel.org/netdev/20240627113948.25358-1-brgl@xxxxxxxx/

Changes since v1:
- split out the stmmac patches into their own series
- don't add new callbacks to the stmmac core, reuse existing
infrastructure instead
- don't try to add a new PHY mode (OCSGMII) but reuse 2500BASEX instead
Link to v1: https://lore.kernel.org/linux-arm-kernel/20240619184550.34524-1-brgl@xxxxxxxx/T/

Bartosz Golaszewski (2):
net: stmmac: qcom-ethqos: add support for 2.5G BASEX mode
net: stmmac: qcom-ethqos: enable SGMII loopback during DMA reset on
sa8775p-ride-r3

.../stmicro/stmmac/dwmac-qcom-ethqos.c | 34 +++++++++++++++++++
1 file changed, 34 insertions(+)

--
2.43.0