summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2022-11-17 13:27:09 -0800
committerTom Rini <trini@konsulko.com>2022-11-28 13:06:40 -0500
commit5e6c069b2c6b37083da685f39fa56ab5137dbdf9 (patch)
treeef486924750d138effb1ecd24081cb6bf28820d4 /drivers/net/phy/phy.c
parentd1559435d7f03517c7306e1c43e2ef497479f34b (diff)
phy: add driver for Intel XWAY PHY
Add a driver for the Intel XWAY GbE PHY: - configure RGMII using dt phy-mode and standard delay properties - use genphy_config Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'drivers/net/phy/phy.c')
-rw-r--r--drivers/net/phy/phy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 9087663053..92143cf236 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -556,6 +556,9 @@ int phy_init(void)
#ifdef CONFIG_PHY_XILINX
phy_xilinx_init();
#endif
+#ifdef CONFIG_PHY_XWAY
+ phy_xway_init();
+#endif
#ifdef CONFIG_PHY_MSCC
phy_mscc_init();
#endif