u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Support the SJA1105 DSA switch on the NXP LS1021A-TSN board
@ 2021-09-27 23:48 Vladimir Oltean
  2021-09-27 23:48 ` [PATCH 1/9] net: tsec: add support for promiscuous mode Vladimir Oltean
                   ` (8 more replies)
  0 siblings, 9 replies; 25+ messages in thread
From: Vladimir Oltean @ 2021-09-27 23:48 UTC (permalink / raw)
  To: u-boot, Joe Hershberger, Ramon Fried, Priyanka Jain

The NXP LS1021A-TSN board (and many others) contains an automotive
Ethernet switch. Some boards only have Ethernet ports routed through the
switch, and it is therefore desirable to have TFTP functional.

These patches add support for the SJA1105 and SJA1110 switch family
(tested on first-gen SJA1105T, second-gen SJA1105S, but not on third-gen
SJA1110A yet, the support for that is blind). Along the way, fixes and
improvements to the DSA framework are also made.

I have not added documentation for the device tree bindings, the driver
is compatible with the device tree bindings from Linux, for which a
YAML schema-based validator exists.

Vladimir Oltean (9):
  net: tsec: add support for promiscuous mode
  include: import if_vlan.h from Linux
  net: dsa: allow drivers to get the port OF node
  net: introduce a helper to determine whether to use in-band autoneg
  net: dsa: felix: configure the in-band autoneg property based on OF
    node info
  net: add driver for NXP SJA1105 DSA L2 switch
  arm: dts: ls1021a-tsn: add sja1105 and eth2 bindings
  configs: ls1021a-tsn: enable sja1105 switch driver
  configs: ls1021a-tsn: enable the generation of random Ethernet MAC
    addresses

 arch/arm/dts/ls1021a-tsn.dts            |  103 +
 configs/ls1021atsn_qspi_defconfig       |    3 +
 configs/ls1021atsn_sdcard_defconfig     |    3 +
 drivers/core/of_extra.c                 |   12 +
 drivers/net/Kconfig                     |   16 +
 drivers/net/Makefile                    |    1 +
 drivers/net/mscc_eswitch/felix_switch.c |   10 +-
 drivers/net/sja1105.c                   | 3351 +++++++++++++++++++++++
 drivers/net/tsec.c                      |   20 +-
 include/dm/of_extra.h                   |   14 +
 include/linux/if_vlan.h                 |   26 +
 include/net/dsa.h                       |   12 +
 include/tsec.h                          |    2 +
 net/dsa-uclass.c                        |   20 +
 14 files changed, 3583 insertions(+), 10 deletions(-)
 create mode 100644 drivers/net/sja1105.c
 create mode 100644 include/linux/if_vlan.h

-- 
2.25.1


^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2021-09-29 12:22 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27 23:48 [PATCH 0/9] Support the SJA1105 DSA switch on the NXP LS1021A-TSN board Vladimir Oltean
2021-09-27 23:48 ` [PATCH 1/9] net: tsec: add support for promiscuous mode Vladimir Oltean
2021-09-28 13:34   ` Ramon Fried
2021-09-29  2:32   ` Bin Meng
2021-09-27 23:48 ` [PATCH 2/9] include: import if_vlan.h from Linux Vladimir Oltean
2021-09-28 13:26   ` Ramon Fried
2021-09-29  2:32   ` Bin Meng
2021-09-27 23:48 ` [PATCH 3/9] net: dsa: allow drivers to get the port OF node Vladimir Oltean
2021-09-28 13:34   ` Ramon Fried
2021-09-27 23:48 ` [PATCH 4/9] net: introduce a helper to determine whether to use in-band autoneg Vladimir Oltean
2021-09-28 13:34   ` Ramon Fried
2021-09-29  2:32   ` Bin Meng
2021-09-27 23:48 ` [PATCH 5/9] net: dsa: felix: configure the in-band autoneg property based on OF node info Vladimir Oltean
2021-09-28 13:34   ` Ramon Fried
2021-09-29 12:21     ` Vladimir Oltean
2021-09-27 23:48 ` [PATCH 6/9] net: add driver for NXP SJA1105 DSA L2 switch Vladimir Oltean
2021-09-28 13:35   ` Ramon Fried
2021-09-27 23:48 ` [PATCH 7/9] arm: dts: ls1021a-tsn: add sja1105 and eth2 bindings Vladimir Oltean
2021-09-28 13:26   ` Ramon Fried
2021-09-27 23:48 ` [PATCH 8/9] configs: ls1021a-tsn: enable sja1105 switch driver Vladimir Oltean
2021-09-28 13:26   ` Ramon Fried
2021-09-29  2:33   ` Bin Meng
2021-09-27 23:48 ` [PATCH 9/9] configs: ls1021a-tsn: enable the generation of random Ethernet MAC addresses Vladimir Oltean
2021-09-28 13:26   ` Ramon Fried
2021-09-29  2:33   ` Bin Meng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).