From patchwork Thu Sep 14 05:43:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 139720 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp505614vqi; Thu, 14 Sep 2023 10:23:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFk3TngkteeSiCMNhwjnMJD2ede7SsO+IuEYFXBUXwgdAnmNMPmnOUWOtlqiYGIC+6BahKF X-Received: by 2002:a05:6a20:a111:b0:135:38b5:7e58 with SMTP id q17-20020a056a20a11100b0013538b57e58mr6739112pzk.37.1694712205257; Thu, 14 Sep 2023 10:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694712205; cv=none; d=google.com; s=arc-20160816; b=rPL3nz6x+lms9FopjDCkg4xBZVd+nL7y+MAXBbpCnNnXRETOBjLn45E8Xfv/HTtkDR UxgrEqxfygC8RUCcARucGTNYKlbHrF3NOD8btYA01NAyiev5hEcumBp3i7R6AoY4cqR8 yWYy7V9fGmqRW4nbe7B65i75g1uJH6oLCif79+L5VWujQA/aQWfH6MH+HWuhwa4ifajQ rsCMIM+3ZPWSKXvRfWil92iKFmSmfKT3xoTZzRiZRQm5GQIsksBntNEEqBKf3Wx7No3m xSsdSbITXZxa/4KY6iUc/Wqa41SfWbk016XELrn2NIsJ1KWUycP6cUnpn89sEKHC0NGm pWWQ== 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=zatr9eyBfu+iAKci/CbVbpSYU7hLJBnl+GnY0PGYQDE=; fh=n/cywDBrV54XLbQm/aXN5C7dSeQ+T0voxuinVQDvrSM=; b=PbPCTiWrXwKKSxELkY2FOkMO2YvuzvBefmD2mcfWKtBJHXs20Z4gfi0qbSyxKW6XnA czfqZ97JKiMJHIEzy9Y8ZK7yuf4dEDtmPrX4RR1hpsFRRmvviE5U5YJhKo9ucM0OW61g xQ08P5oZQqZtteb4nBSmum217gnCm2rJCX7t2a+FeMHO4PERX7a/KCsDFtkP8qPN5jgR 0+Fc2WJa+NEAdKHkf64ISL+Bprud8063vPJ4vjjgO3RHcB7JWz/R1J/0GKnO/wKI4QgV Eo4D+zZUc1uyS6FV+FxvG8VYROpNO4kqWMQu3gI7IHMq32LhqmnLvCWllRNzK12Xx2Kd e0/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=C+zlzkYA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x15-20020a63170f000000b0057745b2d018si1749868pgl.390.2023.09.14.10.23.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 10:23:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=C+zlzkYA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 0A6E780781D8; Wed, 13 Sep 2023 22:45:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235073AbjINFpu (ORCPT + 35 others); Thu, 14 Sep 2023 01:45:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235113AbjINFp2 (ORCPT ); Thu, 14 Sep 2023 01:45:28 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE66CE69; Wed, 13 Sep 2023 22:45:10 -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 38E4eaLk019716; Thu, 14 Sep 2023 05:44:54 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=zatr9eyBfu+iAKci/CbVbpSYU7hLJBnl+GnY0PGYQDE=; b=C+zlzkYAbih95BbGto9pHyDVTPJbGZEeDZUDljUeP58fUfBSejAokGZ/WeXngq3YTHHz kGyVMVUUeITvReVUlObP2vKAJm7yFb0C9G9OrgnDKPdyzcfTbpwESZMDbPMZb1VY1D/r GmSTAo+BQG5VIZA9SeP46KBof806Ye73v3mrrWpofiO+PdYNX0E2lORyOQ2ssuG71Vl/ +t4NzypVAWYHlwdyiZWVCTMHW7bACJaI4I/ISjMDwJCsMLiM2J3w92ytkFktMUTyCu1M e6akuMn5lQcEbPfUNEN5wHswulpDC6F4jLGixBpSNP1ITJimK6rW6x81Sv8s1pHPXun6 Kg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t3ds4232e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 05:44:53 +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 38E5ir9Z014388 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 05:44:53 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, 13 Sep 2023 22:44:48 -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 v9 12/13] dt-bindings: arm: Add support for DSB MSR register Date: Thu, 14 Sep 2023 13:43:23 +0800 Message-ID: <1694670204-11515-13-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1694670204-11515-1-git-send-email-quic_taozha@quicinc.com> References: <1694670204-11515-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: 4If_EEra5kH6AIOj9wK3RVSfFDdPZbcB X-Proofpoint-GUID: 4If_EEra5kH6AIOj9wK3RVSfFDdPZbcB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-14_03,2023-09-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=929 spamscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 adultscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309140050 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 (snail.vger.email [0.0.0.0]); Wed, 13 Sep 2023 22:45:53 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777034544875638569 X-GMAIL-MSGID: 1777034544875638569 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 e19fc37..61ddc3b 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";