diff mbox series

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

Message ID 20250121063900.3211-2-quic_jinlmao@quicinc.com
State New
Headers show
Series coresight: Add remote etm support | expand

Commit Message

Mao Jinlong Jan. 21, 2025, 6:38 a.m. UTC
Use different compatible to distinguish between different remote
etms.

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

Patch

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 {