From patchwork Thu Sep 28 06:29:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 146051 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3250303vqu; Thu, 28 Sep 2023 04:52:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHJBHMRqSwMK+0GqmuI4ZYptGep/itSqY2VY4rftoyOuiUGLaeeqj4xIlNbauDrDnfPDIG+ X-Received: by 2002:a25:1883:0:b0:d12:1094:2036 with SMTP id 125-20020a251883000000b00d1210942036mr776699yby.43.1695901956084; Thu, 28 Sep 2023 04:52:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695901956; cv=none; d=google.com; s=arc-20160816; b=j+rGe84Mz7ignYzlxRG9D7YSTVNhEwHi05dta0S2plcJiRXeMwm2N2WtZrAYD2NbTM PlCxuxCyG7Ebs9QvxoDO75G5ld/d54Ret8T1+D42owHi+kt5Ppp7IYr4F54WhJDosaxU gYT2MHPsN0UfNK3KJky7229BDH6atrWk6kF5eFPZY3cmDIo1Kmsq8seV/eStCanBj9M+ GxefmCt2vi6bbhncLibD7wnX+e4gm1xKQrKpjNTUEqqar4E3M/+A2mAtmdocquobYNVg 0A2hXHhNOGkb4/gNvsEpAOLNorNfsxVaIQF8Eomfs7PL+AUNC3FfQ7eY/mmz/8Z4UKue FVvA== 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=yr57Z8Lt65LNChFRZ6ii4hN2zlaitONsKB6vOtEwQs8=; fh=n/cywDBrV54XLbQm/aXN5C7dSeQ+T0voxuinVQDvrSM=; b=PmjsVEwiLachY8aVnvRwhJTpy/fDqfXJse8Y4Qkofe58/X0W2QTmfjQ3FB+kWACP5k VuQtw673Z4mlkg9t8ee1Nm+atcy7EBtcVPNQoemxCxUW+nhPHp5ISPT078zkp0Gqx7Ch gbJ+6FjOPRSPbE4MZcsw94DdkeGf6VHF/4qaQegiyMgTO0N9Ea4hHT2DgRmzwhWV7BtD wX2IVpMPZXZqKrgXnNQb++hUNYPnsFG+BuqdZ+4oldF88Q9UJQtHCRxVHIL0t/h7ZAdN unJyrdRYCe2jhQhLZIv37MLRPKC+Y4m1ZWojULWmP/ELuM3LkardlR+kJmqqBf7TpR20 27HA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ngP6fFwR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id k31-20020a634b5f000000b0056536fc7901si18165347pgl.593.2023.09.28.04.52.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 04:52:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ngP6fFwR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id C4511819E145; Wed, 27 Sep 2023 23:32:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231165AbjI1GcT (ORCPT + 20 others); Thu, 28 Sep 2023 02:32:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231391AbjI1Gbk (ORCPT ); Thu, 28 Sep 2023 02:31:40 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69383172D; Wed, 27 Sep 2023 23:31:25 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38S5Emi0029381; Thu, 28 Sep 2023 06:31:15 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=yr57Z8Lt65LNChFRZ6ii4hN2zlaitONsKB6vOtEwQs8=; b=ngP6fFwROgZSdzR6VD78R/ptUUjnzwdHPeQ3PCWVivU0G1UYeVElRYbFMs10LdVjY912 tlIUvwzXaGVofURZh+vd5HVosPADs2qakBB+fC9pAEZ561kBoWT1PnGKAPWoNSqjpBXh BrmvvsTQfx2GUGSz/0ZE0la2oQmZeK29Ln6Fxd1zHaR6ejwDc12S7HVr50cot33UxX/q +Ep6NLj8nbxSTytByH3Pbp8Ksfd++x+zSVtbyBtyjuVmthD8ore4AE8oeUtd1cRgErXb ZyRO4Ej4ByvCEzDGdh73FF7/nEEYLUy2TAX4hjSjv8BQKv4epzwDaNpn+RhFwIjF3o8+ EQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tcvg98w08-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Sep 2023 06:31:14 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38S6VDGe013666 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 28 Sep 2023 06:31:13 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; Wed, 27 Sep 2023 23:31:08 -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 v10 12/13] dt-bindings: arm: Add support for DSB MSR register Date: Thu, 28 Sep 2023 14:29:45 +0800 Message-ID: <1695882586-10306-13-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1695882586-10306-1-git-send-email-quic_taozha@quicinc.com> References: <1695882586-10306-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: OxJDovaQiqCS01xWlcQHC9aChz8V3-ob X-Proofpoint-GUID: OxJDovaQiqCS01xWlcQHC9aChz8V3-ob X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-28_03,2023-09-27_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 impostorscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 suspectscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309280053 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 autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 27 Sep 2023 23:32:36 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778282089334068938 X-GMAIL-MSGID: 1778282089334068938 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 --- .../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 e19fc375d494..61ddc3b5b247 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";