]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbc996dd0fac121b1a19ee183d10cb83feea75d96
tree57e130f1a027a6a1aaa1654257b843319ea42ef3
parent3bb4c3475175e5aa82aab3825836696500b07cc9
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]