aboutsummaryrefslogtreecommitdiff
path: root/include/linux/phy
diff options
context:
space:
mode:
authorAntoine Tenart2018-05-17 10:29:32 +0200
committerDavid S. Miller2018-05-17 16:11:39 -0400
commit5490b8725d80cdfd5266a3732e23d61d0e9f7d2f (patch)
tree6d33c8c0350b97f0fdb5bcc593f6c73d79ac88d2 /include/linux/phy
parent4bb043262878c9fc9b51ad67fc229bb973d957c8 (diff)
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 <antoine.tenart@bootlin.com> Acked-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy')
-rw-r--r--include/linux/phy/phy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index c9d14eeee7f5..9713aebdd348 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,