xref: /linux/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml (revision eed4edda910fe34dfae8c6bfbcf57f4593a54295)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/qcom,coresight-remote-etm.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Coresight Remote ETM(Embedded Trace Macrocell)
8
9maintainers:
10  - Jinlong Mao <quic_jinlmao@quicinc.com>
11  - Tao Zhang <quic_taozha@quicinc.com>
12
13description:
14  Support for ETM trace collection on remote processor using coresight
15  framework. Enabling this will allow turning on ETM tracing on remote
16  processor like modem processor via sysfs and collecting the trace
17  via coresight TMC sinks.
18
19properties:
20  compatible:
21    const: qcom,coresight-remote-etm
22
23  out-ports:
24    $ref: /schemas/graph.yaml#/properties/ports
25    additionalProperties: false
26
27    properties:
28      port:
29        description: Output connection to the CoreSight Trace bus.
30        $ref: /schemas/graph.yaml#/properties/port
31
32required:
33  - compatible
34  - out-ports
35
36additionalProperties: false
37
38examples:
39  - |
40    etm {
41        compatible = "qcom,coresight-remote-etm";
42
43        out-ports {
44            port {
45                modem_etm0_out_funnel_modem: endpoint {
46                    remote-endpoint = <&funnel_modem_in_modem_etm0>;
47                };
48            };
49        };
50    };
51...
52