All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tao Zhang <quic_taozha@quicinc.com>
To: Mathieu Poirier <mathieu.poirier@linaro.org>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Konrad Dybcio <konradybcio@gmail.com>,
	Mike Leach <mike.leach@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Tao Zhang <quic_taozha@quicinc.com>,
	Jinlong Mao <quic_jinlmao@quicinc.com>,
	Leo Yan <leo.yan@linaro.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	<coresight@lists.linaro.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	Tingwei Zhang <quic_tingweiz@quicinc.com>,
	Yuanfang Zhang <quic_yuanfang@quicinc.com>,
	Trilok Soni <quic_tsoni@quicinc.com>,
	Song Chai <quic_songchai@quicinc.com>,
	<linux-arm-msm@vger.kernel.org>, <andersson@kernel.org>
Subject: [PATCH 3/4] dt-bindings: arm: qcom,coresight-tpdm: Mark tpda input port number
Date: Thu, 21 Mar 2024 16:32:06 +0800	[thread overview]
Message-ID: <1711009927-17873-4-git-send-email-quic_taozha@quicinc.com> (raw)
In-Reply-To: <1711009927-17873-1-git-send-email-quic_taozha@quicinc.com>

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 --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


WARNING: multiple messages have this Message-ID (diff)
From: Tao Zhang <quic_taozha@quicinc.com>
To: Mathieu Poirier <mathieu.poirier@linaro.org>,
	Suzuki K Poulose <suzuki.poulose@arm.com>,
	Alexander Shishkin <alexander.shishkin@linux.intel.com>,
	Konrad Dybcio <konradybcio@gmail.com>,
	Mike Leach <mike.leach@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Tao Zhang <quic_taozha@quicinc.com>,
	Jinlong Mao <quic_jinlmao@quicinc.com>,
	Leo Yan <leo.yan@linaro.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	<coresight@lists.linaro.org>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
	Tingwei Zhang <quic_tingweiz@quicinc.com>,
	Yuanfang Zhang <quic_yuanfang@quicinc.com>,
	Trilok Soni <quic_tsoni@quicinc.com>,
	Song Chai <quic_songchai@quicinc.com>,
	<linux-arm-msm@vger.kernel.org>, <andersson@kernel.org>
Subject: [PATCH 3/4] dt-bindings: arm: qcom,coresight-tpdm: Mark tpda input port number
Date: Thu, 21 Mar 2024 16:32:06 +0800	[thread overview]
Message-ID: <1711009927-17873-4-git-send-email-quic_taozha@quicinc.com> (raw)
In-Reply-To: <1711009927-17873-1-git-send-email-quic_taozha@quicinc.com>

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 --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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2024-03-21  8:33 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-21  8:32 [PATCH 0/4] Add support for multi-port output on the funnel Tao Zhang
2024-03-21  8:32 ` Tao Zhang
2024-03-21  8:32 ` [PATCH 1/4] dt-bindings: arm: qcom,coresight-funnel: Add label for multi-ouput Tao Zhang
2024-03-21  8:32   ` Tao Zhang
2024-03-21 14:42   ` Rob Herring
2024-03-21 14:42     ` Rob Herring
2024-03-21 14:52     ` Suzuki K Poulose
2024-03-21 14:52       ` Suzuki K Poulose
2024-03-22  7:02     ` Tingwei Zhang
2024-03-22  7:02       ` Tingwei Zhang
2024-03-22  9:42       ` Suzuki K Poulose
2024-03-22  9:42         ` Suzuki K Poulose
2024-03-22 10:22         ` Tingwei Zhang
2024-03-22 10:22           ` Tingwei Zhang
2024-03-21  8:32 ` [PATCH 2/4] coresight: Add support for multiple output ports on the funnel Tao Zhang
2024-03-21  8:32   ` Tao Zhang
2024-03-21 16:41   ` Suzuki K Poulose
2024-03-21 16:41     ` Suzuki K Poulose
2024-03-29  9:27     ` Tao Zhang
2024-03-29  9:27       ` Tao Zhang
2024-04-08 13:28       ` Mike Leach
2024-04-08 13:28         ` Mike Leach
2024-04-09  7:13       ` Suzuki K Poulose
2024-04-09  7:13         ` Suzuki K Poulose
2024-04-09 13:22         ` Tao Zhang
2024-04-09 13:22           ` Tao Zhang
2024-04-15 13:24           ` Suzuki K Poulose
2024-04-15 13:24             ` Suzuki K Poulose
2024-04-16 14:19             ` Mike Leach
2024-04-16 14:19               ` Mike Leach
2024-04-17  9:21               ` Suzuki K Poulose
2024-04-17  9:21                 ` Suzuki K Poulose
2024-04-18  8:48                 ` Mike Leach
2024-04-18  8:48                   ` Mike Leach
2024-04-18  8:59                   ` Suzuki K Poulose
2024-04-18  8:59                     ` Suzuki K Poulose
2024-04-18  9:25                     ` Mike Leach
2024-04-18  9:25                       ` Mike Leach
2024-04-18 12:01                       ` Tingwei Zhang
2024-04-18 12:01                         ` Tingwei Zhang
2024-04-18 12:38                         ` Suzuki K Poulose
2024-04-18 12:38                           ` Suzuki K Poulose
2024-04-19  2:11                           ` Tingwei Zhang
2024-04-19  2:11                             ` Tingwei Zhang
2024-03-21  8:32 ` Tao Zhang [this message]
2024-03-21  8:32   ` [PATCH 3/4] dt-bindings: arm: qcom,coresight-tpdm: Mark tpda input port number Tao Zhang
2024-03-21  8:32 ` [PATCH 4/4] coresight-tpda: Add support multi-port input on TPDA Tao Zhang
2024-03-21  8:32   ` Tao Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1711009927-17873-4-git-send-email-quic_taozha@quicinc.com \
    --to=quic_taozha@quicinc.com \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=andersson@kernel.org \
    --cc=coresight@lists.linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=konradybcio@gmail.com \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=leo.yan@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=mike.leach@linaro.org \
    --cc=quic_jinlmao@quicinc.com \
    --cc=quic_songchai@quicinc.com \
    --cc=quic_tingweiz@quicinc.com \
    --cc=quic_tsoni@quicinc.com \
    --cc=quic_yuanfang@quicinc.com \
    --cc=robh+dt@kernel.org \
    --cc=suzuki.poulose@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.