[PATCH v2 0/5] coresight: Add Coresight Trace NOC driver

Yuanfang Zhang
2025-02-26T13:25:11Z

The Trace NoC is an integration hierarchy which is a replacement of
Dragonlink configuration. It brings together debug component like TPDA,
funnel and interconnect Trace Noc which collects trace from subsystems
and transfers to QDSS sink.

Compared to DL, it has the following advantages:
1. Reduce wires between subsystems.
2. Continue cleaning the infrastructure.
3. Reduce Data overhead by transporting raw data from source to target.

+--------------+ +-------------+
| SDCC5 TPDM | | SDCC5 TPDM |
+--------------+ +-------------+
| |
| |
+----------|-------------------+ |
| v | |
| +----v----+ Dragon Link | v
| |DLNT TPDA| North | +----------------------+
| +---------+ | | TRACE NOC AG |
| | | | |
| v-------------+ | +----------------------+
| | | |
| +------v-----+ | |
| | DLNT Funnel| | |
| +------------+ | |
| | | |
+-------------------|----------+ |
<-----+ |
| |
| |
v v
+----------------+ +---------------+
| QDSS | | QDSS |
+----------------+ +---------------+

Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
---
---
Changes in v2:
1. Modified the format of DT binging file.
2. Fix compile warnings.
- Link to v1: https://lore.kernel.org/r/20250221-trace-noc-driver-v1-0-0a23fc643217@quicinc.com

---
Yuanfang Zhang (5):
dt-bindings: arm: Add Coresight device Trace NOC definition
coresight: add coresight Trace NOC driver
coresight-tnoc: add nodes to configure flush
coresight-tnoc: add node to configure flag type
coresight-tnoc: add nodes to configure freq packet

.../bindings/arm/qcom,coresight-tnoc.yaml | 116 ++++++
drivers/hwtracing/coresight/Kconfig | 13 +
drivers/hwtracing/coresight/Makefile | 1 +
drivers/hwtracing/coresight/coresight-tnoc.c | 400 +++++++++++++++++++++
drivers/hwtracing/coresight/coresight-tnoc.h | 57 +++
5 files changed, 587 insertions(+)
---
base-commit: 92514ef226f511f2ca1fb1b8752966097518edc0
change-id: 20250212-trace-noc-driver-9e75d78114fa

Best regards,
--
Yuanfang Zhang <quic_yuanfang@quicinc.com>