From patchwork Fri Jan 19 03:22:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 189382 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp770259dyb; Thu, 18 Jan 2024 19:25:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IEqX6JU1IsliuiW4aumVWu3oMc51joVagOvjEd4Bow4R193o0fR5DjROpEPrpvsrYQYGVuS X-Received: by 2002:a17:903:18d:b0:1d4:638f:4005 with SMTP id z13-20020a170903018d00b001d4638f4005mr2493180plg.12.1705634705976; Thu, 18 Jan 2024 19:25:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705634705; cv=pass; d=google.com; s=arc-20160816; b=aaViaIaksNia9dDgLn/yTBD5+6P2+vbkEUPWeayq38W1ud94oziz/Q4CjjzegLvuxI qozVkjHQtzIgNIsWI8kU6crHbJbzfHxJEAl87dcx3ZDrzzFZXQmz9bBn8E1xJwdlibXB eXa4atMM2DNEy0XVc91umMxh4E4dmmh8vPescxA+zG+BM7Y409NGog7StDFfrjGI/o+0 gLoaWULVJXFWbZRhC7/b6wIoGrdJzuL/IcDaT+Hu1ZQ6xIuFfxQ+xJ3tr8G0O4tNyQse 4UVOBvqA5tEH3fk+Qdni7W1OSJEZ78wDE4wJtmN5vvdjE/uyDMOI4FNB4sgaxzsxYONj mJ2Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Av+gBHAVBCYtkxPSapeWT7g1scyLontBw8QInJ94V0I=; fh=eSQnxfYZD66NgboVDB7L9mVH46SSiFzLE3y556oFJtg=; b=EVczMNJfpu6e2fUsAOSJ98U2eWzS6okv+xCz69DL/gnBOxRpIthgO3Eotnoyx5MTiY BOD16F8uNDeoQX2qhQeP4H6J7J2TM+oGhE72iGqwbnZUDgf/RmorixD1eE/4GvksjEqI qjSTRbc2i9FIFrgFn6PtkQj+L2icN4jNVTpq1SvtVWhdAeP2F9z3kipu9wfcCyzN3ey1 swS+WvafHzRrec3ykTht1qlGR/WQOAVLgpIfWQsDVQlGUY9kzeJpOhZO8io9jnEOWJLC l0OouKIS74BiKfvhbTMqtrVnGbIXr48MAw/R2WVBHbkRUFfacAubH39P4Kd5WFj+6Dga 0/pw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=D2M4ElFH; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-30728-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30728-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h3-20020a170902748300b001d71e1b8fbfsi525747pll.292.2024.01.18.19.25.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 19:25:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-30728-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=D2M4ElFH; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-30728-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-30728-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id B793B28492D for ; Fri, 19 Jan 2024 03:25:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CCBB6D529; Fri, 19 Jan 2024 03:23:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="D2M4ElFH" Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AFAE08F6C; Fri, 19 Jan 2024 03:23:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705634636; cv=none; b=dqAm5QIVIYBLOLvusQ1Tnr6mjGhhFMB++gYH5g765NXUtnWdIqooIcx4AB+pdzc/ODMRSVSPY5KRiM/9Ig2nBC1WsWr2j90Xiyg4l+PcBJmb4/TZMHJfZKMsXI4d09+gwbgEvZeN/ATKg6y2JvyfGBFZm6de1he3geOt0D60hig= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705634636; c=relaxed/simple; bh=FMwKrBZj7dLL39NjiQoQ6XngfNszI/oMysIVMBdZXmM=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ihVoCuSnPUl9mjGCrMUILtihVqkmawcDQbr17XgR+7MbYPTYUdCgQOge4elNJRgLaVkYlKAWpT33qXHpewd304FgRT4J+R27pig2aUB25EUtNCtoBNjINUWfgwR1ghnd5vAoTGo+QkN5DDc+cM/UKa/JP5aYM5oDkTmgfGsNt/M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=D2M4ElFH; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40J240Sw019778; Fri, 19 Jan 2024 03:23:43 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=Av+gBHAVBCYtkxPSapeW T7g1scyLontBw8QInJ94V0I=; b=D2M4ElFHgNibmSHKe0y2TqdvXJOVk4qXKJNl SptcMs1XfcJ6Zfj49oDZTkSY2DB7al1kv2PBXXMNYlf6I1XVaqKGdsKeOaixj3Zt sOyUcZXV/OczwAHu5N++bm8lc6eZUsQQ40OCtAp5fQOYNFEtWFeiWMb/TuNvcJ+f //02kDyl3NQZHuHpmhJzFPMEoRUCVR1D2e17YEY8tTOszt/P7HQ+2j4ogFo6J30B qdXLwfw4SFB5cnaAgYlm2quy4jUKSFItUgCOFWC8tcUp+ONLyBdvOc+M/lZV5Ykd K8DjbzrVR583+Ze6U6IvPaQRcCwUpi2QPhlbkgTCBbSMCAlDzA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vq266272f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jan 2024 03:23:43 +0000 (GMT) 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 40J3NfNB002998 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 Jan 2024 03:23:42 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; Thu, 18 Jan 2024 19:23:37 -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 v4 03/10] dt-bindings: arm: Add support for CMB element size Date: Fri, 19 Jan 2024 11:22:56 +0800 Message-ID: <1705634583-17631-4-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1705634583-17631-1-git-send-email-quic_taozha@quicinc.com> References: <1705634583-17631-1-git-send-email-quic_taozha@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: fKGYwNfrOXzNqJMIPq_sx-sBEGwR6bfu X-Proofpoint-GUID: fKGYwNfrOXzNqJMIPq_sx-sBEGwR6bfu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-18_12,2024-01-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 priorityscore=1501 lowpriorityscore=0 mlxlogscore=917 bulkscore=0 malwarescore=0 spamscore=0 clxscore=1015 mlxscore=0 phishscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401190012 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788487617836921110 X-GMAIL-MSGID: 1788487617836921110 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 | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml index 61ddc3b5b247..507a5f887097 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,22 @@ examples: }; }; + tpdm@6c29000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x06c29000 0x1000>; + + 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>; + }; + }; + }; + }; ...