Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp766025rwl; Fri, 24 Mar 2023 01:26:56 -0700 (PDT) X-Google-Smtp-Source: AKy350YgBHwpDNj2+XaHjuB6ka2H20cHzINRBPactuegOrMAxyilOgRcSoN5XF3AVJkNlMGq+a0I X-Received: by 2002:a17:902:c950:b0:19e:b9f8:1fca with SMTP id i16-20020a170902c95000b0019eb9f81fcamr2499028pla.10.1679646416070; Fri, 24 Mar 2023 01:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679646416; cv=none; d=google.com; s=arc-20160816; b=JVLMhvzS9FjfGdPeBd2sd8SJ0tYYGomAlSEYTkdvQ5W3auvCacYkYRi/FXdpSJa8re Qa5x+a/9iCAbkTLMvLFeD6fOYMCLbalpq9BWpJJRmMsxHti4RCXu14ShiuiKYnBxzKdh pTMC6l/lLyKk2bG+Kyw8jwuyPQ4XsrH8W82xc+t7qxqFPjcuQuXF9Prxy1VBFo78zZXH lvuyNXFfqbbBSTAojpSlbf5mfXVlMTHVroPW4rEVzBRwEIBTVW4uQOgSdWEY8kKDF2B2 phn7Y2M8MuEjkcZGgPXozMk2+ALhYMBJkOOapEzaVpYA58tusVPLkR3W4KpMYIS6/AtR w9jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fVpCNVtZFfH87DRlptURT/buGO6SxHnjLASX+7OFy/Q=; b=JyMYUtIVv4AaKLImCRWqllC4MBDsgxPmGhbYnByYF/bTTkKEPwQVQMWbtP4k/q3lYo 3oDenSRugJRX7RbXT6SvFGHSEpktr1w8Ob/y0dcSUMIhZl5jAFoCQ081eqYd+NW8hb54 uPhGHTgVAFbOilYij89fUHIClvUKQUdkXllFnqcMAPA+ZUy4Gy/cGVFrBWC1JSn7FpZl 9aqngsml/fI+UhcQrqkEKiD0prC+C/wgZveAThLsSlCgn3EZzoNfVH0EKL5oWiepfIFD xV6UBAWt7IMxyMViMRZInXpYRSciauCf7cFGqkuJ0uHKqLiCvGUjgDWqMFCZUI36W3gH Yslg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=WDijNTEu; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i9-20020a17090332c900b001a1a252c4b1si22241859plr.13.2023.03.24.01.26.41; Fri, 24 Mar 2023 01:26:56 -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=WDijNTEu; 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 S231376AbjCXIZp (ORCPT + 99 others); Fri, 24 Mar 2023 04:25:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229752AbjCXIZm (ORCPT ); Fri, 24 Mar 2023 04:25:42 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96B7525291; Fri, 24 Mar 2023 01:25:41 -0700 (PDT) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32O21nl6009116; Fri, 24 Mar 2023 08:25:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=fVpCNVtZFfH87DRlptURT/buGO6SxHnjLASX+7OFy/Q=; b=WDijNTEuW0pag+a5E3ZvjUCjiWuBK7sJrMOsl16JMuifBv0nThwIJ5XLKlpuRfGcv7zg d50qf5VoKySi+i0JqGlEezsbv0KvXj6KwDK1BC4Y66iCy/rdDb+s9Nxq9sivjZ36yTjT aFBB8ZcPKJzSXUsxwkHbjsvS/iTN6656ErxfvxpHC4+/aYS+kC/GdwD0eiWgq2hOoNdE RXQx6RTpyHpN7Lt1vQ2y5Q4ThU/pM8HttHXMK2ZCT2F0Ck43Bq5EhIoyLEptzp26TDzO Y/U+Zb7sowFm14ch4+2MFzcJKsfXugIW3rL6XvyRUEKNRGow1B1Bq9j9iI8IuqqE208X VA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pgxr899d7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Mar 2023 08:25:24 +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 32O8PNxr031524 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 24 Mar 2023 08:25:23 GMT Received: from [10.239.133.211] (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.41; Fri, 24 Mar 2023 01:25:19 -0700 Message-ID: Date: Fri, 24 Mar 2023 16:25:16 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3 01/11] dt-bindings: arm: Add support for DSB element size To: Suzuki K Poulose , Mathieu Poirier , Alexander Shishkin , Konrad Dybcio , Mike Leach , Rob Herring , Krzysztof Kozlowski CC: Jinlong Mao , Leo Yan , "Greg Kroah-Hartman" , , , , , Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Hao Zhang , , Bjorn Andersson References: <1679551448-19160-1-git-send-email-quic_taozha@quicinc.com> <1679551448-19160-2-git-send-email-quic_taozha@quicinc.com> Content-Language: en-US From: Tao Zhang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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: smh7XMFPpWpEVOyQGTYe-rnu54zoYy_Z X-Proofpoint-GUID: smh7XMFPpWpEVOyQGTYe-rnu54zoYy_Z 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-03-24_04,2023-03-23_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 adultscore=0 impostorscore=0 spamscore=0 bulkscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 suspectscore=0 malwarescore=0 mlxlogscore=984 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2303200000 definitions=main-2303240068 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Suzuki, 在 3/23/2023 7:18 PM, Suzuki K Poulose 写道: > On 23/03/2023 06:03, Tao Zhang wrote: >> 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 >> --- >>   .../devicetree/bindings/arm/qcom,coresight-tpdm.yaml | 11 +++++++++++ >>   1 file changed, 11 insertions(+) >> >> diff --git >> a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml >> b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml >> index 5c08342..d9b6b613 100644 >> --- a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml >> +++ b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml >> @@ -44,6 +44,15 @@ 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 >> +    minimum: 32 >> +    maximum: 64 > > Shouldn't this be something like oneOf ? It is not a range, but one of > those two specific values ? Yes, "qcom,dsb-element-size" should be an optional option required in TPDM devicetree. Other properties like "qcom,cmb-element-size", "qcom,tc-element-size" and etc. will be added in a later patch series. I will update this doc according to your advice in the next version of the patch. Tao > > Suzuki > >