diff mbox series

[3/4] dt-bindings: arm: qcom,coresight-tpdm: Mark tpda input port number

Message ID 1711009927-17873-4-git-send-email-quic_taozha@quicinc.com (mailing list archive)
State New, archived
Headers show
Series Add support for multi-port output on the funnel | expand

Commit Message

Tao Zhang March 21, 2024, 8:32 a.m. UTC
Since the funnel supports multi-port output scenario, multiple
TPDMs may be connected to one TPDA. Add a new property
"qcom,tpda-input-port" to mark the input port number of the TPDA
in the device tree, TPDA driver can find out the right TPDM it needs
to search according to this new mark property.

Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
---
 .../devicetree/bindings/arm/qcom,coresight-tpdm.yaml      | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml
index 8eec07d9d454..383c0f5a658b 100644
--- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml
@@ -77,6 +77,12 @@  properties:
     minimum: 0
     maximum: 32
 
+  qcom,tpda-input-port:
+    description:
+      Specifies the number of the input port on the corresponding TPDA.
+    $ref: /schemas/types.yaml#/definitions/uint32
+    minimum: 0
+
   clocks:
     maxItems: 1
 
@@ -112,6 +118,7 @@  examples:
 
       qcom,dsb-element-bits = <32>;
       qcom,dsb-msrs-num = <16>;
+      qcom,tpda-input-port = <0>;
 
       clocks = <&aoss_qmp>;
       clock-names = "apb_pclk";
@@ -132,6 +139,7 @@  examples:
 
       qcom,cmb-element-bits = <64>;
       qcom,cmb-msrs-num = <32>;
+      qcom,tpda-input-port = <4>;
 
       clocks = <&aoss_qmp>;
       clock-names = "apb_pclk";