diff options
| author | Antoine Tenart <antoine.tenart@free-electrons.com> | 2017-08-30 04:29:12 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-08-30 18:17:45 -0400 |
| commit | 5c23f2dc8eeb5a6010cb66119d942361bc8ec833 (patch) | |
| tree | 46b7d799ebef1945ea412d7cf34fdc6a93780fa2 /include/linux/phy | |
| parent | d36b82bcdd1908450f8c3ba3f9b7a189cda8c69c (diff) | |
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.h | 2 |
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 { | |||
| 27 | PHY_MODE_USB_HOST, | 27 | PHY_MODE_USB_HOST, |
| 28 | PHY_MODE_USB_DEVICE, | 28 | PHY_MODE_USB_DEVICE, |
| 29 | PHY_MODE_USB_OTG, | 29 | PHY_MODE_USB_OTG, |
| 30 | PHY_MODE_SGMII, | ||
| 31 | PHY_MODE_10GKR, | ||
| 30 | }; | 32 | }; |
| 31 | 33 | ||
| 32 | /** | 34 | /** |
