xref: /linux/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml (revision db4a3f0fbedb0398f77b9047e8b8bb2b49f355bb)
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  label:
24    description:
25      Description of a coresight device.
26
27  out-ports:
28    $ref: /schemas/graph.yaml#/properties/ports
29    additionalProperties: false
30
31    properties:
32      port:
33        description: Output connection to the CoreSight Trace bus.
34        $ref: /schemas/graph.yaml#/properties/port
35
36required:
37  - compatible
38  - out-ports
39
40additionalProperties: false
41
42examples:
43  - |
44    etm {
45        compatible = "qcom,coresight-remote-etm";
46
47        out-ports {
48            port {
49                modem_etm0_out_funnel_modem: endpoint {
50                    remote-endpoint = <&funnel_modem_in_modem_etm0>;
51                };
52            };
53        };
54    };
55...
56