summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/ti_phy_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/ti_phy_init.c')
-rw-r--r--drivers/net/phy/ti_phy_init.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/phy/ti_phy_init.c b/drivers/net/phy/ti_phy_init.c
new file mode 100644
index 0000000000..277b29a263
--- /dev/null
+++ b/drivers/net/phy/ti_phy_init.c
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * TI Generic PHY Init to register any TI Ethernet PHYs
+ *
+ * Author: Dan Murphy <dmurphy@ti.com>
+ *
+ * Copyright (C) 2019-20 Texas Instruments Inc.
+ */
+
+#include "ti_phy_init.h"
+
+int phy_ti_init(void)
+{
+#ifdef CONFIG_PHY_TI_DP83867
+ phy_dp83867_init();
+#endif
+ return 0;
+}