dt-bindings: soc: qcom: Add documentation for coresight-remote-etm
Add documentatio for qdss component coresight-remote-etm. correct the format of qcom,coresight-csr.yaml. Change-Id: I024a7245997f51a02118d0abf8bd9932763772fb Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
cc46666579
commit
98a03249a6
@@ -46,9 +46,9 @@ properties:
|
||||
qcom,msr-support:
|
||||
type: boolean
|
||||
description:
|
||||
indicates that CSR supports configure msr config for tpdm.
|
||||
indicates that CSR supports configure msr config for tpdm.
|
||||
|
||||
qcom,set-byte-cntr-support:
|
||||
qcom,set-byte-cntr-support:
|
||||
type: boolean
|
||||
description:
|
||||
indicates CSR has the ability to operate on to "BYTECNT" register.
|
||||
|
58
bindings/soc/qcom/qcom,coresight-remote-etm.yaml
Normal file
58
bindings/soc/qcom/qcom,coresight-remote-etm.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: "http://devicetree.org/schemas/soc/qcom/qcom,coresight-remote-etm.yaml#"
|
||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||
|
||||
title: The document describes the device tree binding for coresight-remote-etm
|
||||
|
||||
maintainers:
|
||||
- Yuanfang Zhang <quic_yuanfang@quicinc.com>
|
||||
|
||||
description:
|
||||
This binding describes the coresight component responsible for controlling
|
||||
coresight remote etm, used to enable/disable remote etm.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
items:
|
||||
- const: qcom,coresight-csr
|
||||
|
||||
qcom,inst-id:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description:
|
||||
QMI instance id for remote ETMs.
|
||||
|
||||
out-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
port:
|
||||
description: Output connection from the ETM to CoreSight Trace bus.
|
||||
$ref: /schemas/graph.yaml#/properties/port
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- out-port
|
||||
- qcom,inst-id
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
remote_etm0 {
|
||||
compatible = "qcom,coresight-remote-etm";
|
||||
|
||||
qcom,inst-id = <5>;
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
remote_etm0_out_funnel_qdss: endpoint {
|
||||
remote-endpoint =
|
||||
<&funnel_qdss_in_remote_etm0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user