aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip
diff options
context:
space:
mode:
authorHelmut Grohne <helmut.grohne@intenta.de>2020-07-01 13:22:20 +0200
committerDavid S. Miller <davem@davemloft.net>2020-07-01 17:48:47 -0700
commite4b9a72d76a47c11677b4bb0dee24a1fb6efb3e9 (patch)
tree0878eb1611b9f748483ef758f8ff20e007221d27 /drivers/net/dsa/microchip
parenttcp: fix SO_RCVLOWAT possible hangs under high mem pressure (diff)
downloadlinux-dev-e4b9a72d76a47c11677b4bb0dee24a1fb6efb3e9.tar.xz
linux-dev-e4b9a72d76a47c11677b4bb0dee24a1fb6efb3e9.zip
net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver
The KSZ9893 3-Port Gigabit Ethernet Switch can be controlled via SPI, I²C or MDIO (very limited and not supported by this driver). While there is already a compatible entry for the SPI bus, it was missing for I²C. Signed-off-by: Helmut Grohne <helmut.grohne@intenta.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip')
-rw-r--r--drivers/net/dsa/microchip/ksz9477_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/ksz9477_i2c.c b/drivers/net/dsa/microchip/ksz9477_i2c.c
index 7d050fab0889..7951f52d860d 100644
--- a/drivers/net/dsa/microchip/ksz9477_i2c.c
+++ b/drivers/net/dsa/microchip/ksz9477_i2c.c
@@ -79,6 +79,7 @@ MODULE_DEVICE_TABLE(i2c, ksz9477_i2c_id);
static const struct of_device_id ksz9477_dt_ids[] = {
{ .compatible = "microchip,ksz9477" },
{ .compatible = "microchip,ksz9897" },
+ { .compatible = "microchip,ksz9893" },
{ .compatible = "microchip,ksz9567" },
{},
};