dt-bindings: add dt-binding for qcom coresight qmi and uetm
Add devicetree bindings for qcom coresight qmi and uetm. Change-Id: I35a08db4398dd63dfbd9867a502995cb7e90b8f5 Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
This commit is contained in:
47
bindings/soc/qcom/qcom,coresight-qmi.yaml
Normal file
47
bindings/soc/qcom/qcom,coresight-qmi.yaml
Normal file
@@ -0,0 +1,47 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: "http://devicetree.org/schemas/soc/qcom/qcom,coresight-qmi.yaml#"
|
||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||
|
||||
title: The document describes the device tree binding for coresight-qmi
|
||||
|
||||
maintainers:
|
||||
- Yuanfang Zhang <quic_yuanfang@quicinc.com>
|
||||
|
||||
description:
|
||||
This binding describes the coresight component responsible for enabling remote
|
||||
ETM, assigning etr, assigning ATID for subsystem.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
items:
|
||||
- const: qcom,coresight-qmi
|
||||
|
||||
qcom,inst-id:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description:
|
||||
QMI instance id for subsystem.
|
||||
|
||||
in-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
port:
|
||||
description: Inport connection from CoreSight Trace bus.
|
||||
$ref: /schemas/graph.yaml#/properties/port
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- qcom,inst-id
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
turing-qmi {
|
||||
compatible = "qcom,coresight-qmi";
|
||||
|
||||
qcom,inst-id = <13>;
|
||||
};
|
49
bindings/soc/qcom/qcom,coresight-uetm.yaml
Normal file
49
bindings/soc/qcom/qcom,coresight-uetm.yaml
Normal file
@@ -0,0 +1,49 @@
|
||||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: "http://devicetree.org/schemas/soc/qcom/qcom,coresight-uetm.yaml#"
|
||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||
|
||||
title: The document describes the device tree binding for coresight-uetm
|
||||
|
||||
maintainers:
|
||||
- Yuanfang Zhang <quic_yuanfang@quicinc.com>
|
||||
|
||||
description:
|
||||
This binding describes the coresight component responsible for controlling
|
||||
coresight uetm trace, used to enable/disable uetm.
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
items:
|
||||
- const: qcom,coresight-uetm
|
||||
|
||||
out-ports:
|
||||
$ref: /schemas/graph.yaml#/properties/ports
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
port:
|
||||
description: Output connection from the UETM to CoreSight Trace bus.
|
||||
$ref: /schemas/graph.yaml#/properties/port
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- out-port
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
uetm0 {
|
||||
compatible = "qcom,coresight-uetm";
|
||||
|
||||
out-ports {
|
||||
port {
|
||||
uetm0_out_funnel_qdss: endpoint {
|
||||
remote-endpoint =
|
||||
<&funnel_qdss_in_uetm0>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user