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