[PATCH net-next v3 0/2] net: phy: mscc: add support for RGMII MAC mode

From: Antoine Tenart
Date: Thu Mar 19 2020 - 10:20:09 EST


Hello,

This series adds support for the RGMII MAC mode for the VSC8584 PHY
family and for RGMII_ID modes (Tx and/or Rx).

I decided to drop the custom delay for now. I made some tests and it
seemed to be working quite well. If we find out we really need to lower
the delay, which I doubt, I'll send support for it.

Thanks!
Antoine

Since v2:
- Dropped support for custom dt bindings.
- Add the 2ns delay based on the interface mode.

Since v1:
- The RGMII skew delays are now set based on the PHY interface mode
being used (RGMII vs ID vs RXID vs TXID).
- When RGMII is used, the skew delays are set to their default value,
meaning we do not rely anymore on the bootloader's configuration.
- Improved the commit messages.
- s/phy_interface_mode_is_rgmii/phy_interface_is_rgmii/

Antoine Tenart (2):
net: phy: mscc: add support for RGMII MAC mode
net: phy: mscc: RGMII skew delay configuration

drivers/net/phy/mscc/mscc.h | 15 ++++++++
drivers/net/phy/mscc/mscc_main.c | 61 +++++++++++++++++++++++++-------
2 files changed, 64 insertions(+), 12 deletions(-)

--
2.25.1