From patchwork Tue Nov 21 02:24:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 167476 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp354519vqb; Mon, 20 Nov 2023 18:27:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtAUTFxGr9qVtw8e6QkYWOGCplUCid8qiM2KgADym6uWepbG2RWk4xhq8PTK6lmrnRtsUK X-Received: by 2002:a05:6358:91a0:b0:16b:631e:5021 with SMTP id j32-20020a05635891a000b0016b631e5021mr11208992rwa.7.1700533647835; Mon, 20 Nov 2023 18:27:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700533647; cv=none; d=google.com; s=arc-20160816; b=op+q+VWWZUv9SMOLEtJ1ci1EDpjL7QxyGezF2hg+4mP2qXpddtO+46AUizR93qdPP4 tG6wXLJs5k1DRf8mRs5+t4IDsVJwCiROQ2hceBFQZKPu8mYlAs+IaPBwBTHx9gcuCLAL AmtmBFRAIkTxSHdTCB5v6PfxYbNtUWUvIY704bU4e+8Ed/Hiu9OHQ/7liFqy/tlUhJFF EiEGPNweiQLc7mnpAKMwnbZRse08TeYMXGxs2hK4NWttWxBgrZI+teClnAfcj/O+Gd4S zPWCXAK6vMKPa4G+9+yuFCyEqjRNS7exeB9O2tFHzaEC8Kn4bhywr8WWo/HLLB9F9KpL ihuA== 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=39zYZVWHKjCqVtFqA560XQ5daKdnAU7exjkrbIy5ykA=; fh=eSQnxfYZD66NgboVDB7L9mVH46SSiFzLE3y556oFJtg=; b=blh4Ya5v384dg0LzQh461x4rxP8BKQVV6aB4oeuLW10L03KDbx7zhuEVKPk9R0Ocme q53ZeEEJSR5TMrySUPHTaFcDpHxubpgp3pueglo5VdIMmVF7xbn+yjKHNBvnP9SzmHko ZYURAgY6Eb3rjxJzaMOgIm976SwHl0QHqNZ9mzCVRwa7LfsGz6X9qbsI3GdXtJQXBvrb lY4GhKdkZXzXKKHLPVxqRvyFQ6+tklESq9Md93QG1xQxGahggVyUTpHDGNESo389XIeI 7fnGFF9/ijv/m1XxMoLGDWibvykixBrEyfSNFtnaSZY4XYRiZCMp3FuZ3GGq4nbyVF8b tA5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=U0ef+60g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id n186-20020a6327c3000000b005a0018ec785si9274517pgn.375.2023.11.20.18.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 18:27:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=U0ef+60g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 3EAD680B87DB; Mon, 20 Nov 2023 18:27:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233491AbjKUC0e (ORCPT + 27 others); Mon, 20 Nov 2023 21:26:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233311AbjKUC0Q (ORCPT ); Mon, 20 Nov 2023 21:26:16 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58C69AA; Mon, 20 Nov 2023 18:26:06 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AL1bLp9031829; Tue, 21 Nov 2023 02:25:56 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=39zYZVWHKjCqVtFqA560XQ5daKdnAU7exjkrbIy5ykA=; b=U0ef+60g86D9Fv0krlgifQOTAPbMnaMttgoqSFAZsJsSvRgPFsjGnGl7dpzb+4fxlc3l s6W+3GK9rVj/zOoWyOITzf9rOmi9cMbd25T/EC6FhipJG6QFIh+O3Tn1n+FEPJ/KUdTI JUsDYmzyAnNsuyn9p2K88/VTrZ3/HtBlVJ50x0tkPrBdpRHoWiXRiKxIqqSi2rnlwG4X LYhjOvgxFcfIyqHwLLkArohqRqgQY1+hjb77QLBuWgIv7LIOwtGnI7icyIbGK8GKvyWr XRSvmhAHl1hVqhT+08MPRt8PDhTgGJ16JI+hLYpfxT9bfkQjLMHIvh1FlsPScCSDog62 9g== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ug0ey2td0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 02:25:56 +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 3AL2PtEc009722 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 02:25:55 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; Mon, 20 Nov 2023 18:25:50 -0800 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 v3 7/8] dt-bindings: arm: Add support for TPDM CMB MSR register Date: Tue, 21 Nov 2023 10:24:53 +0800 Message-ID: <1700533494-19276-8-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1700533494-19276-1-git-send-email-quic_taozha@quicinc.com> References: <1700533494-19276-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: PqhtpifRjZnHa-kxbSLHxj7sMEaPNlDC X-Proofpoint-ORIG-GUID: PqhtpifRjZnHa-kxbSLHxj7sMEaPNlDC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-20_22,2023-11-20_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 adultscore=0 mlxlogscore=982 priorityscore=1501 bulkscore=0 lowpriorityscore=0 impostorscore=0 mlxscore=0 spamscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210015 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Mon, 20 Nov 2023 18:27:25 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783138769940261067 X-GMAIL-MSGID: 1783138769940261067 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 --- .../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 0d9fe01a8b15..e9e2d162a621 100644 --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml @@ -70,6 +70,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 @@ -125,6 +134,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";