net: dsa: microchip: add DSA support for microchip LAN937x
authorArun Ramadoss <arun.ramadoss@microchip.com>
Fri, 1 Jul 2022 15:01:46 +0000 (20:31 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2022 15:34:05 +0000 (16:34 +0100)
commit55ab6ffaf378d6a5ed9682f24fec4b947eb29930
tree57e130f1a027a6a1aaa1654257b843319ea42ef3
parent457c182af597a5a2a9c1c4d12beac1ff35ee76e2
net: dsa: microchip: add DSA support for microchip LAN937x

Basic DSA driver support for lan937x and the device will be
configured through SPI interface.
It adds the lan937x_dev_ops in ksz_common.c file and tries to reuse the
functionality of ksz9477 series switch.

drivers/net/dsa/microchip/ path is already part of MAINTAINERS &
the new files come under this path. Hence no update needed to the
MAINTAINERS

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/Kconfig
drivers/net/dsa/microchip/Makefile
drivers/net/dsa/microchip/ksz_common.c
drivers/net/dsa/microchip/lan937x.h [new file with mode: 0644]
drivers/net/dsa/microchip/lan937x_main.c [new file with mode: 0644]
drivers/net/dsa/microchip/lan937x_reg.h [new file with mode: 0644]