1 // SPDX-License-Identifier: GPL-2.0
3 * TI Generic PHY Init to register any TI Ethernet PHYs
5 * Author: Dan Murphy <dmurphy@ti.com>
7 * Copyright (C) 2019-20 Texas Instruments Inc.
11 #include "ti_phy_init.h"
13 #ifdef CONFIG_PHY_TI_GENERIC
14 static struct phy_driver dp83822_driver = {
18 .features = PHY_BASIC_FEATURES,
19 .config = &genphy_config_aneg,
20 .startup = &genphy_startup,
21 .shutdown = &genphy_shutdown,
24 static struct phy_driver dp83826nc_driver = {
25 .name = "TI DP83826NC",
28 .features = PHY_BASIC_FEATURES,
29 .config = &genphy_config_aneg,
30 .startup = &genphy_startup,
31 .shutdown = &genphy_shutdown,
34 static struct phy_driver dp83826c_driver = {
35 .name = "TI DP83826C",
38 .features = PHY_BASIC_FEATURES,
39 .config = &genphy_config_aneg,
40 .startup = &genphy_startup,
41 .shutdown = &genphy_shutdown,
44 static struct phy_driver dp83825s_driver = {
45 .name = "TI DP83825S",
48 .features = PHY_BASIC_FEATURES,
49 .config = &genphy_config_aneg,
50 .startup = &genphy_startup,
51 .shutdown = &genphy_shutdown,
54 static struct phy_driver dp83825i_driver = {
55 .name = "TI DP83825I",
58 .features = PHY_BASIC_FEATURES,
59 .config = &genphy_config_aneg,
60 .startup = &genphy_startup,
61 .shutdown = &genphy_shutdown,
64 static struct phy_driver dp83825m_driver = {
65 .name = "TI DP83825M",
68 .features = PHY_BASIC_FEATURES,
69 .config = &genphy_config_aneg,
70 .startup = &genphy_startup,
71 .shutdown = &genphy_shutdown,
74 static struct phy_driver dp83825cs_driver = {
75 .name = "TI DP83825CS",
78 .features = PHY_BASIC_FEATURES,
79 .config = &genphy_config_aneg,
80 .startup = &genphy_startup,
81 .shutdown = &genphy_shutdown,
83 #endif /* CONFIG_PHY_TI_GENERIC */
87 #ifdef CONFIG_PHY_TI_DP83867
91 #ifdef CONFIG_PHY_TI_DP83869
95 #ifdef CONFIG_PHY_TI_GENERIC
96 phy_register(&dp83822_driver);
97 phy_register(&dp83825s_driver);
98 phy_register(&dp83825i_driver);
99 phy_register(&dp83825m_driver);
100 phy_register(&dp83825cs_driver);
101 phy_register(&dp83826c_driver);
102 phy_register(&dp83826nc_driver);