diff options
author | Romain Naour <romain.naour@skf.com> | 2022-09-02 12:16:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-07 10:39:06 +0100 |
commit | 13767525929db1693b24555c07878d8cb3a274be (patch) | |
tree | fdb2f9205a5fee8b688064e38aad84e6492e6969 /drivers/net/dsa/microchip | |
parent | 2eb3ff3c09082bb4792f2149cf6582e2626a5e30 (diff) | |
download | linux-13767525929db1693b24555c07878d8cb3a274be.tar.bz2 |
net: dsa: microchip: add KSZ9896 to KSZ9477 I2C driver
Add support for the KSZ9896 6-port Gigabit Ethernet Switch to the
ksz9477 driver. The KSZ9896 supports both SPI (already in) and I2C.
Signed-off-by: Romain Naour <romain.naour@skf.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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/ksz9477_i2c.c b/drivers/net/dsa/microchip/ksz9477_i2c.c index 99966514d444..8fbc122e3384 100644 --- a/drivers/net/dsa/microchip/ksz9477_i2c.c +++ b/drivers/net/dsa/microchip/ksz9477_i2c.c @@ -92,6 +92,10 @@ static const struct of_device_id ksz9477_dt_ids[] = { .data = &ksz_switch_chips[KSZ9477] }, { + .compatible = "microchip,ksz9896", + .data = &ksz_switch_chips[KSZ9896] + }, + { .compatible = "microchip,ksz9897", .data = &ksz_switch_chips[KSZ9897] }, |