Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <krzysztof.kozlowski@linaro.org>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Link: https://lore.kernel.org/r/20231210072633.4243-2-quic_jinlmao@quicinc.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Mao Jinlong and committed by
Rob Herring
76156d06 30e0bbf5

+51
+51
Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
··· 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 <quic_jinlmao@quicinc.com> 11 + - Tao Zhang <quic_taozha@quicinc.com> 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 + ...