[PATCH net-next V2 0/5] Add support to SFP for PCI11x1x chips

From: Raju Lakkaraju
Date: Wed Sep 11 2024 - 12:16:12 EST


This is the follow-up patch series of
https://lkml.iu.edu/hypermail/linux/kernel/2310.2/02078.html

Divide the PHYLINK adaptation and SFP modifications into two separate patch
series.

This patch series focuses on sfp support for PCI11x1x chips.

Tested on PCI11010 Rev-1 Evaluation board with following SFP modules:
1. FS's 2.5G SFP (SFP-2.5G-T) with 2.5 Gbps speed (interface 2500Base-X)
2. Axcen's 1G SFP (AXGT-R1T4-05I1) at 1G/100M/10M bps speed (interface SGMII)

Change Log:
===========
V1 -> V2:
- Split the patches to "PHYLINK" and "SFP" parts
- Change variable name from "chip_rev" to "fpga_rev"
- SFP GPIO definitions and other macros move from lan743x_main.c to
lan743x_main.h file
- Change from "PCI11X1X_" to "PCI11X1X_EVB_PCI11010_" strings for GPIO macros
- Add platform_device_unregister( ) when sfp register fail
- Add two new patches to this patch series
V0 -> V1:
- Integrate with Synopsys DesignWare XPCS drivers
- Based on external review comments,
- Changes made to SGMII interface support only 1G/100M/10M bps speed
- Changes made to 2500Base-X interface support only 2.5Gbps speed
- Add check for not is_sgmii_en with is_sfp_support_en support
- Change the "pci11x1x_strap_get_status" function return type from void to
int
- Add ethtool phylink wol, eee, pause get/set functions

Raju Lakkaraju (5):
net: lan743x: Add SFP support check flag
net: lan743x: Add support to software-nodes for sfp
net: lan743x: Register the platform device for sfp pluggable module
net: lan743x: Implement phylink pcs
net: lan743x: Add Support for 2.5G SFP with 2500Base-X Interface

drivers/net/ethernet/microchip/Kconfig | 4 +
drivers/net/ethernet/microchip/lan743x_main.c | 358 +++++++++++++++++-
drivers/net/ethernet/microchip/lan743x_main.h | 88 +++++
3 files changed, 434 insertions(+), 16 deletions(-)

--
2.34.1