Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8aa9ebcc authored by Vladimir Oltean's avatar Vladimir Oltean Committed by David S. Miller
Browse files

net: dsa: Introduce driver for NXP SJA1105 5-port L2 switch



At this moment the following is supported:
* Link state management through phylib
* Autonomous L2 forwarding managed through iproute2 bridge commands.

IP termination must be done currently through the master netdevice,
since the switch is unmanaged at this point and using
DSA_TAG_PROTO_NONE.

Signed-off-by: default avatarVladimir Oltean <olteanv@gmail.com>
Signed-off-by: default avatarGeorg Waibel <georg.waibel@sensor-technik.de>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 554aae35
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -11120,6 +11120,12 @@ S: Maintained
F:	Documentation/devicetree/bindings/sound/sgtl5000.txt
F:	sound/soc/codecs/sgtl5000*

NXP SJA1105 ETHERNET SWITCH DRIVER
M:	Vladimir Oltean <olteanv@gmail.com>
L:	linux-kernel@vger.kernel.org
S:	Maintained
F:	drivers/net/dsa/sja1105

NXP TDA998X DRM DRIVER
M:	Russell King <linux@armlinux.org.uk>
S:	Maintained
+2 −0
Original line number Diff line number Diff line
@@ -51,6 +51,8 @@ source "drivers/net/dsa/microchip/Kconfig"

source "drivers/net/dsa/mv88e6xxx/Kconfig"

source "drivers/net/dsa/sja1105/Kconfig"

config NET_DSA_QCA8K
	tristate "Qualcomm Atheros QCA8K Ethernet switch family support"
	depends on NET_DSA
+1 −0
Original line number Diff line number Diff line
@@ -18,3 +18,4 @@ obj-$(CONFIG_NET_DSA_VITESSE_VSC73XX) += vitesse-vsc73xx.o
obj-y				+= b53/
obj-y				+= microchip/
obj-y				+= mv88e6xxx/
obj-y				+= sja1105/
+16 −0
Original line number Diff line number Diff line
config NET_DSA_SJA1105
tristate "NXP SJA1105 Ethernet switch family support"
	depends on NET_DSA && SPI
	select PACKING
	select CRC32
	help
	  This is the driver for the NXP SJA1105 automotive Ethernet switch
	  family. These are 5-port devices and are managed over an SPI
	  interface. Probing is handled based on OF bindings and so is the
	  linkage to phylib. The driver supports the following revisions:
	    - SJA1105E (Gen. 1, No TT-Ethernet)
	    - SJA1105T (Gen. 1, TT-Ethernet)
	    - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
	    - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
	    - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
	    - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
+8 −0
Original line number Diff line number Diff line
obj-$(CONFIG_NET_DSA_SJA1105) += sja1105.o

sja1105-objs := \
    sja1105_spi.o \
    sja1105_main.o \
    sja1105_clocking.o \
    sja1105_static_config.o \
    sja1105_dynamic_config.o \
Loading