summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorOleksii Bidnichenko <oleksii.bidnichenko@toradex.com>2021-10-27 11:30:44 +0300
committerOleksii Bidnichenko <oleksii.bidnichenko@toradex.com>2021-10-27 12:18:57 +0300
commitca723c60d38197d83854fb95495e24d73103b3fd (patch)
tree3f744aee86b16312fb4d524dd641cf77b4cc3227 /drivers/net/phy/phy.c
parent1e8dc5e388e692e657c4cfb4a883b73cde9997bc (diff)
drivers:net:phy Add KSZ9XX1 phy for apalis imx6
Backport a newer version of the Ethernet PHY to support a new Gigabit Ethernet Transceiver (KSZ9131). Backported from: d397f7c45b0b ("net: phy: micrel: Separate KSZ9000 drivers from KSZ8000 drivers") Related-to: ELB-4181 Signed-off-by: Oleksii Bidnichenko <oleksii.bidnichenko@toradex.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 80bdfb6d9d..2d9122469f 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -491,6 +491,9 @@ int phy_init(void)
#ifdef CONFIG_PHY_MICREL
phy_micrel_init();
#endif
+#ifdef CONFIG_PHY_MICREL_KSZ90X1
+ phy_micrel_ksz90x1_init();
+#endif
#ifdef CONFIG_PHY_NATSEMI
phy_natsemi_init();
#endif