From patchwork Thu Sep 14 05:43:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tao Zhang X-Patchwork-Id: 139423 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp184330vqi; Thu, 14 Sep 2023 01:02:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG4Frt8YTsRmS6sFDwdkDli+ul8YXXWfi/YzI/4vM/mAmCl577qTDtUut/xAuYUqJabmf+n X-Received: by 2002:a17:902:daca:b0:1be:f2a1:22d8 with SMTP id q10-20020a170902daca00b001bef2a122d8mr5924819plx.14.1694678520688; Thu, 14 Sep 2023 01:02:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694678520; cv=none; d=google.com; s=arc-20160816; b=L/VvqwQEN+V2O/sXZhOnGIJs3HGnNKOH/zTp+mHzcGXbMInZGzRQy1NYUGgReEgPoQ uy0cGmiqXBojNbd7cHgd4cYTZJeNoJRKDhK7qP6UTKnlPdeCZ9BMODNAM4opZI6hyuQY GEPu6V+NOmuuDtS4gaMZ0I643y43VhRzKwUfs/WRpQ3l+Bv1eqIRefL99ujmVdpMK0oK NTi4Jh24fFC7WiUtXGezGR2oh3Ln4rAs/06TjhRMeyzq0clRw7xwfY9HBw9r74W7Z/Qj yhiWB3NVeJ74Od/W/Ab1RdEfg1MOVJD6BC6kJ/fneTfuEVzBoPzbx+OrR254hHCLMrUk Eiig== 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=LlAzyCW48+S6G9t/dH+9Nk5T2cl5MJH961f4ZMT79H0=; fh=n/cywDBrV54XLbQm/aXN5C7dSeQ+T0voxuinVQDvrSM=; b=aMMVSLjtSB9ssMAdgY3MvvUMfyxCqxFqkj/ZMrTLBpYu6I5WZU8cHXybQtPPnDhPYu 2CwIjFI2H3gvfJEPjEC4/9rsX62jj0Xt061TeCO+tRLaOCSCfmXT+2gNrG1y3h1TVDEa idJ3GaqilszAN8mhWghIFn9x5/aX2YLBf9gNISaHUXZDIVC5Bsbd+6S9ymeEZDv6pF4u wFNCopDUCqBf9ViIR+b54tn7+P5OWx44Vqy5XspwWsECKdlBe5IO/wKuEvt6eT1z1mOj 5RLnlN7HRCZqgltOakV1HyzhELIsEyyO7uacgEijAsd9AxauKpcpj5piQOv3C/Q9VnmV zWaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iTzGYGpY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id n6-20020a170903110600b001bbf293f45esi1213694plh.625.2023.09.14.01.02.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 01:02:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=iTzGYGpY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 89940807CC83; Wed, 13 Sep 2023 22:45:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235099AbjINFpK (ORCPT + 35 others); Thu, 14 Sep 2023 01:45:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235301AbjINFox (ORCPT ); Thu, 14 Sep 2023 01:44:53 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61C631BF1; Wed, 13 Sep 2023 22:44:40 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38E4mVEh003427; Thu, 14 Sep 2023 05:44:13 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=LlAzyCW48+S6G9t/dH+9Nk5T2cl5MJH961f4ZMT79H0=; b=iTzGYGpYtvYFcEY1+MlA1AkVrGvGzHlWlu59kNDmb2rdctxaGemxbKoO/klHw6s21C69 2qEhMf3E9Twvjr7W8mqn0dJQX2fPVTrwcsN2lflIeK0f6c/FJGq+3oer5vMAtk1Ag94J QmFwncGDJr3bODU8H8f8AxcShngn/Af4Knt92tDGS4rgzVZNpGzK4JZNJCiqr8wMLjHe aIsGSRmcpXSK0e+n3cmqx98yv+ehyMGaT4AZVSoIC4TPQCLfq1LTAQZDWGoT1Z23yD5K XVvny6feNwS7b35FH4332NL70T7IgWvf/atRtaud2UMCyvTU5lAbcnemb1J8/fmVICHx sg== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t3ds422yd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 05:44:13 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 38E5i132009796 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Sep 2023 05:44:01 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.30; Wed, 13 Sep 2023 22:43:56 -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 v9 02/13] dt-bindings: arm: Add support for DSB element size Date: Thu, 14 Sep 2023 13:43:13 +0800 Message-ID: <1694670204-11515-3-git-send-email-quic_taozha@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1694670204-11515-1-git-send-email-quic_taozha@quicinc.com> References: <1694670204-11515-1-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 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-ORIG-GUID: rLbFkGY6XvvMlIJXZSZTC3hFkEcgwZKl X-Proofpoint-GUID: rLbFkGY6XvvMlIJXZSZTC3hFkEcgwZKl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-14_03,2023-09-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=903 spamscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 adultscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 clxscore=1015 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2308100000 definitions=main-2309140050 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 (morse.vger.email [0.0.0.0]); Wed, 13 Sep 2023 22:45:40 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776999224141162817 X-GMAIL-MSGID: 1776999224141162817 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 Acked-by: Rob Herring --- 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 3bad47b..e19fc37 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";