net: dsa: microchip: add ksz8563 to ksz9477 I2C driver
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Fri, 18 Feb 2022 13:15:40 +0000 (14:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Feb 2022 18:56:03 +0000 (18:56 +0000)
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>
drivers/net/dsa/microchip/ksz9477_i2c.c

index f3afb8b..cbc0b20 100644 (file)
@@ -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);