]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: dsa: microchip: add ksz9563 to ksz9477 I2C driver
authorChristian Eggers <ceggers@arri.de>
Wed, 7 Oct 2020 09:30:49 +0000 (11:30 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 9 Oct 2020 20:05:56 +0000 (13:05 -0700)
Add support for the KSZ9563 3-Port Gigabit Ethernet Switch to the
ksz9477 driver. The KSZ9563 supports both SPI (already in) and I2C. The
ksz9563 is already in the device tree binding documentation.

Signed-off-by: Christian Eggers <ceggers@arri.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/microchip/ksz9477_i2c.c

index 7951f52d860d36812067a96923175ed31b6ca846..4e053a25d07713f9abcd61e07695922c795632fa 100644 (file)
@@ -80,6 +80,7 @@ static const struct of_device_id ksz9477_dt_ids[] = {
        { .compatible = "microchip,ksz9477" },
        { .compatible = "microchip,ksz9897" },
        { .compatible = "microchip,ksz9893" },
+       { .compatible = "microchip,ksz9563" },
        { .compatible = "microchip,ksz9567" },
        {},
 };