Changes in v2: - Fix CI build failure Changes in v3: - Replaced #ifdef CONFIG_ARCH_IMX9 guard with a runtime wrapper function, improving code cleanliness - Added explicit 1G-only PHY capability restriction for SGMII on i.MX95 (no 10/100 support) - Added a new public wrapper xpcs_phy_sgmii_1g_config() fsl_enetc_xpcs_phy.c for better abstraction
Changes in v4: - Move the xpcs_phy_sgmii_1g_config() in fsl_enetc_xpcs_phy.c from patch 3/3 to patch 2/3 Changes in v5: - Convert XPCS PHY polling loops to read_poll_timeout() - Clear only 10/100BASE-T bits for i.MX95 SGMII 1G Signed-off-by: Alice Guo <[email protected]> --- Alice Guo (3): net: fsl_enetc_xpcs_phy: Extract common PMA MMD init sequence into helper function net: fsl_enetc_xpcs_phy: Add SGMII 1G support for i.MX95 Ethernet PHY Wrapper net: fsl_enetc: Add 1G SGMII mode support for i.MX95 drivers/net/fsl_enetc.c | 20 ++ drivers/net/fsl_enetc.h | 1 + drivers/net/fsl_enetc_xpcs_phy.c | 696 ++++++++++++++++++++++++++++++++++----- 3 files changed, 635 insertions(+), 82 deletions(-) --- base-commit: 3f19667468fb93bcb5702d23aa057b72639e3ac8 change-id: 20260831-imx95-a351db37a8c7 Best regards, -- Alice Guo <[email protected]>
