]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita950e4385d0a017b2b3512c67731ebc9b1915ff0
tree10fbaa2010352ad85d35bbc006609574a2ffdb48
parent44a9ffc8f97f58e4f6611d1fadd5a3dfb690248e
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