From patchwork Tue Jul 25 07:15:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 125403 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp2315845vqg; Tue, 25 Jul 2023 01:15:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlFUlWAa3lOyl6vgkP9q4iierMM9ZjJA9UvFgSC5c3IQaVvnyTAUZdFYBUYqgjYtWY8ajM5N X-Received: by 2002:ae9:f407:0:b0:767:21b7:86e7 with SMTP id y7-20020ae9f407000000b0076721b786e7mr2008112qkl.73.1690272926591; Tue, 25 Jul 2023 01:15:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690272926; cv=none; d=google.com; s=arc-20160816; b=Dq8Ut+sjASGiMwA1LdjXCVWT90ypAArdwVizU6G8PboOkNfKDU68WKxvWA7OA3EuWD 1oPZJY9+572HrgQ7tA7PQspEI/LPGSxhKHTDol6rSmQG66N3JcsFCQX62nnNOzrPgAzc ZAgQF6QsppMCL15VXIksA1IVZFlu5GTxqPq/JZezd/JUjoXKJn3Eb8cvnaO/B1peNL80 dmDnYLXlCqsZdoTuBlqSJzc1G1kATw0xxjD70fwfUb6AIwhu4xLpIcwcQRx+Aj9GkQ8X EUDfdq39w8xMjgp8tigBzdB/N0IY0g9p1g0nx44BHlIX+TdcrhOHVnuLSTu7W488VWc8 hmQQ== 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=EwDQ8V1o8aMoce5+y4ZLTI9J03Z8DIY0p5SfAX3XBG4=; fh=hXfhjPaP7YtK8cx1pDaeyea4542GzczmcrIiOSp/HFc=; b=Tbt8dFtndjWMoX+vVcWUXQ9payiYLGEk7fF3WrlUMF0PMY1Zt9s2Hl9YwaB7NX5/Us AWJ96PAtyo3sMRzkDEj8LaqbFr2SM9k2TfkkfGcsgOYQ4JmjwH9PNZe/yQRMvuFcZEK6 q6aVajLd98ZCy//9VXjW+47CEVGnRLfAwJXj9TLq0FXGP4lYLAjHfRVBUJh4/nRpsKaE HrPt9FOvRWzJ9GucAGjCvTn2/+NMR5vqJ5MU2yNUG2D9P2XpZ6+lbXGbRS0z5LaMBEO6 lr50HUdtNJcdJ9tq+RBLNdGaKG8b4kJjATNI8KiD4L0tvb2uyGEeQuXuow2PxrTQPTS/ pNnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eCWRpju6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a17090abf0300b00263f45720besi10795416pjs.169.2023.07.25.01.15.12; Tue, 25 Jul 2023 01:15:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eCWRpju6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232545AbjGYHTg (ORCPT + 99 others); Tue, 25 Jul 2023 03:19:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232298AbjGYHSu (ORCPT ); Tue, 25 Jul 2023 03:18:50 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 848FA30D0; Tue, 25 Jul 2023 00:17:26 -0700 (PDT) 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 36P5wtlU017895; Tue, 25 Jul 2023 07:17:16 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=EwDQ8V1o8aMoce5+y4ZLTI9J03Z8DIY0p5SfAX3XBG4=; b=eCWRpju63n0+RHyiJCNtMd7P26SQgbS8XHA77ikzxUFj8uktZxap2DOLrV1TQ6GsCbYZ mGNA8tCW2IV2Or2QwQVw9UJXplzkuZ+hOBjmuU9LEzb5lbjsb3w6IQj0okqlma0iX/le iDGJmwFJGp470H/kTRb7L6RG5PWP73EWDBvukAZFMy9pT+6uUXa1F8js1tnz1D7epdz1 ZwgFW31TPvULAi1u+fN5xypo9gJtCykekflTGatgLHKzRSC0EJsJqKT8rl/72QAnIQQj p8mpzyGfaTgw1YmjO5amt7O1JZmBCWb1F/3rnO/esrCxZ+t4/S3BVv8DyUA5Xn7ramfj JA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s1qa3t899-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Jul 2023 07:17:16 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36P7HFQc030650 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 25 Jul 2023 07:17:15 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.30; Tue, 25 Jul 2023 00:17:10 -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 , Hao Zhang , , Subject: [PATCH v7 12/13] dt-bindings: arm: Add support for DSB MSR register Date: Tue, 25 Jul 2023 15:15:52 +0800 Message-ID: <1690269353-10829-13-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1690269353-10829-1-git-send-email-quic_taozha@quicinc.com> References: <1690269353-10829-1-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: qbofF1ueMR2PLFMd_7PXOaDIEkEhs99F X-Proofpoint-GUID: qbofF1ueMR2PLFMd_7PXOaDIEkEhs99F X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-25_02,2023-07-24_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 phishscore=0 malwarescore=0 suspectscore=0 clxscore=1015 mlxlogscore=884 priorityscore=1501 mlxscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307250064 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772379624271401762 X-GMAIL-MSGID: 1772379624271401762 Add property "qcom,dsb-msrs-num" to support DSB(Discrete Single Bit) MSR(mux select register) for TPDM. It specifies the number of MSR registers supported by the DSB TDPM. Signed-off-by: Tao Zhang Acked-by: Rob Herring --- 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 931ee8f..d1d66bc 100644 --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml @@ -52,6 +52,15 @@ properties: $ref: /schemas/types.yaml#/definitions/uint8 enum: [32, 64] + qcom,dsb-msrs-num: + description: + Specifies the number of DSB(Discrete Single Bit) MSR(mux select register) + registers supported by the monitor. If this property is not configured + or set to 0, it means this DSB TPDM doesn't support MSR. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 32 + clocks: maxItems: 1 @@ -86,6 +95,7 @@ examples: reg = <0x0684c000 0x1000>; qcom,dsb-element-size = /bits/ 8 <32>; + qcom,dsb-msrs-num = <16>; clocks = <&aoss_qmp>; clock-names = "apb_pclk";