Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp771082img; Wed, 20 Mar 2019 10:29:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqy8XiCFsJgCp6U7lZhJb5IeM4cCm967IaCE9cC4Wz/oDB1YEQs8vL19L/OADJjqGNLSUX8Y X-Received: by 2002:a65:4608:: with SMTP id v8mr30081421pgq.9.1553102956429; Wed, 20 Mar 2019 10:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553102956; cv=none; d=google.com; s=arc-20160816; b=Mfx1wR/ESpyjGKc9+ejFEjdiPMrtDV194MCKj2lTGV9gz9A6ZZzMkjZgMJw0HOrqD9 JWI9q2e1rBoh9EXSYGiIEjBMQDdS9L+9iWmo8cOsvbasqDOaEA8jSlKX1y8Ca/N1RVkS WILhM9LUQ92myI2heZDhSboenviwXpWjvhO5UwVzFJnYw+1nFKVk0OZwJJE/vDXGXI/B CG5DVcHHjx3dq54LuZ6fHz5ljCjHec5IkcIlAHPlsP3UoPsXrV60epOVdoFpxY16071S OnzoDyFAviY8uN22tNpdPLG41yS8EAGIWSJawYdd/nUdTKzZ16lDVm+Lu5C1J85r0CdU p/7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4Sy/loxk9uhnrLnMhnuT+3tkOvukk3oNzVzGpJ9cgV4=; b=a3NYsO6LXq/h3NZCZDa67LrvPHbb1yqfpFvVv7kcWkM4SNBO+NZE+iYSRqbi7NS5Eu w5ptlpz4GhDftdT18vASiXTPWlS534M1vi2TdTawiE+lPi6uPhUM76wBpbe9EVYy+ci5 uyzT+dq77Ojv9BqBZBMc5MnVM0WmvJUOg+Jm7D7Z1mMRyurbTpdTa60zVDGrkLeRA8uh Hy//gMoJGzwrRS8rDszRW3e0Zm4KQdSCaXr6wZ10JdjnbP02ThGJFpHKcTevtmRt101Q f390JO0OIAGAK5Zm4LD916l2oYQFp7GgZBdxn7pFrTSz+0/LBFndO6rn6MHBYZ3MqLC6 cmfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kxy8Dz6s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b20si2230585pls.193.2019.03.20.10.29.01; Wed, 20 Mar 2019 10:29:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kxy8Dz6s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727139AbfCTR2U (ORCPT + 99 others); Wed, 20 Mar 2019 13:28:20 -0400 Received: from mail-it1-f194.google.com ([209.85.166.194]:36392 "EHLO mail-it1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727087AbfCTR2T (ORCPT ); Wed, 20 Mar 2019 13:28:19 -0400 Received: by mail-it1-f194.google.com with SMTP id h9so72054itl.1 for ; Wed, 20 Mar 2019 10:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4Sy/loxk9uhnrLnMhnuT+3tkOvukk3oNzVzGpJ9cgV4=; b=Kxy8Dz6stwyxwLbrKwLEkhDP7+JX1vBCSelQBj3IiTgMbYFq0ttLkr133eQHDAygkP rRBWvyGcJujJHP/Ek+DWxb2176AlvrVqSC4ti/lui3i/ebPC+Hg5zCz4n9ZcqhemHugX 9T7MUyL57bFqrhTLfQ4oouOiMXMjjQRexb3c8V2K6GeCbcOj6pdOUApOyTneqt8CIx5j wP4NBNGsR2HBILeZdh3z6tJNszVh5jVw177mEIZ0KrWth6vpeE1AugafULfkibR4jhxX 6bKEN5jgoFdEfSPOWNDsjIL9iTVwrVMyAi3QtDxMYkNHuMugtzxHWuBuMadeDeuer2GT tBGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4Sy/loxk9uhnrLnMhnuT+3tkOvukk3oNzVzGpJ9cgV4=; b=KL4skoocrPYw7qJwFACyHEQeviLXXa8x93q62zmqZfC3kaVTOmtRiuTRw2RJs48RFx 7UytabJtkSkGxMoHQ8tjmyr8YMqMTyxGcoyuQ7tuih0qOn+3eyuzkwCYw+c+LDhEcQgv omAXOtPSQhABfbreAV1oTVS5ev2UvvMUJuBHAM9y9JDBcFH9lFLfemmVMeRvDgwxXj21 C4QlUseUZ8FDm7oaFeNT0OEQNUQL+J48aIqvJ4SigLFRmOC+AkaFgUYxI0gAo2Mk5/S6 CM+mvh8m8KQJ8kslic+Yxe1KrzU34a2G985xBlDen+BiFQuNJSzSg+kPUJEtAcShPPst YrcQ== X-Gm-Message-State: APjAAAVnqzifs/agmVxymOS4rdXiOYY//h80yLb0IRVGEK4EJ8kO3zzG Pnr+vboGhB7wTc9RQ4+xt176YMiyhcj4t7sTmd+Ohg== X-Received: by 2002:a24:5208:: with SMTP id d8mr5926514itb.137.1553102898386; Wed, 20 Mar 2019 10:28:18 -0700 (PDT) MIME-Version: 1.0 References: <1553085490-42870-1-git-send-email-shiwanglai@hisilicon.com> <1553085490-42870-2-git-send-email-shiwanglai@hisilicon.com> In-Reply-To: <1553085490-42870-2-git-send-email-shiwanglai@hisilicon.com> From: Mathieu Poirier Date: Wed, 20 Mar 2019 11:28:07 -0600 Message-ID: Subject: Re: [PATCH v2 1/3] dt-bindings: arm: coresight: Support non-configurable funnel To: Wanglai Shi Cc: "Suzuki K. Poulose" , Rob Herring , Mark Rutland , xuwei , Alexander Shishkin , linux-arm-kernel , devicetree@vger.kernel.org, Linux Kernel Mailing List , Leo Yan , Suzhuangluan Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Wanglai, On Wed, 20 Mar 2019 at 06:53, Wanglai Shi wrote: > > From: Leo Yan > > Document DT binding for non-configurable funnel and give an example > for it. > > Signed-off-by: Leo Yan This patch needs to be sent on its own. > --- > .../devicetree/bindings/arm/coresight.txt | 45 +++++++++++++++++-- > 1 file changed, 42 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/coresight.txt b/Documentation/devicetree/bindings/arm/coresight.txt > index f8aff65ab921..e63ec3362af8 100644 > --- a/Documentation/devicetree/bindings/arm/coresight.txt > +++ b/Documentation/devicetree/bindings/arm/coresight.txt > @@ -8,7 +8,8 @@ through the intermediate links connecting the source to the currently selected > sink. Each CoreSight component device should use these properties to describe > its hardware characteristcs. > > -* Required properties for all components *except* non-configurable replicators: > +* Required properties for all components *except* non-configurable replicators > + and non-configurable funnels: > > * compatible: These have to be supplemented with "arm,primecell" as > drivers are using the AMBA bus interface. Possible values include: > @@ -24,7 +25,7 @@ its hardware characteristcs. > discovered at boot time when the device is probed. > "arm,coresight-tmc", "arm,primecell"; > > - - Trace Funnel: > + - Trace Programmable Funnel: > "arm,coresight-funnel", "arm,primecell"; > > - Embedded Trace Macrocell (version 3.x) and > @@ -65,11 +66,12 @@ its hardware characteristcs. > "stm-stimulus-base", each corresponding to the areas defined in "reg". > > * Required properties for devices that don't show up on the AMBA bus, such as > - non-configurable replicators: > + non-configurable replicators and non-configurable funnels: > > * compatible: Currently supported value is (note the absence of the > AMBA markee): > - "arm,coresight-replicator" > + - "arm,coresight-funnel" > > * port or ports: see "Graph bindings for Coresight" below. > > @@ -200,6 +202,43 @@ Example: > }; > }; > > + funnel { > + /* > + * non-configurable funnel don't show up on the AMBA > + * bus. As such no need to add "arm,primecell". > + */ > + compatible = "arm,coresight-funnel"; > + clocks = <&crg_ctrl HI3660_PCLK>; > + clock-names = "apb_pclk"; > + > + out-ports { > + port { > + combo_funnel_out: endpoint { > + remote-endpoint = <&top_funnel_in>; > + }; > + }; > + }; > + > + in-ports { > + #address-cells = <1>; > + #size-cells = <0>; > + > + port@0 { > + reg = <0>; > + combo_funnel_in0: endpoint { > + remote-endpoint = <&cluster0_etf_out>; > + }; > + }; > + > + port@1 { > + reg = <1>; > + combo_funnel_in1: endpoint { > + remote-endpoint = <&cluster1_etf_out>; > + }; > + }; > + }; > + }; > + > funnel@20040000 { > compatible = "arm,coresight-funnel", "arm,primecell"; > reg = <0 0x20040000 0 0x1000>; > -- > 2.17.1 >