1 From 9d9bf16aa8d966834ac1280f96c37d22552c33d1 Mon Sep 17 00:00:00 2001
2 From: Birger Koblitz <git@birger-koblitz.de>
3 Date: Wed, 8 Sep 2021 16:13:18 +0200
4 Subject: phy: Add PHY hsgmii mode
6 This adds RTL93xx-specific MAC configuration routines that allow also configuration
7 of 10GBit links for phylink. There is support for the Realtek-specific HISGMI
10 Submitted-by: Birger Koblitz <git@birger-koblitz.de>
12 include/linux/phy.h | 3 +++
13 1 file changed, 3 insertions(+)
15 --- a/include/linux/phy.h
16 +++ b/include/linux/phy.h
17 @@ -134,6 +134,7 @@ typedef enum {
18 PHY_INTERFACE_MODE_XGMII,
19 PHY_INTERFACE_MODE_XLGMII,
20 PHY_INTERFACE_MODE_MOCA,
21 + PHY_INTERFACE_MODE_HSGMII,
22 PHY_INTERFACE_MODE_QSGMII,
23 PHY_INTERFACE_MODE_TRGMII,
24 PHY_INTERFACE_MODE_100BASEX,
25 @@ -201,6 +202,8 @@ static inline const char *phy_modes(phy_
27 case PHY_INTERFACE_MODE_MOCA:
29 + case PHY_INTERFACE_MODE_HSGMII:
31 case PHY_INTERFACE_MODE_QSGMII:
33 case PHY_INTERFACE_MODE_TRGMII: