]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
phy: add 2.5G SGMII mode to the phy_mode enum
authorAntoine Tenart <antoine.tenart@bootlin.com>
Thu, 17 May 2018 08:29:32 +0000 (10:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 20:11:39 +0000 (16:11 -0400)
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 <antoine.tenart@bootlin.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy/phy.h

index c9d14eeee7f5ae8156c10967a66db5b53b191879..9713aebdd348b1d9bb73ecbe2b82efba3f929695 100644 (file)
@@ -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,