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

From: Antoine Tenart
Date: Fri Feb 28 2020 - 10:57:34 EST


Hello,

This series adds support for the RGMII MAC mode for the VSC8584 PHY
family.

The first patch adds support for configuring the PHY MAC mode based on
phydev->interface.

The second and third patches add new dt bindings for the MSCC driver, to
configure the RGMII Tx and Rx skews from the device tree.

Thanks!
Antoine

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 (3):
net: phy: mscc: add support for RGMII MAC mode
dt-bindings: net: phy: mscc: document rgmii skew properties
net: phy: mscc: RGMII skew delay configuration

.../bindings/net/mscc-phy-vsc8531.txt | 8 ++
drivers/net/phy/mscc.c | 83 ++++++++++++++++---
include/dt-bindings/net/mscc-phy-vsc8531.h | 10 +++
3 files changed, 89 insertions(+), 12 deletions(-)

--
2.24.1