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

Mao Jinlong quic_jinlmao at quicinc.com
Mon Jan 20 22:38:59 PST 2025


Use different compatible to distinguish between different remote
etms.

Signed-off-by: Mao Jinlong <quic_jinlmao at quicinc.com>
---
 .../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




More information about the linux-arm-kernel mailing list