Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp107908rdf; Mon, 20 Nov 2023 18:25:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHCTqNhb2aMIpzIauD8dmUl5+n+IOycuceVLAYnyqc2X+bk3ABwBPHaqMMXPJGgSLpv+EtD X-Received: by 2002:a9d:5e11:0:b0:6d4:80e7:7884 with SMTP id d17-20020a9d5e11000000b006d480e77884mr9505167oti.1.1700533556199; Mon, 20 Nov 2023 18:25:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700533556; cv=none; d=google.com; s=arc-20160816; b=jS+8KSXBdWgLgseWZwvedUgSVJlC4dMaYCRzXn7gr4j4RcSjj52VGYHcJG7JG6Cgqp ZKxR6onPpX8KX3scxVo4WAIO5gvytN+PgEB4EMO9OnQBWmyi23fx7dDjZvVmBYbtqdKN RsZqhMDP+YIKXtkh2fmYILm5cnHE96i7+CiTNO5bl+Dl0+IJ00dm0Vvc60mX7fi5S6kW cS+7m7lZ+dLy8yAlNf0hAfgQmfEaXSpQjep12QO1PH5EzfcygHH7IKZPhCVveHhXCyJG EhnfGs0mourBuFZs+eG8BIsdzTpK77AWACEsD3HFpHn9znFdm1AdC6S7UJ8UmlCPkEVj mQDw== 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=KXHnq1zygstzXA4UPv3zVwIq7cSwIbUhPNRtSjCcP2I=; fh=eSQnxfYZD66NgboVDB7L9mVH46SSiFzLE3y556oFJtg=; b=j+KDVKiAlXAuDe2drKWDx7FjWHjb06LUuKLn6yeHuF9vG7BXPbsTWJRRZTXUVsa4cH jTdTE3j9ak7ZDOtNPrOrcje9e9eg+Mqt1QYXr/yTZNhsvMQeTPCAK4dXo+CJjG7Q3nEO dEJFRki2zKJcRHCJ9L+oBUw77pPG2u9lwAaHn0t6zPJ8hUQ5FEKWr3kQobdhJ/xl1ztp WR1wbW9YquGwOrUtBDPe4MEZzEJjhWQQi/uOfMUMXx1ImSif5ulXPgnFqWpwDeslnWW7 DQnIhU2paqS3Mdfm/vYU5hHRcI2lbCA/oh7us6PaCBEIbX5q/fnbzboRjG1xRIw6EZqW FeCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=h118xkqb; 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 Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id q192-20020a632ac9000000b005be0073639fsi8474317pgq.165.2023.11.20.18.25.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 18:25:56 -0800 (PST) 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=h118xkqb; 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 D65ED80D7E4A; Mon, 20 Nov 2023 18:25:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233060AbjKUCZw (ORCPT + 99 others); Mon, 20 Nov 2023 21:25:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233168AbjKUCZr (ORCPT ); Mon, 20 Nov 2023 21:25:47 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73C649C; Mon, 20 Nov 2023 18:25:43 -0800 (PST) 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 3AL20lPM026928; Tue, 21 Nov 2023 02:25:25 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=KXHnq1zygstzXA4UPv3zVwIq7cSwIbUhPNRtSjCcP2I=; b=h118xkqbdvwFjQSXnYmthtL1yBvey23CUyFi11/JFA5sfozWeBKbAmpKIotysdA/C0cj UN2eyOarT4+Zvc0pVSNXV9CFH3VZltqvUmUKssXTAnCboRI6C3TDVwSFuLB+RrhH1iBI aQiTNVT4okCPb9rk1Kb5u3oO7NYk86WQK3gbvrhLA1HBfMWHNg/G+0L3KXazGBAy8vlT /AcTfyIbT2GixwQKhPzNoCkstdmlrAiBb3Tlk1PruK8dC+MiLSN+CinoAl+6vKopionk C5FCA2oE7TGs8OeWy5YOpHnIo4QX/ljVFxhsZhUl7W1YQgWBjk6W5C3MxROsImZcS91o xA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3ugk6x0244-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 02:25:25 +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 3AL2PNJ5008010 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 21 Nov 2023 02:25:24 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:19 -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 1/8] dt-bindings: arm: Add support for CMB element size Date: Tue, 21 Nov 2023 10:24:47 +0800 Message-ID: <1700533494-19276-2-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 Content-Type: text/plain 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: Ob0bhh0m1RULO3Ws6mvCSaQxmTlKJ4uA X-Proofpoint-ORIG-GUID: Ob0bhh0m1RULO3Ws6mvCSaQxmTlKJ4uA 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 suspectscore=0 mlxscore=0 impostorscore=0 spamscore=0 clxscore=1015 adultscore=0 malwarescore=0 bulkscore=0 phishscore=0 priorityscore=1501 mlxlogscore=881 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311210015 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 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 18:25:55 -0800 (PST) Add property "qcom,cmb-elem-size" to support CMB(Continuous Multi-Bit) element for TPDM. The associated aggregator will read this size before it is enabled. CMB element size currently only supports 32-bit and 64-bit. Signed-off-by: Tao Zhang Signed-off-by: Mao Jinlong --- .../bindings/arm/qcom,coresight-tpdm.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml index 61ddc3b5b247..0d9fe01a8b15 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,cmb-element-size: + description: + Specifies the CMB(Continuous Multi-Bit) element size supported by + the monitor. The associated aggregator will read this size before it + is enabled. CMB element size currently only supports 8-bit, 32-bit + and 64-bit. + $ref: /schemas/types.yaml#/definitions/uint8 + enum: [8, 32, 64] + qcom,dsb-msrs-num: description: Specifies the number of DSB(Discrete Single Bit) MSR(mux select register) @@ -110,4 +119,23 @@ examples: }; }; + tpdm@6c29000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x06c29000 0x1000>; + reg-names = "tpdm-base"; + + qcom,cmb-element-size = /bits/ 8 <64>; + + clocks = <&aoss_qmp>; + clock-names = "apb_pclk"; + + out-ports { + port { + tpdm_ipcc_out_funnel_center: endpoint { + remote-endpoint = + <&funnel_center_in_tpdm_ipcc>; + }; + }; + }; + }; ... -- 2.17.1