[PATCH v4 1/2] dt-bindings: arm: Update compatible for remote etm

From: Mao Jinlong
Date: Tue Jan 21 2025 - 01:39:51 EST


Use different compatible to distinguish between different remote
etms.

Signed-off-by: Mao Jinlong <quic_jinlmao@xxxxxxxxxxx>
---
.../bindings/arm/qcom,coresight-remote-etm.yaml | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
index 4fd5752978cd..199f2ca4b8a9 100644
--- a/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom,coresight-remote-etm.yaml
@@ -18,7 +18,14 @@ description:

properties:
compatible:
- const: qcom,coresight-remote-etm
+ contains:
+ enum:
+ - qcom,coresight-modem-etm
+ - qcom,coresight-wcn-etm
+ - qcom,coresight-adsp-etm
+ - qcom,coresight-sensor-etm
+ - qcom,coresight-modem2-etm
+ - qcom,coresight-cdsp-etm

out-ports:
$ref: /schemas/graph.yaml#/properties/ports
@@ -38,7 +45,7 @@ additionalProperties: false
examples:
- |
etm {
- compatible = "qcom,coresight-remote-etm";
+ compatible = "qcom,coresight-modem-etm";

out-ports {
port {
--
2.17.1