From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEE1DC25B48 for ; Thu, 26 Oct 2023 21:25:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229680AbjJZVZw (ORCPT ); Thu, 26 Oct 2023 17:25:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229501AbjJZVZv (ORCPT ); Thu, 26 Oct 2023 17:25:51 -0400 Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88CF710E; Thu, 26 Oct 2023 14:25:49 -0700 (PDT) Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-581fb6f53fcso819460eaf.2; Thu, 26 Oct 2023 14:25:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698355549; x=1698960349; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lUGBh/P34kDvbMPaTOm6+jeZny2Y+EPf+Q7R754U1ys=; b=ShiXnHecBmAyFKBzu1cKPCm6MxCRFzDcp6C8mIlrH6Jpn8BHxj9oJ4KW6FiRAoPyxh m5T24wh3/JU6oP5miVAy3bvUpK1kSmdPqh0/WlswoPjCdpVbisagZAC2zYjbWja1haMk i3CUH5D5bh1zqyIORB5wVI9Betk/oqrnI1/+4kKMsQZQ0mK+VPgFpLdSZgbWxaPDF3Em faFQtJZ4ZFqTXlkZUZTgSo/0zeHucg6UOz9mtXtEVqK+bCv1+RKhaKFtWuSAPBVJybkX El7e6JDfwzurvNBodMWyhQBdh+LZ5XJYNK7HR5W9SzEzQ8rBrF+zmkK0225T+/UIE8FE UDaQ== X-Gm-Message-State: AOJu0YxpEjHyeWgqZ9vKSm/aKvy2CFfGNIq/PixQjR78QP6AgHhKkpjo on5gLOMEFToaqcZmPnSYww== X-Google-Smtp-Source: AGHT+IHI1iTcIMvhAjZtXr+zeyPnQQsygc6IP8SozeSeE2ot7xjwoS8aHA4+TLWUl4d6uk2xLReD9Q== X-Received: by 2002:a4a:e1d4:0:b0:581:e819:cac5 with SMTP id n20-20020a4ae1d4000000b00581e819cac5mr675502oot.9.1698355548774; Thu, 26 Oct 2023 14:25:48 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id v18-20020a05683018d200b006b9cc67386fsm18867ote.66.2023.10.26.14.25.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 14:25:48 -0700 (PDT) Received: (nullmailer pid 424302 invoked by uid 1000); Thu, 26 Oct 2023 21:25:46 -0000 Date: Thu, 26 Oct 2023 16:25:46 -0500 From: Rob Herring To: Tao Zhang Cc: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Konrad Dybcio , Mike Leach , Krzysztof Kozlowski , Jinlong Mao , Leo Yan , Greg Kroah-Hartman , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Song Chai , linux-arm-msm@vger.kernel.org, andersson@kernel.org Subject: Re: [PATCH v2 1/8] dt-bindings: arm: Add support for CMB element size Message-ID: <20231026212546.GA420866-robh@kernel.org> References: <1698202408-14608-1-git-send-email-quic_taozha@quicinc.com> <1698202408-14608-2-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1698202408-14608-2-git-send-email-quic_taozha@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On Wed, Oct 25, 2023 at 10:53:21AM +0800, Tao Zhang wrote: > Add property "qcom,cmb-elem-size" 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 32-bit and 64-bit. > > Signed-off-by: Tao Zhang > Signed-off-by: Mao Jinlong > --- > .../bindings/arm/qcom,coresight-tpdm.yaml | 27 ++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml > index 61ddc3b..f9a2025 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-size: What are the units? Use '-bits' suffix. > + 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 32-bit and 64-bit. The enum says 8-bit is supported. > + $ref: /schemas/types.yaml#/definitions/uint8 > + enum: [8, 32, 64] > + > qcom,dsb-msrs-num: > description: > Specifies the number of DSB(Discrete Single Bit) MSR(mux select register) > @@ -110,4 +118,23 @@ examples: > }; > }; > > + tpdm@6c29000 { > + compatible = "qcom,coresight-tpdm", "arm,primecell"; > + reg = <0x06c29000 0x1000>; > + reg-names = "tpdm-base"; > + > + qcom,cmb-element-size = /bits/ 8 <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.7.4 > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A30CBC25B48 for ; Thu, 26 Oct 2023 21:26:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bubsV2yPRhZ7yrokLq2Y/eipXZeiXqnn0V+kxccz+pc=; b=ZoP8EFNQ6Y5J6v 7PRmpyVSdhysrr7VgC8sKFuEYcBQ23NgXYhMVhKZjw/qIAcMOBKhBtjOpIuNHr8TDUVaUD+ZIoRgQ ePCfh5ZOtewQdRvg63dZAugBu/vqhvahuXM325vcvEsxM+vrhwPHbU0q8mWRrNH1GK4AMUIZv7+N3 Eg3BzofdaOjJa75JmcsFjhjx0rUnnHH2W/Rbs3YVwZXsWAvmTuE25U4lWUJlj0G32j63Iy8iLdAZc z6vvD8kLQN/HtvpwgP9I+AQODH27LPxZ8bTFftQLSWrd1zIZ9l6PWDz1zajHOYwIQK2LcwjzFu6y8 sk+Oi8XKgA0/u6GRKX9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qw7rX-00FAp8-2t; Thu, 26 Oct 2023 21:25:55 +0000 Received: from mail-oo1-f46.google.com ([209.85.161.46]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qw7rU-00FAoF-19 for linux-arm-kernel@lists.infradead.org; Thu, 26 Oct 2023 21:25:53 +0000 Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-58441865ffaso824034eaf.1 for ; Thu, 26 Oct 2023 14:25:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698355549; x=1698960349; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=lUGBh/P34kDvbMPaTOm6+jeZny2Y+EPf+Q7R754U1ys=; b=bySsWx9rExh7CZkY0Mg84xojFeKDZNgxOSTTVqhB4QnyjNytpl26spwHCKqVaTVQGq eXdOSZq3hw03k62EluLLNV3ISNWPD5I5ABT/Bz44lx0/DQrsTdJqVO6W4SqDNoPLlvTX 03jTRMVVRGS367IVpM7X09VEtVXBXLkL4rRGMeagjSBWu5MKuvMrhnkR19+RbmhSlo+q ceny9ZX3c39NFGzjPvn4y3pVaV/T8gqiUdRLXM0HIVoy/P/fC4z1T8NSMZTKhcq7nLvb AGQaB8gA65LFEXhSNmQswPDU1QHZMJJKvtkRO5Fa/ShIOMDpPnjcKbcS/QH7nU8NpQI0 kQNg== X-Gm-Message-State: AOJu0YxlhCLiQvLtx732KQfU3gIpPHbh3KWAjIUoWnKpj6YOonwqWJH4 hndsKDqmDGt83yI+yp+JUQ== X-Google-Smtp-Source: AGHT+IHI1iTcIMvhAjZtXr+zeyPnQQsygc6IP8SozeSeE2ot7xjwoS8aHA4+TLWUl4d6uk2xLReD9Q== X-Received: by 2002:a4a:e1d4:0:b0:581:e819:cac5 with SMTP id n20-20020a4ae1d4000000b00581e819cac5mr675502oot.9.1698355548774; Thu, 26 Oct 2023 14:25:48 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id v18-20020a05683018d200b006b9cc67386fsm18867ote.66.2023.10.26.14.25.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 14:25:48 -0700 (PDT) Received: (nullmailer pid 424302 invoked by uid 1000); Thu, 26 Oct 2023 21:25:46 -0000 Date: Thu, 26 Oct 2023 16:25:46 -0500 From: Rob Herring To: Tao Zhang Cc: Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Konrad Dybcio , Mike Leach , Krzysztof Kozlowski , Jinlong Mao , Leo Yan , Greg Kroah-Hartman , coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Tingwei Zhang , Yuanfang Zhang , Trilok Soni , Song Chai , linux-arm-msm@vger.kernel.org, andersson@kernel.org Subject: Re: [PATCH v2 1/8] dt-bindings: arm: Add support for CMB element size Message-ID: <20231026212546.GA420866-robh@kernel.org> References: <1698202408-14608-1-git-send-email-quic_taozha@quicinc.com> <1698202408-14608-2-git-send-email-quic_taozha@quicinc.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1698202408-14608-2-git-send-email-quic_taozha@quicinc.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231026_142552_393405_FA897A27 X-CRM114-Status: GOOD ( 19.59 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Oct 25, 2023 at 10:53:21AM +0800, Tao Zhang wrote: > Add property "qcom,cmb-elem-size" 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 32-bit and 64-bit. > > Signed-off-by: Tao Zhang > Signed-off-by: Mao Jinlong > --- > .../bindings/arm/qcom,coresight-tpdm.yaml | 27 ++++++++++++++++++++++ > 1 file changed, 27 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml b/Documentation/devicetree/bindings/arm/qcom,coresight-tpdm.yaml > index 61ddc3b..f9a2025 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-size: What are the units? Use '-bits' suffix. > + 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 32-bit and 64-bit. The enum says 8-bit is supported. > + $ref: /schemas/types.yaml#/definitions/uint8 > + enum: [8, 32, 64] > + > qcom,dsb-msrs-num: > description: > Specifies the number of DSB(Discrete Single Bit) MSR(mux select register) > @@ -110,4 +118,23 @@ examples: > }; > }; > > + tpdm@6c29000 { > + compatible = "qcom,coresight-tpdm", "arm,primecell"; > + reg = <0x06c29000 0x1000>; > + reg-names = "tpdm-base"; > + > + qcom,cmb-element-size = /bits/ 8 <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.7.4 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel