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

From: Tao Zhang
Date: Thu Mar 21 2024 - 04:34:19 EST


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@xxxxxxxxxxx>
---
.../devicetree/bindings/arm/qcom,coresight-tpdm.yaml | 8 ++++++++
1 file changed, 8 insertions(+)

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";
--
2.17.1