From patchwork Thu Apr 27 09:00:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 88153 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp130686vqo; Thu, 27 Apr 2023 02:03:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5LX8fIdRR9dbceenj2PDBhzvyrABnes1w3mkSdAh+nRtNvmyigzFiGriXLed38UwXibilv X-Received: by 2002:a05:6a21:3285:b0:ee:d1b5:146f with SMTP id yt5-20020a056a21328500b000eed1b5146fmr1114536pzb.34.1682586201678; Thu, 27 Apr 2023 02:03:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682586201; cv=none; d=google.com; s=arc-20160816; b=nnjgC8T8+VEg045dqajS1U9Y5mW3RDjkcxBYnL1sNX7ST1e/xnDyh74l05PTebDrLp dNIFhZw6acWKS7xHfR9e6L7oQ/9YYgP5vPE72xEAXJDrw+V4MOn+ycNP9RAma9rjXUHn QakcCk2OL5iCYOP1qUMy0QXRbVlQR5kxDSjHYZmIItjzKHJGY7j60geEkcNz71VzqA4I 0VwC4WQRki/Itb0LTgw7SiuV/Jd2UntgBAUPMnfZ5y7vQgRLqh5Cp2nYUTVAQZiRk5f6 2I1RfwCYNn/SUKwHZAy5qxvgxor+SzzTSUitEcxWywdtb0nOfaer3qxxuApjJifbO+d6 7NiQ== 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=Mbw4ujXJQVn/g1wJaXelxiBAs0h9aRc7qJmeAd1QW00=; b=CuzlBjt2okHXVlhT4VU5UYHoIPl84gcYtGwunKK01SNdTtKMaygGhzbKuCRZsNPA9K +cXFqFi0Z9s6WFeo7Y1AXbaQWQw5T5qoAt6M9KSuFEtsEqARXetXbWG0Kmk1qY3RXNQf DB5mCiSirKNUO8Z8P2PGQlMI3ZM+gPWIthf98CUEndIt/vurq7ccf/se7Seucn5QyZmb 4mYQMH2czIXQCh6cebH6RxGT0eFCDH1B5dbEZG7DU+5ypbdC78qmqMzTQG6aMzNzJ5JN JRq0c7Hs94ykcHlnaGNnpuboVJ1ds22wuY6XSr1CGRkDNbMgV5eW9Haou72R1x5n5zRy ZLvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oVPIsfIn; 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 t63-20020a638142000000b0052883b4cfd7si4288379pgd.177.2023.04.27.02.03.06; Thu, 27 Apr 2023 02:03: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=oVPIsfIn; 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 S242944AbjD0JBU (ORCPT + 99 others); Thu, 27 Apr 2023 05:01:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242688AbjD0JBS (ORCPT ); Thu, 27 Apr 2023 05:01:18 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34E04C39; Thu, 27 Apr 2023 02:01:17 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 33R8CcMC029625; Thu, 27 Apr 2023 09:01:02 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=Mbw4ujXJQVn/g1wJaXelxiBAs0h9aRc7qJmeAd1QW00=; b=oVPIsfInVub8qnxdyV6TzlqwyDLGT1fJnpjds3bzvQ+gclxb5Fyp86XIhJckBwpF88E3 bTkGqx0QNZnPNf1FB0pL4nZPfjIRSrsclKvoom/VDa7laNKunYR7UE264N9MCh4TomyD GgF0XG6uoyPUd9Umn0y4T8OKLkwpb1kuGAKaeYZ31PFy0meB9QVeQp7I9aZDf1l56341 5pG2j7rPD7d4ciRCVKn78B3CsVw0DftCL5rfYCAGSfGSG1wMsXxJZHnn3ONa3EvEZwYN URqkhbFkppx46KAtoXFagzxteCoQ3TBtHGyxWeAq8kFl8Psp5QUJ/y4bgLk0rlFxnSne yA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3q7hdjgm55-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Apr 2023 09:01:01 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 33R910Ix004768 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 27 Apr 2023 09:01:00 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; Thu, 27 Apr 2023 02:00:55 -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 v4 01/11] dt-bindings: arm: Add support for DSB element size Date: Thu, 27 Apr 2023 17:00:27 +0800 Message-ID: <1682586037-25973-2-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1682586037-25973-1-git-send-email-quic_taozha@quicinc.com> References: <1682586037-25973-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: K9QDk3JpyHzwZi0D18lJJT8RvekEtoHl X-Proofpoint-GUID: K9QDk3JpyHzwZi0D18lJJT8RvekEtoHl 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-04-27_06,2023-04-26_03,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 mlxscore=0 spamscore=0 adultscore=0 bulkscore=0 phishscore=0 priorityscore=1501 clxscore=1015 suspectscore=0 lowpriorityscore=0 mlxlogscore=847 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2304270078 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-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764319509121552058?= X-GMAIL-MSGID: =?utf-8?q?1764319509121552058?= 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..932c55b 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/uint32 + 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";