diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-01-22 18:34:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-23 23:21:12 +0300 |
commit | 783da36bb90cbf45be7fa82a0d0d3910f1f6fcc7 (patch) | |
tree | 3b913693818953cb531b73000bfdbdf29ff162e4 /drivers/net/phy/dp83822.c | |
parent | 6d9f6e6790e794461ff3a16e4f3778f01ff6cca2 (diff) | |
download | linux-783da36bb90cbf45be7fa82a0d0d3910f1f6fcc7.tar.xz |
phy: dp83826: Add phy IDs for DP83826N and 826NC
Add phy IDs to the DP83822 phy driver for the DP83826N
and the DP83826NC devices. The register map and features
are the same for basic enablement.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/dp83822.c')
-rw-r--r-- | drivers/net/phy/dp83822.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy/dp83822.c index 8a4b1d167ce2..5159b28baa0f 100644 --- a/drivers/net/phy/dp83822.c +++ b/drivers/net/phy/dp83822.c @@ -16,6 +16,8 @@ #define DP83822_PHY_ID 0x2000a240 #define DP83825I_PHY_ID 0x2000a150 +#define DP83826C_PHY_ID 0x2000a130 +#define DP83826NC_PHY_ID 0x2000a110 #define DP83822_DEVADDR 0x1f @@ -319,12 +321,16 @@ static int dp83822_resume(struct phy_device *phydev) static struct phy_driver dp83822_driver[] = { DP83822_PHY_DRIVER(DP83822_PHY_ID, "TI DP83822"), DP83822_PHY_DRIVER(DP83825I_PHY_ID, "TI DP83825I"), + DP83822_PHY_DRIVER(DP83826C_PHY_ID, "TI DP83826C"), + DP83822_PHY_DRIVER(DP83826NC_PHY_ID, "TI DP83826NC"), }; module_phy_driver(dp83822_driver); static struct mdio_device_id __maybe_unused dp83822_tbl[] = { { DP83822_PHY_ID, 0xfffffff0 }, { DP83825I_PHY_ID, 0xfffffff0 }, + { DP83826C_PHY_ID, 0xfffffff0 }, + { DP83826NC_PHY_ID, 0xfffffff0 }, { }, }; MODULE_DEVICE_TABLE(mdio, dp83822_tbl); |