netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v3 0/2] net: phy: mscc: add support for RGMII MAC mode
@ 2020-03-19 14:19 Antoine Tenart
  2020-03-19 14:19 ` [PATCH net-next v3 1/2] " Antoine Tenart
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Antoine Tenart @ 2020-03-19 14:19 UTC (permalink / raw)
  To: davem, andrew, f.fainelli, hkallweit1
  Cc: Antoine Tenart, netdev, linux-kernel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-20  4:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 14:19 [PATCH net-next v3 0/2] net: phy: mscc: add support for RGMII MAC mode Antoine Tenart
2020-03-19 14:19 ` [PATCH net-next v3 1/2] " Antoine Tenart
2020-03-19 15:58   ` Andrew Lunn
2020-03-19 14:19 ` [PATCH net-next v3 2/2] net: phy: mscc: RGMII skew delay configuration Antoine Tenart
2020-03-19 16:05   ` Andrew Lunn
2020-03-19 16:17     ` Antoine Tenart
2020-03-19 16:52   ` Andrew Lunn
2020-03-20  4:15 ` [PATCH net-next v3 0/2] net: phy: mscc: add support for RGMII MAC mode David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).