diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-02-18 14:15:40 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-19 19:56:03 +0100 |
commit | 173a272a9f17b7b88d13b12250123075966990d1 (patch) | |
tree | c9fdec2404c38ec71180877681947fa4e3971ded /drivers/net/dsa/microchip/ksz9477_i2c.c | |
parent | net/smc: unlock on error paths in __smc_setsockopt() (diff) | |
download | linux-173a272a9f17b7b88d13b12250123075966990d1.tar.xz linux-173a272a9f17b7b88d13b12250123075966990d1.zip |
net: dsa: microchip: add ksz8563 to ksz9477 I2C driver
The KSZ9477 SPI driver already has support for the KSZ8563. The same switch
chip can also be managed via i2c and we have an KSZ9477 I2C driver, but
that one lacks the relevant compatible entry. Add it.
DT bindings already describe this compatible.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz9477_i2c.c')
-rw-r--r-- | drivers/net/dsa/microchip/ksz9477_i2c.c | 1 |
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 f3afb8b8c4cc..cbc0b20e7e1b 100644 --- a/drivers/net/dsa/microchip/ksz9477_i2c.c +++ b/drivers/net/dsa/microchip/ksz9477_i2c.c @@ -92,6 +92,7 @@ static const struct of_device_id ksz9477_dt_ids[] = { { .compatible = "microchip,ksz9893" }, { .compatible = "microchip,ksz9563" }, { .compatible = "microchip,ksz9567" }, + { .compatible = "microchip,ksz8563" }, {}, }; MODULE_DEVICE_TABLE(of, ksz9477_dt_ids); |