summaryrefslogtreecommitdiffstats
path: root/include/linux/phy
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@free-electrons.com>2017-08-30 10:29:12 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-30 15:17:45 -0700
commit5c23f2dc8eeb5a6010cb66119d942361bc8ec833 (patch)
tree46b7d799ebef1945ea412d7cf34fdc6a93780fa2 /include/linux/phy
parentd36b82bcdd1908450f8c3ba3f9b7a189cda8c69c (diff)
downloadlinux-5c23f2dc8eeb5a6010cb66119d942361bc8ec833.tar.gz
linux-5c23f2dc8eeb5a6010cb66119d942361bc8ec833.tar.bz2
linux-5c23f2dc8eeb5a6010cb66119d942361bc8ec833.zip
phy: add sgmii and 10gkr modes to the phy_mode enum
This patch adds more generic PHY modes to the phy_mode enum, to allow configuring generic PHYs to the SGMII and/or the 10GKR mode by using the set_mode callback. Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h
index 78bb0d7f6b11..e694d4008c4a 100644
--- a/include/linux/phy/phy.h
+++ b/include/linux/phy/phy.h
@@ -27,6 +27,8 @@ enum phy_mode {
PHY_MODE_USB_HOST,
PHY_MODE_USB_DEVICE,
PHY_MODE_USB_OTG,
+ PHY_MODE_SGMII,
+ PHY_MODE_10GKR,
};
/**