Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1728473rdb; Sat, 3 Feb 2024 21:34:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IHi86CD5u+R1iNQ1PasZj9VT3flvqAvT9RFV9xZksnRSjvzXqGifFe/3AMVn+ElXamLMpx6 X-Received: by 2002:aa7:84ce:0:b0:6e0:33f2:64cc with SMTP id x14-20020aa784ce000000b006e033f264ccmr1379011pfn.23.1707024862133; Sat, 03 Feb 2024 21:34:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707024862; cv=pass; d=google.com; s=arc-20160816; b=yIMoHsSF/7Tc0niOQqyY/sArOELYNjPeZQjEYeoNQPi5taad66I6fG6U/Xwmi7VpqV Oi+OV+SZlg66jUwuXlrFRQzU1YGlB4GjqBSGxsLBVrgpATvOJ1nk5CJErUthRVigAgv9 JX+jAwpXQ8WXSu2uDGBIwdcqHKy3B2DAmp/6tQecsxp5bbpIPt0ca9aWxhRHj0ckr13c HvS3RYuFndNs3+x/95Oe7IgQFlEqlIhKcXmbq4beGAMzRwN8tF8ouQicu+gKH8MuGPX2 b7pg2FimqAPmETumDCVE75zs9Eq6XEgVwculTysett5nOCWfIaARxg7ecNQvDDWqaHrA 8mWQ== 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=0Smu9OPbuIZJeQjZ3sBYnzjPuVxq+g/6HsHgM4EhnTk=; fh=RjsxcSdq6k3IkE7y6uXl6I0Z8MWBReTT5ZpcznCin/M=; b=OYC3zkbNYY3jVieNfDMfbf9EwmiAAEniYSn2RN/j86/rS/+LhRgNdo5lI42n1Kgp/A QlltQNujFdeR+vr60M1wzE3RAY4g0wPw57jspg2G4qIdwhL/7kqWxOChpT0cXG6fXDh+ Nsr8ZAVgeVzve4etz23zU7STpzfTX1F8TFPoHeVJw4nBSIH1MYW+YnGyXgOR5otneghI DrGZraUGe60o6u5/VVS1KNz1MDazAL7ACTqX/id9y6wsXELDNPrHecxVwvOdm5u/mFoa yeF8a6AHriEAcZ8duSuRehRi9FxvBgLr4nylDCqCLgMf0hKgg05883PL5gaPG4p/qrWj f8hQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=d+mGmkFy; 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-51440-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51440-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com X-Forwarded-Encrypted: i=1; AJvYcCX2hghGITY0u6dm+XuU6UiMkEQrjuSigH//f4KJuAenknEzMqi98j0GQLYDzAgaw8551Fs0fCNbNIa8NMsbne4PvFO1yuydulrdfIhicg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id g17-20020a631111000000b005ce097ce679si4127866pgl.741.2024.02.03.21.34.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Feb 2024 21:34:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51440-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=d+mGmkFy; 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-51440-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51440-linux.lists.archive=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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 791FBB2548C for ; Sun, 4 Feb 2024 05:32:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DCD52C13C; Sun, 4 Feb 2024 05:31:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="d+mGmkFy" 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 8F729BE5D; Sun, 4 Feb 2024 05:31:39 +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=1707024701; cv=none; b=rhOs1o376nbJsgshmKBJw9vyXtRG+2J4/KjcwPREUTmIkFYyYXoLbkoOrcVzdaIna3gUMCSc/j/Ax2bjD+ijrxMCHRxft1O9KYYMT5D1FKvaAshH1rCn3+S5EaK/YQC4TjxcSllxoYA9HwUt17JX68o7Z8gA+V1QPEYaPoW2nfQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707024701; c=relaxed/simple; bh=M+aWPuLCB+CFfRhAbs9PuOpoT5UnSdPTM1qXrm+Q10Q=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jhmrMzNDED4n1ttWPu5lnR27t2YUciltuYt+xRvsQbNu8ehvR4f1m5O6VMOTK6prz/KJjq2JRRTEGRbUsCkqcdUckOqG2wWCJX9reWojDE04f7b0ro4zUfjw3bFoZ0c+E1M1h7lPD2R4MUH3DYjxkKMDc1TMsWnhe0+GVgpm0fY= 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=d+mGmkFy; 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 4145VSCb024502; Sun, 4 Feb 2024 05:31:28 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=0Smu9OPbuIZJeQjZ3sBY nzjPuVxq+g/6HsHgM4EhnTk=; b=d+mGmkFyEonOXX2lG8Nq7lHM8/tFXL6W2lJb miZFHSHt7REOzHfxWnXP4kUvBI8LoVlP7oDQc+4bPS467Bk8fgMGXlPaII2vQsnH aLubUWItLmJOVNvvBxrxlmPwFS1Oh0pPMOfD6z2jkvcHdDTw/6Emw/qGHIudlGZS 8ZV0i0Tq9ujyiPc6Bzc9mLFCZiNrD4cOW8n/jQR/Oof74TfdGPl+t1dQif0s8sAa P+cxZ4q3rNPevSdq9vY/yQAIp9I2a4L6PAhcABuM6RbYlhkQTxChbeNkjDmVN9zY 1XgwxuTJ76KhS6LETUREO2+dRajRMn127EKaT6VdzZVj9R4JVQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3w1eyahb88-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 04 Feb 2024 05:31:28 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4145VRgu004248 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 4 Feb 2024 05:31:27 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; Sat, 3 Feb 2024 21:31:22 -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 v7 03/10] dt-bindings: arm: qcom,coresight-tpdm: Add support for CMB element size Date: Sun, 4 Feb 2024 13:30:34 +0800 Message-ID: <1707024641-22460-4-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1707024641-22460-1-git-send-email-quic_taozha@quicinc.com> References: <1707024641-22460-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 Content-Type: text/plain 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-GUID: u4ZMN6h1OSSdm0QZjvk9p1Dq39MIy6nX X-Proofpoint-ORIG-GUID: u4ZMN6h1OSSdm0QZjvk9p1Dq39MIy6nX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-04_02,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 bulkscore=0 phishscore=0 spamscore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 impostorscore=0 mlxlogscore=930 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401310000 definitions=main-2402040039 Add property "qcom,cmb-elem-bits" 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 8-bit, 32-bit and 64-bit. Because the existing example tpdm "tpdm@684c000" which only supports dsb sub-unit, I introduce a new example "tpdm@6c29000" to describe the usage of this new property. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Tao Zhang Signed-off-by: Mao Jinlong --- .../bindings/arm/qcom,coresight-tpdm.yaml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml index 61ddc3b5b247..2320b5445900 100644 --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml @@ -52,6 +52,14 @@ properties: $ref: /schemas/types.yaml#/definitions/uint8 enum: [32, 64] + qcom,cmb-element-bits: + 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. + enum: [8, 32, 64] + qcom,dsb-msrs-num: description: Specifies the number of DSB(Discrete Single Bit) MSR(mux select register) @@ -110,4 +118,21 @@ examples: }; }; + tpdm@6c29000 { + compatible = "qcom,coresight-tpdm", "arm,primecell"; + reg = <0x06c29000 0x1000>; + + qcom,cmb-element-bits = <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