From patchwork Mon Jun 12 07:07:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 106331 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2443200vqr; Mon, 12 Jun 2023 01:53:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5S2zVDPEVBhB98eZUEhXnEzXCGQAbNU3pp7An0WuHQFSTG9bXgbDTiSBQSTPeBzNDwk8W6 X-Received: by 2002:a17:902:7c17:b0:1b1:e002:703a with SMTP id x23-20020a1709027c1700b001b1e002703amr5763816pll.12.1686560038158; Mon, 12 Jun 2023 01:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686560038; cv=none; d=google.com; s=arc-20160816; b=xJgA9kxvrb8IcJIUBYYy8XyGhSzQVcMafviAQwrYyzWdLwptS8MtMM61G4qgzCQdXP GeXqFvgeZ885jQXlBPFDoDufsHXa/Nz1W3U1ZtL+HpMWkLvao1PxBnKFSv6vzg27lgSb 6eYf/tVkICVEC17m7xaZcifCtllcr4QDKvEVHoKkRF2dZd5w0e1AoKjRogF6ZdrVgMQW frtspAMQCxbe9IQUeRKP53tPAEQiuS53u6K9IRkG0AmxJAh4YMkR8LncAXzS2lmu8zkH sxz5W2qbUAy4mSP4tJ2/PdDzKtUPz9xbDeWtYH6dQgACX/fYLNqWoBXFKNef/zwx4622 oJGw== 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=DNaojRv5QWWakQ+RKLmR/fQmqSTeCpymyhCzyrB09P4=; b=qq7qgwrOUi1vSB51hiss/hrFMfdvZPNfmvy7hj55UUPt44+I0QYfMm+11gF5nNcCyZ 6HpDTIuRr0G9qGF0MkOjyElfpPO+hpjPYBAGBy5U+IrWAop6YueHqntWP+3D2wm8wcyY YNMU7bZuWpQiqifU/OlIU+DCwfTj40k4BrCmlGaLHuBtiYY+IcgphSuEbTDPSRya0czR d9qQm/PAmBXZXoEQvozMH8JnN8IaOduLaUF9Rl9ELQ1bgexcgRnb2J0S92CCIvRhXUB3 4jZpOZ5UiL70tod/+EstwwbL8GKeKxt8NAAj4WYcblANehozZa9PMyRdLvUmMvgKsCDg G+UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LYdYoPSX; 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 j7-20020a170903028700b001aaebc66877si6853951plr.147.2023.06.12.01.53.45; Mon, 12 Jun 2023 01:53:58 -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=LYdYoPSX; 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 S231271AbjFLI17 (ORCPT + 99 others); Mon, 12 Jun 2023 04:27:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231740AbjFLI1m (ORCPT ); Mon, 12 Jun 2023 04:27:42 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A92251BF6; Mon, 12 Jun 2023 01:27:06 -0700 (PDT) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 35C5PNaB032355; Mon, 12 Jun 2023 07:08:24 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=DNaojRv5QWWakQ+RKLmR/fQmqSTeCpymyhCzyrB09P4=; b=LYdYoPSX1WonLWfiGHsCpApEoHNpYI++6RTLCHKC1GLc7DLEBw5n1W9mYG9e86Nc59ZL l6UK1hClQORCi7AkQ2R6dQC4zAR6VrDl6Y8E6iauyK33u0iywWpMyswqigYTda3r+j8P vOEdd/3o73VjRA9Hp10ciCrKuL/pvSz4IREf7abjb9mcpAC/rVawr/c0RpT8T/Ryp3ck FjLQrxAB9tHiBhv0F2TSxMJgp9SW6VOHQq69zwob+bgdLq1BZ3u1DTpz3QWXgWk+xETM QkagItfv36hZ6KWXDNBEfG6EWJJj2FiPgl2UHiG6pCwlksZz3BtSdk7IP/0YIrsaDVQ0 2w== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3r4hxnthxb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Jun 2023 07:08:24 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 35C78NG0020306 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 12 Jun 2023 07:08:23 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.986.42; Mon, 12 Jun 2023 00:08:18 -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 v5 02/13] dt-bindings: arm: Add support for DSB element size Date: Mon, 12 Jun 2023 15:07:35 +0800 Message-ID: <1686553666-5811-3-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1686553666-5811-1-git-send-email-quic_taozha@quicinc.com> References: <1686553666-5811-1-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] 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: 1oPOn6TpjHriYajZbPGFe29FmoLb3I4_ X-Proofpoint-GUID: 1oPOn6TpjHriYajZbPGFe29FmoLb3I4_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-12_04,2023-06-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 adultscore=0 suspectscore=0 mlxscore=0 bulkscore=0 mlxlogscore=849 priorityscore=1501 spamscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2306120060 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768486378727952291?= X-GMAIL-MSGID: =?utf-8?q?1768486378727952291?= Add property "qcom,dsb-elem-size" to support DSB(Discrete Single Bit) element for TPDM. The associated aggregator will read this size before it is enabled. DSB element size currently only supports 32-bit and 64-bit. Signed-off-by: Tao Zhang --- 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 5c08342..931ee8f 100644 --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml @@ -44,6 +44,14 @@ properties: minItems: 1 maxItems: 2 + qcom,dsb-element-size: + description: + Specifies the DSB(Discrete Single Bit) element size supported by + the monitor. The associated aggregator will read this size before it + is enabled. DSB element size currently only supports 32-bit and 64-bit. + $ref: /schemas/types.yaml#/definitions/uint8 + enum: [32, 64] + clocks: maxItems: 1 @@ -77,6 +85,8 @@ examples: compatible = "qcom,coresight-tpdm", "arm,primecell"; reg = <0x0684c000 0x1000>; + qcom,dsb-element-size = /bits/ 8 <32>; + clocks = <&aoss_qmp>; clock-names = "apb_pclk";