Skip to content

RFC Hirschmann Hellcreek DSA driver

Kurt Kanzenbach linux-devicetree netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest9 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9net: dsa: Add tag handling for Hirschmann Hellcreek switchesinclude/net/dsa.h net/dsa/Kconfig net/dsa/Makefile +1 more+110 -01 reply
2/9net: dsa: Add DSA driver for Hirschmann Hellcreek switchesdrivers/net/dsa/Kconfig drivers/net/dsa/Makefile drivers/net/dsa/hirschmann/Kconfig +3 more+1429 -02 replies
3/9net: dsa: hellcreek: Add PTP clock supportdrivers/net/dsa/hirschmann/Makefile drivers/net/dsa/hirschmann/hellcreek.c drivers/net/dsa/hirschmann/hellcreek.h +2 more+430 -18 replies
4/9net: dsa: hellcreek: Add support for hardware timestampingdrivers/net/dsa/hirschmann/Makefile drivers/net/dsa/hirschmann/hellcreek.c drivers/net/dsa/hirschmann/hellcreek.h +4 more+629 -140 replies
5/9net: dsa: hellcreek: Add TAPRIO offloading supportdrivers/net/dsa/hirschmann/hellcreek.c drivers/net/dsa/hirschmann/hellcreek.h+311 -00 replies
6/9net: dsa: hellcreek: Add debugging mechanismsdrivers/net/dsa/hirschmann/hellcreek.c drivers/net/dsa/hirschmann/hellcreek.h+205 -38 replies
7/9net: dsa: hellcreek: Add PTP status LEDsdrivers/net/dsa/hirschmann/hellcreek.h drivers/net/dsa/hirschmann/hellcreek_ptp.c drivers/net/dsa/hirschmann/hellcreek_ptp.h+77 -03 replies
8/9dt-bindings: Add vendor prefix for HirschmannDocumentation/devicetree/bindings/vendor-prefixes.yaml+2 -00 replies
9/9dt-bindings: net: dsa: Add documentation for Hellcreek switchesDocumentation/devicetree/bindings/net/dsa/hellcreek.txt+72 -010 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/9] Hirschmann Hellcreek DSA driver

Hi,

this series adds a DSA driver for the Hirschmann Hellcreek TSN switch IP. Characteristics of that IP:

* Full duplex Ethernet interface at 100/1000 Mbps on three ports
* IEEE 802.1Q-compliant Ethernet Switch
* IEEE 802.1Qbv Time-Aware scheduling support
* IEEE 1588 and IEEE 802.1AS support

That IP is used e.g. in

https://www.arrow.com/en/campaigns/arrow-kairos

Due to the hardware setup the switch driver is implemented using DSA. A special tagging protocol is leveraged. Furthermore, this driver supports PTP, hardware timestamping and TAPRIO offloading.

This work is part of the AccessTSN project: https://www.accesstsn.com/

If there are any objections let me know.

Thanks,
Kurt

Kamil Alkhouri (2):
net: dsa: hellcreek: Add PTP clock support
net: dsa: hellcreek: Add support for hardware timestamping

Kurt Kanzenbach (7):
net: dsa: Add tag handling for Hirschmann Hellcreek switches
net: dsa: Add DSA driver for Hirschmann Hellcreek switches
net: dsa: hellcreek: Add TAPRIO offloading support
net: dsa: hellcreek: Add debugging mechanisms
net: dsa: hellcreek: Add PTP status LEDs
dt-bindings: Add vendor prefix for Hirschmann
dt-bindings: net: dsa: Add documentation for Hellcreek switches

 .../devicetree/bindings/net/dsa/hellcreek.txt |   72 +
 .../devicetree/bindings/vendor-prefixes.yaml  |    2 +
 drivers/net/dsa/Kconfig                       |    2 +
 drivers/net/dsa/Makefile                      |    1 +
 drivers/net/dsa/hirschmann/Kconfig            |    7 +
 drivers/net/dsa/hirschmann/Makefile           |    5 +
 drivers/net/dsa/hirschmann/hellcreek.c        | 1751 +++++++++++++++++
 drivers/net/dsa/hirschmann/hellcreek.h        |  302 +++
 .../net/dsa/hirschmann/hellcreek_hwtstamp.c   |  492 +++++
 .../net/dsa/hirschmann/hellcreek_hwtstamp.h   |   58 +
 drivers/net/dsa/hirschmann/hellcreek_ptp.c    |  369 ++++
 drivers/net/dsa/hirschmann/hellcreek_ptp.h    |   76 +
 include/net/dsa.h                             |    2 +
 net/dsa/Kconfig                               |    6 +
 net/dsa/Makefile                              |    1 +
 net/dsa/tag_hellcreek.c                       |  101 +
 16 files changed, 3247 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/dsa/hellcreek.txt
 create mode 100644 drivers/net/dsa/hirschmann/Kconfig
 create mode 100644 drivers/net/dsa/hirschmann/Makefile
 create mode 100644 drivers/net/dsa/hirschmann/hellcreek.c
 create mode 100644 drivers/net/dsa/hirschmann/hellcreek.h
 create mode 100644 drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
 create mode 100644 drivers/net/dsa/hirschmann/hellcreek_hwtstamp.h
 create mode 100644 drivers/net/dsa/hirschmann/hellcreek_ptp.c
 create mode 100644 drivers/net/dsa/hirschmann/hellcreek_ptp.h
 create mode 100644 net/dsa/tag_hellcreek.c
Signature · 1 line
2.20.1