Add support to PHYLINK for LAN743x/PCI11x1x chips
From: | Raju Lakkaraju <Raju.Lakkaraju-AT-microchip.com> | |
To: | <netdev-AT-vger.kernel.org> | |
Subject: | [PATCH net-next V2 0/4] Add support to PHYLINK for LAN743x/PCI11x1x chips | |
Date: | Tue, 16 Jul 2024 17:03:45 +0530 | |
Message-ID: | <20240716113349.25527-1-Raju.Lakkaraju@microchip.com> | |
Cc: | <davem-AT-davemloft.net>, <kuba-AT-kernel.org>, <andrew-AT-lunn.ch>, <horms-AT-kernel.org>, <hkallweit1-AT-gmail.com>, <richardcochran-AT-gmail.com>, <rdunlap-AT-infradead.org>, <linux-AT-armlinux.org.uk>, <bryan.whitehead-AT-microchip.com>, <edumazet-AT-google.com>, <pabeni-AT-redhat.com>, <linux-kernel-AT-vger.kernel.org>, <UNGLinuxDriver-AT-microchip.com> | |
Archive-link: | Article |
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. The current patch series focuses on transitioning the LAN743x driver's PHY support from phylib to phylink. Tested on chip PCI11010 Rev-B with Bridgeport Evaluation board Rev-1 Change List: ============ V1 ->V2: - Fix the Russell King's comments i.e. remove the speed, duplex update in lan743x_phylink_mac_config( ) - pre-March 2020 legacy support has been removed 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 (4): net: lan743x: Create separate PCS power reset function net: lan743x: Create separate Link Speed Duplex state function net: lan743x: Migrate phylib to phylink net: lan743x: Add support to ethtool phylink get and set settings drivers/net/ethernet/microchip/Kconfig | 5 +- .../net/ethernet/microchip/lan743x_ethtool.c | 118 +--- drivers/net/ethernet/microchip/lan743x_main.c | 657 +++++++++++------- drivers/net/ethernet/microchip/lan743x_main.h | 7 + 4 files changed, 460 insertions(+), 327 deletions(-) -- 2.34.1