Skip to content

Commit 76156d0

Browse files
Mao Jinlongrobherring
authored andcommitted
dt-bindings: arm: Add remote etm dt-binding
Remote ETM(Embedded Trace Macrocell) is to capture information of the executed processor instructions of remote processors like modem. Add new coresight-remote-etm.yaml file describing the bindings required to define coresight remote etm in the device trees. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Mao Jinlong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent 30e0bbf commit 76156d0

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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+
7+
title: Qualcomm Coresight Remote ETM(Embedded Trace Macrocell)
8+
9+
maintainers:
10+
- Jinlong Mao <[email protected]>
11+
- Tao Zhang <[email protected]>
12+
13+
description:
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+
19+
properties:
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+
32+
required:
33+
- compatible
34+
- out-ports
35+
36+
additionalProperties: false
37+
38+
examples:
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+
...

0 commit comments

Comments
 (0)