[PATCH v2 0/3] net: macb: fix for fixed link, support for c45 mdio and 10G
From: Milind Parab
Date: Fri Dec 13 2019 - 04:40:54 EST
This patch series applies to Cadence Ethernet MAC Controller.
The first patch in this series is related to the patch that converts the
driver to phylink interface in net-next "net: macb: convert to phylink".
Next patch is for adding support for C45 interface and the final patch
adds 10G MAC support.
The patch sequences are detailed as below
1. 0001-net-macb-fix-for-fixed-link-mode
This patch fix the issue with fixed-link mode in macb phylink interface.
In fixed-link we don't need to parse phandle because it's better handled
by phylink_of_phy_connect()
2. 0002-net-macb-add-support-for-C45-MDIO-read-write
This patch is to support C45 interface to PHY. This upgrade is downward compatible.
All versions of the MAC (old and new) using the GPL driver support both Clause 22 and
Clause 45 operation. Whether the access is in Clause 22 or Clause 45 format depends
on the data pattern written to the PHY management register.
3. 0003-net-macb-add-support-for-high-speed-interface
This patch add support for 10G fixed mode.
Changes since v1:
1. phy_node reference count handling in patch 0001-net-macb-fix-for-fixed-link-mode
2. Using fixed value for HS_MAC_SPEED_x
Thanks,
Milind Parab
Milind Parab (3):
net: macb: fix for fixed-link mode
net: macb: add support for C45 MDIO read/write
net: macb: add support for high speed interface
drivers/net/ethernet/cadence/macb.h | 65 ++++++-
drivers/net/ethernet/cadence/macb_main.c | 224 +++++++++++++++++++----
2 files changed, 247 insertions(+), 42 deletions(-)
--
2.17.1