From patchwork Wed Mar 29 08:47:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mao Jinlong X-Patchwork-Id: 76463 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp265349vqo; Wed, 29 Mar 2023 01:56:21 -0700 (PDT) X-Google-Smtp-Source: AKy350Z//oBiYKuYkb0G3ZRAn3oB+UHqCBio4OrNb5WqHXn6HeYIzd1rIE66oPiuEcoRkc6jcMTS X-Received: by 2002:a05:6402:48e:b0:4ad:7056:23a5 with SMTP id k14-20020a056402048e00b004ad705623a5mr18311677edv.14.1680080181639; Wed, 29 Mar 2023 01:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680080181; cv=none; d=google.com; s=arc-20160816; b=kXyQU6gOdmG1GBEODgX9FBsIdJauU45kxjkMhP8qqXyL7PCTKvpAG8ZukMpR3VUxaM zlbhbtUvUtweZ4KILoLSBaHDLIpSLvG/ZRbZilOOsTUBQhbKry7zcAF11bL1C0FbLqbD JOpmD1pCjHu2qKli4Jscqv/eYxyNf4gdb8Of4bPOLlwbjgGa+mykUCrzdcq9xo1sTFgY BepTr0bMTS2n1+4VTOqkilwCVAmV4IduMJniJlDRXxyXkTarswLRwepe+2isHEl9ovlm 5aWSeaj8F6nyDwvlS7vKhA6B8zzfAGDWPtX1FARFBJhX1Kt9sm6jsEDlfx5HkGfvHFzs jvvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k9Zd+poeSAflCAm6BhMQn4MEZzgfoY/iIo3aPnSnmIs=; b=OZBxQZmb7QTZsyegNISOVNGNWeRSMMVoC/b0K9DbJ/4Ih6C+U8IR8QJcVf5MvHMy94 9IzZiXGDIcNIgIvx3JjfJqqvpaasoDZZZVsOnevDRoyvrZoMN7SUvuWhfb/EgI7wf4f3 vDC64rR3W8tkbVI/jXcIKRVV5yG3Lh0a7cNy7/bXWD7R1CgcIp5C84ODqDH2/UNoZHif iN6szYAb2DRlqhmIyLtpeacyj99e6sM+fiFSTae6VTvCDgXlwqM2TwIUtcrOWCO4T18o 9vkRKFySAMpQ0hk20dXxX0xixC42sj9U6ILGpHeGnIhhMtoktMaQF00X0rkCjicNE0yU uENw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="pVCB/fpB"; 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 h11-20020aa7c60b000000b005021f0d5769si13738295edq.688.2023.03.29.01.55.58; Wed, 29 Mar 2023 01:56:21 -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="pVCB/fpB"; 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 S231261AbjC2Isb (ORCPT + 99 others); Wed, 29 Mar 2023 04:48:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231194AbjC2IsW (ORCPT ); Wed, 29 Mar 2023 04:48:22 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 985C31721; Wed, 29 Mar 2023 01:48:21 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32T8XJud030690; Wed, 29 Mar 2023 08:47:59 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-transfer-encoding : content-type; s=qcppdkim1; bh=k9Zd+poeSAflCAm6BhMQn4MEZzgfoY/iIo3aPnSnmIs=; b=pVCB/fpBxCXIqJqhxmmZDwyeCUIE8UDx+VJSQ5512bpoyHMxxnRUDrKbHwJrwSUSVVfx uhzS7WQUiO+Ezlxpn7hSnONyuvrS/6roJCovs5jEubmh9rOaLa8EQz/zBFeXkf7SqhVM rXkQ1EP2+NFrZ0De2DIYbmJxG/tnQ15qwGBbsXP19Wb5larpXVVfeCW0DHyVngpG/f0f ikk8Abapg5GxX+O1VenxCpAE+XdASqsYp8HETmHyVSyu1HgE3JxZOrSBG/uxpvCANCrw Fm9cUs7WwLvoXgUYN3746fYe/C6dndKxdZadbUXFLIk31aUr2x+6pV0V4CfqKc8sh6HI 6A== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pmawsgw0w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Mar 2023 08:47:59 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 32T8lwTo009168 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Mar 2023 08:47:58 GMT Received: from hu-jinlmao-lv.qualcomm.com (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Wed, 29 Mar 2023 01:47:58 -0700 From: Mao Jinlong To: Alexander Shishkin , Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Suzuki K Poulose , Mike Leach , Leo Yan , Rob Herring , Krzysztof Kozlowski CC: Mao Jinlong , , , , , , Tingwei Zhang , Yuanfang Zhang , Tao Zhang , Hao Zhang Subject: [PATCH v1 6/8] dt-bindings: arm: Add support for TPDM CMB MSR register Date: Wed, 29 Mar 2023 01:47:42 -0700 Message-ID: <20230329084744.5705-7-quic_jinlmao@quicinc.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230329084744.5705-1-quic_jinlmao@quicinc.com> References: <20230329084744.5705-1-quic_jinlmao@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: y-wAyoBk0j0UeFbxH7lhCOezIDlnpzmA X-Proofpoint-ORIG-GUID: y-wAyoBk0j0UeFbxH7lhCOezIDlnpzmA X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-29_02,2023-03-28_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 priorityscore=1501 suspectscore=0 phishscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 mlxlogscore=970 malwarescore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303290071 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761691756222387692?= X-GMAIL-MSGID: =?utf-8?q?1761691756222387692?= 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: Mao Jinlong Acked-by: Krzysztof Kozlowski --- .../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 691c7ba365aa..283dfb39d46f 100644 --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml @@ -62,6 +62,15 @@ properties: minimum: 0 maximum: 32 + qcom,cmb-msr-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: 128 + clocks: maxItems: 1 @@ -97,6 +106,7 @@ examples: qcom,dsb-element-size = <32>; qcom,dsb_msr_num = <16>; + qcom,cmb-msr-num = <6>; clocks = <&aoss_qmp>; clock-names = "apb_pclk";