summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-02-27 16:31:46 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-03-04 16:07:24 +0100
commitcc96ed419f7585db15855dd53046562aadece3fb (patch)
tree06196f449f2fed2b0a9a297d23c28c41156176ed /include
parent28491c802d36accbb4d8562114ce8085ca53e1b0 (diff)
drivers: net: phy: micrel_ksz90x1.c: Add basic support for KSZ9131
This adds basic support for the new Micrel KSZ9131 phy. Related-to: ELB-1299 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'include')
-rw-r--r--include/micrel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/micrel.h b/include/micrel.h
index 1d121c2825..f5126f2992 100644
--- a/include/micrel.h
+++ b/include/micrel.h
@@ -26,6 +26,7 @@
#define MII_KSZ9x31_SILICON_REV_MASK 0xfffff0
#define PHY_ID_KSZ9031 0x00221620
+#define PHY_ID_KSZ9131 0x00221640
/* Registers */
@@ -40,5 +41,6 @@ int ksz9031_phy_extended_write(struct phy_device *phydev, int devaddr,
int regnum, u16 mode, u16 val);
int ksz9031_phy_extended_read(struct phy_device *phydev, int devaddr,
int regnum, u16 mode);
+int ksz9xx1_phy_get_id(struct phy_device *phydev);
#endif