net: dsa: LAN9303: Add basic support for LAN9354
authorJerry Ray <jerry.ray@microchip.com>
Fri, 2 Sep 2022 21:30:21 +0000 (16:30 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Sep 2022 10:06:04 +0000 (11:06 +0100)
commit13248b975038241be329388a9a707dd12fdd5466
tree10fbaa2010352ad85d35bbc006609574a2ffdb48
parent732f374e23a9ae05dbc13825e4b02b3abce9f9aa
net: dsa: LAN9303: Add basic support for LAN9354

Adding support for the LAN9354 device by allowing it to use
the LAN9303 DSA driver.  These devices have the same underlying
access and control methods and from a feature set point of view
the LAN9354 is a superset of the LAN9303.

The MDIO access method has been tested on a SAMA5D3-EDS board
with a LAN9354 RMII daughter card.

While the SPI access method should also be the same, it has not
been tested and as such is not included at this time.

Signed-off-by: Jerry Ray <jerry.ray@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/Kconfig
drivers/net/dsa/lan9303-core.c
drivers/net/dsa/lan9303_mdio.c