From patchwork Thu Mar 21 08:32:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 13598504 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A06FFCD11DB for ; Thu, 21 Mar 2024 08:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nZ+splTrVC0ISp5hFtbiy4B/TDGHP02JISwy6sdUNDk=; b=k9Q//tre3hjaJY Xe4omc8FdT+gMns83Q2O+fp/Snh5Aq++cZuHJJ6ZZGe+jU2geRdKMUoBPDWn89dWm8EznY8IfyOXT o53oAAcXQueCJYxxrQstvlLwJvxtCvVy2uYFHwJwiq9kSspY4bUsfAdPz95fe7xDd36iNdUjqy4hF GbJCpZ4oNksnJoIX8HwhKgk4bUPbE+qQZfw1knrD4RIc1lwc/93i+q+AuYNR+kiyjbj5fIZNSNTgo o4REQfjv6eUe6hucIfAPEGmOgNh+I6TapDTe7tWxvl/mKij9DhKUvOts1dzfp3LGQPoDov6Apsa17 82DwdsF+0njJFP/ovjdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnDrB-00000002KTG-1WrS; Thu, 21 Mar 2024 08:33:01 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rnDr5-00000002KPR-1Zpi for linux-arm-kernel@lists.infradead.org; Thu, 21 Mar 2024 08:32:57 +0000 Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42L5Lhot011536; Thu, 21 Mar 2024 08:32:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=qcppdkim1; bh=IKReU8ZLc37dMn5ztIry Pct1th7et2e4I2ZtfjUG6Ig=; b=BBp4o6MxEK0TcDUAt6EG/7Gffa8g1Caj4gsD ZQsPyLWdYO2tEwbXgL6Chx4adsi2mEW/0W0xQSn6yU9tl3L7dyfUi3o9zeTc5+vn 5wMl97aIGy1hnTMB8RCzxudw5Zdu18IOOKlMKEziGxp2KIoUCD67aDO6jCHJ9QOP lbjkkQruccImkrQrewUYMuWUfBKfPWd1lQF1oGi13A+2FKuhuhIbTJwtvVuQy7Md YJSngOEmCf2TJKV4yazw0ljTuRFYqaDJ5tboPwTGEYgdL/NgNpar8UB1i9BJIDRW ZixV0ZmHbfHympu/KGG7U/meL2k4ecc4DH3naFj5VU8/GOLxVA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x01bra3jf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Mar 2024 08:32:46 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42L8Wje6009538 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Mar 2024 08:32:45 GMT Received: from taozha-gv.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 21 Mar 2024 01:32:40 -0700 From: Tao Zhang To: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski CC: Tao Zhang , Jinlong Mao , Leo Yan , Greg Kroah-Hartman , , , , , Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Song Chai , , Subject: [PATCH 3/4] dt-bindings: arm: qcom,coresight-tpdm: Mark tpda input port number Date: Thu, 21 Mar 2024 16:32:06 +0800 Message-ID: <1711009927-17873-4-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1711009927-17873-1-git-send-email-quic_taozha@quicinc.com> References: <1711009927-17873-1-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: TSXCQrsOm2P-A_BUd1bbHqhR0wWGS3-_ X-Proofpoint-ORIG-GUID: TSXCQrsOm2P-A_BUd1bbHqhR0wWGS3-_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-21_05,2024-03-18_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 priorityscore=1501 phishscore=0 suspectscore=0 malwarescore=0 clxscore=1015 mlxlogscore=999 lowpriorityscore=0 bulkscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403140001 definitions=main-2403210057 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240321_013255_590199_F3D74656 X-CRM114-Status: GOOD ( 14.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 --- .../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";