From patchwork Wed Oct 25 02:53:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 157795 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp2332831vqx; Tue, 24 Oct 2023 19:55:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHS6gaErOnukaaDko53L/RXxF6LjhxW4sQFq9CuArKgY2AkHZc5kyuNLdAIFCqJuEo03k+S X-Received: by 2002:a81:6c58:0:b0:5a7:f933:c8c4 with SMTP id h85-20020a816c58000000b005a7f933c8c4mr14924196ywc.14.1698202519932; Tue, 24 Oct 2023 19:55:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698202519; cv=none; d=google.com; s=arc-20160816; b=gKhwGMicKiyk/ibIL62iK3E+6cDmzZigfNq7hAe0VJ+ZDWT8z2dhzgNac5POqNHmHb FwNbjqcritkKCRW8BRUtcXcpYlIackect/o+9Cfp2wqUIw7DjFu9GnYeGoxcJuCyOO1k VJrRJaz2RZrFYCpysZ/U2JP9cHvuvteZd8PDSjdpMjhrgyWQ1zFYwqUM3Ssro/mUAiWP I+F7NmYpIs1umOEcikigVLOFqYU1HLBfQ0tijP5qY2giSUf481K7dfq9buvhUKozp6Q8 ZpOxCyHEwRm+JGyUQn1RvEtIT63+eQ17E5zWPjmbGQUghyrlLVKk2TfVRZLviakFJQ3N 3cig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=IKHIJLBh9Ch6ihg0j6nl0l1ZmPGrHAD4IKp9OburBdk=; fh=eSQnxfYZD66NgboVDB7L9mVH46SSiFzLE3y556oFJtg=; b=Qu1Ms2S+rjcg2GuusVHQCngGxe64unKGm/5fIebyDfxFuB0rkOavn+oPyp4coJUBtM VVQqsbGx5Hv5vvkEfNizPCNPK1kg7/CWBDsFRU8thsLS3AloVIlttYVSOux5hut8sbIw Z0l2m+BjVVhPC1OIR54wREUy7KTQMSi2yVweog6gF+3qB4Pe1SHpZsAXs1qiqH6kN8Km K8PdQnGROKOozAU9bhtcn6hxWWZRt8cFyZ9aamQ4AdsaxeYEzR+DZElnNLQHKMuToa/+ //nIMsjcEBmQrNFWJpPYIen9NkRXTu1se075At3z7G1KPA+SWkgr5YQgGIzydLlHloH8 tHFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Db9JNKMx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id l1-20020a819401000000b0059f80804433si11439893ywg.290.2023.10.24.19.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 19:55:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Db9JNKMx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 6702A80A139C; Tue, 24 Oct 2023 19:55:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232396AbjJYCzF (ORCPT + 26 others); Tue, 24 Oct 2023 22:55:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232462AbjJYCyv (ORCPT ); Tue, 24 Oct 2023 22:54:51 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5871D198A; Tue, 24 Oct 2023 19:54:37 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39P20Qhd020524; Wed, 25 Oct 2023 02:54:26 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=IKHIJLBh9Ch6ihg0j6nl0l1ZmPGrHAD4IKp9OburBdk=; b=Db9JNKMxxVdXXV2p/r9mYGTII0YPpiaNQIkEpQhSN7fTgw+gnoQBZapgFzrInnUxYZqe KqBuDmcJeyRRvSZZryF8pWhJ1NZxXIjLJ1PRrCbrTwzuyOAg3t8laRiwAnbFgduyqJer FLj63bBD+Lss3pRHVK8UjRK/3JqENeqw2hoplrvx5E2O1dfoFmgvR4teOl7i2A7vaGBy q6xluBNxpz3aNH77pFLDC9S7IzyTanaGZu3hg3a9y0pxpYkLLzRKgz4N8q5Hz7evKbMP gyZRCiQoJr//xZAerbreMO0lI4DppPbVAq03sudshHlZfbfBJpTfNqRuJGDY7coouKFx xw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tx7r82kwe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 02:54:26 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39P2sPrq008424 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Oct 2023 02:54:25 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.39; Tue, 24 Oct 2023 19:54:20 -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 v2 7/8] dt-bindings: arm: Add support for TPDM CMB MSR register Date: Wed, 25 Oct 2023 10:53:27 +0800 Message-ID: <1698202408-14608-8-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1698202408-14608-1-git-send-email-quic_taozha@quicinc.com> References: <1698202408-14608-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-ORIG-GUID: jX3GRJPJyatdnb7gryemcCLhnhNkaF_m X-Proofpoint-GUID: jX3GRJPJyatdnb7gryemcCLhnhNkaF_m X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-25_01,2023-10-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 adultscore=0 mlxlogscore=908 lowpriorityscore=0 bulkscore=0 phishscore=0 spamscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310250023 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 24 Oct 2023 19:55:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780694405489602766 X-GMAIL-MSGID: 1780694405489602766 Add property "qcom,cmb_msr_num" to support CMB MSR(mux select register) for TPDM. It specifies the number of CMB MSR registers supported by the TDPM. Signed-off-by: Tao Zhang Signed-off-by: Mao Jinlong --- Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml index f9a2025..a586b80a 100644 --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml @@ -69,6 +69,15 @@ properties: minimum: 0 maximum: 32 + qcom,cmb-msrs-num: + description: + Specifies the number of CMB MSR(mux select register) registers supported + by the monitor. If this property is not configured or set to 0, it means + this TPDM doesn't support CMB MSR. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 32 + clocks: maxItems: 1 @@ -124,6 +133,7 @@ examples: reg-names = "tpdm-base"; qcom,cmb-element-size = /bits/ 8 <64>; + qcom,cmb-msrs-num = <32>; clocks = <&aoss_qmp>; clock-names = "apb_pclk";