From: Antoine Tenart Date: Thu, 17 May 2018 08:29:32 +0000 (+0200) Subject: phy: add 2.5G SGMII mode to the phy_mode enum X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5490b8725d80cdfd5266a3732e23d61d0e9f7d2f;p=linux.git phy: add 2.5G SGMII mode to the phy_mode enum This patch adds one more generic PHY mode to the phy_mode enum, to allow configuring generic PHYs to the 2.5G SGMII mode by using the set_mode callback. Signed-off-by: Antoine Tenart Acked-by: Kishon Vijay Abraham I Signed-off-by: David S. Miller --- diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index c9d14eeee7f5a..9713aebdd348b 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -36,6 +36,7 @@ enum phy_mode { PHY_MODE_USB_DEVICE_SS, PHY_MODE_USB_OTG, PHY_MODE_SGMII, + PHY_MODE_2500SGMII, PHY_MODE_10GKR, PHY_MODE_UFS_HS_A, PHY_MODE_UFS_HS_B,