net: dsa: microchip: ksz8795: add support for ksz88xx chips
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 27 Apr 2021 07:09:04 +0000 (09:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2021 21:13:24 +0000 (14:13 -0700)
commit4b20a07e103f0b38b376b4b45c7c082202a876ff
tree6d186c82d29448d104c8835079ad2919e4337fe5
parent9f73e11250fb3948a8599d72318951d5e93b1eaf
net: dsa: microchip: ksz8795: add support for ksz88xx chips

We add support for the ksz8863 and ksz8873 chips which are
using the same register patterns but other offsets as the
ksz8795.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz8795.c
drivers/net/dsa/microchip/ksz8795_reg.h
drivers/net/dsa/microchip/ksz_common.h