net: dsa: microchip: enable ksz9893 via i2c in the ksz9477 driver
authorHelmut Grohne <helmut.grohne@intenta.de>
Wed, 1 Jul 2020 11:22:20 +0000 (13:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jul 2020 00:48:47 +0000 (17:48 -0700)
commite4b9a72d76a47c11677b4bb0dee24a1fb6efb3e9
tree0878eb1611b9f748483ef758f8ff20e007221d27
parentba3bb0e76ccd464bb66665a1941fabe55dadb3ba
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>
drivers/net/dsa/microchip/ksz9477_i2c.c