[net-next,0/7] Add support to PHYLINK and SFP for PCI11x1x chips

Message ID 20230721060019.2737-1-Raju.Lakkaraju@microchip.com
Headers
Series Add support to PHYLINK and SFP for PCI11x1x chips |

Message

Raju Lakkaraju July 21, 2023, 6 a.m. UTC
  This patch series adds support to PHYLINK and SFP pluggable module.
Add software-nodes to hold the network interface phylink, sfp, i2c and GPIO
configuration and integrates the PCI1x1x chip I2C driver and GPIO driver to
access the SFP module EEPROM data.

Tested on chip PCI11010 Rev-B with Bridgeport Evaluation board Rev-1 with
following SFP modules:

1. FS's 2.5G SFP (SFP-2.5G-T) with 2.5 Gbps speed (interface 2500Base-X)

2. FS's DAC10G SFP (SFPP-PC01) with 2.5 Gbps speed (interface 2500Base-X)

3. FS's 1G SFP (SFP-GB-GE-TL) with 1G/100M/10M bps speed (interface SGMII)

4. Axcen's 1G SFP (AXGT-R1T4-05I1) with 1G/100M/10M bps speed (interface SGMII)

5. Excom's 1G SFP (SFP-T) with 1G/100M/10M bps speed (interface SGMII)

Raju Lakkaraju (7):
  net: lan743x: Create separate PCS power reset function
  net: lan743x: Create separate Link Speed Duplex state function
  net: lan743x: Add SFP support check flag
  net: lan743x: Add support to software-nodes for SFP and PHYLINK
  net: lan743x: Add support to the Phylink framework
  net: lan743x: Add support to ethtool phylink get and set settings
  net: lan743x: Register the platform device for sfp pluggable module

 drivers/net/ethernet/microchip/Kconfig        |   4 +-
 .../net/ethernet/microchip/lan743x_ethtool.c  |  34 +-
 drivers/net/ethernet/microchip/lan743x_main.c | 707 ++++++++++++++++--
 drivers/net/ethernet/microchip/lan743x_main.h |  42 ++
 4 files changed, 718 insertions(+), 69 deletions(-)