Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13291777pxu; Sun, 3 Jan 2021 09:08:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJwExeFPOl7TCDP5thG9fOu5BgGmN1/xdI8tesY+/6SzbtjLbHI8mRyHSgk/vr+c1QHxsxq1 X-Received: by 2002:a17:906:d10f:: with SMTP id b15mr63093362ejz.268.1609693680400; Sun, 03 Jan 2021 09:08:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609693680; cv=none; d=google.com; s=arc-20160816; b=jI/sfvWfk75Asuw3V7R+QHSbOj50SGWsjrmnG6LMId4n/QYeYON/ZDBgVzqVEwOvbX MvA2ypfvXPWKdnlcbIrEiEac5f9FZXZQsdhu6EE1fXoq2CjeqontlZfNFVcioN8Jihnk LLuIsyqqHyqW+hSy5muIP2+YHs65sdsGTcC2dMBIEAGBsyeilUA2Nfif2X2xFnhGp5li lh5w4N5ilL2+FzqpSMVbCKS071P86ptH0TafVna1HPqOesWk3c3Y6TVTlRg6gIQeDSAq 2hM6U/WhhDl3zTj0dzS0sFdgmw1S7/prPp/DxJdivIu7axwNA+jqPEXOEw6wOjXvdZjC 8rNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=9nMWmrazoNH+sZVNzRiin5iySioX1ydc8fDj4HD1wZ0=; b=EjazTC9dJ6c4rOXAwtEzvDV1UbcDWjNJxJDeSN+941CC0bCseosg1ogwvL6kg0Ul2K QQZheCucVvad+dwtcxGmIo9q6LE+P5LIgRPugUrVJzaukGhny503HSuSzHJx+uaXb1oa dXxsrA4Kw7weMvPwsvUfgvLclA+d7dkwhBFHIuIMZBiS06HuiInaxYw/rH8L/aXFRc/b YHR+ej1FVIn/rfqnKfrO45zTW+l6LDtm7GlXuo6htvKBu+H40p12+P3CPDXuczGIOhje lDxWkquXRXlIuEkT7GBMEuYlQj7GD8e45nVIhnGZrT7x8ymU0NTdm136kbQ9ca2d45nd +XKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pw16si26940634ejb.430.2021.01.03.09.07.37; Sun, 03 Jan 2021 09:08:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727709AbhACRDB (ORCPT + 99 others); Sun, 3 Jan 2021 12:03:01 -0500 Received: from mail-il1-f179.google.com ([209.85.166.179]:46644 "EHLO mail-il1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727440AbhACRDA (ORCPT ); Sun, 3 Jan 2021 12:03:00 -0500 Received: by mail-il1-f179.google.com with SMTP id 75so23139944ilv.13; Sun, 03 Jan 2021 09:02:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=9nMWmrazoNH+sZVNzRiin5iySioX1ydc8fDj4HD1wZ0=; b=LRroyV+whRkKmBDYnDFmfyNDphv4j7rcPlAAh9AaAe9R4mXMVOP4azikJlNjdnrW+g wPQRbznoTd/HSQFSpEaueVColtbVfvql/40NXbsd8hwHcfc2t+LCZKH5wfJe8nzYZJQc 3o2FB96R74zmt6BlD3ElnNGsh/GQrKE+vp3T29DruvmpzqkAnUaZDHEE/ZYOlsTT0VBF IcLrMZeVr9Geh9ONI/RDcObUirHNsnCaid/T0+pz5+8GPzVuf4LeUakYmhztzodsXv80 +KbzTWBx9ke/ELfJWUihokLa2kNqPp1v2BQwqcGR/BhEEZMkkR99TfaIxMqXSzsZotl7 D1Kw== X-Gm-Message-State: AOAM5311caZdaWCsGYb0kVptRX7/LJ8/TnHWOPTblZVbsmv0lNrPuQmI heZ4L87xc5G8fch1/sLDYA== X-Received: by 2002:a92:d151:: with SMTP id t17mr69055226ilg.108.1609693339654; Sun, 03 Jan 2021 09:02:19 -0800 (PST) Received: from robh.at.kernel.org ([64.188.179.253]) by smtp.gmail.com with ESMTPSA id o7sm41163123iov.1.2021.01.03.09.02.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jan 2021 09:02:18 -0800 (PST) Received: (nullmailer pid 4053640 invoked by uid 1000); Sun, 03 Jan 2021 17:02:16 -0000 Date: Sun, 3 Jan 2021 10:02:16 -0700 From: Rob Herring To: Anshuman Khandual Cc: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org, linux-kernel@vger.kernel.org, Mathieu Poirier , Suzuki K Poulose , Mike Leach , Linu Cherian , devicetree@vger.kernel.org Subject: Re: [PATCH 06/11] dts: bindings: Document device tree bindings for ETE Message-ID: <20210103170216.GA4048658@robh.at.kernel.org> References: <1608717823-18387-1-git-send-email-anshuman.khandual@arm.com> <1608717823-18387-7-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1608717823-18387-7-git-send-email-anshuman.khandual@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 23, 2020 at 03:33:38PM +0530, Anshuman Khandual wrote: > From: Suzuki K Poulose > > Document the device tree bindings for Embedded Trace Extensions. > ETE can be connected to legacy coresight components and thus > could optionally contain a connection graph as described by > the CoreSight bindings. > > Cc: devicetree@vger.kernel.org > Cc: Mathieu Poirier > Cc: Mike Leach > Cc: Rob Herring > Signed-off-by: Suzuki K Poulose > Signed-off-by: Anshuman Khandual > --- > Documentation/devicetree/bindings/arm/ete.txt | 41 +++++++++++++++++++++++++++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/ete.txt Bindings are in schema format now, please convert this. > > diff --git a/Documentation/devicetree/bindings/arm/ete.txt b/Documentation/devicetree/bindings/arm/ete.txt > new file mode 100644 > index 0000000..b52b507 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/ete.txt > @@ -0,0 +1,41 @@ > +Arm Embedded Trace Extensions > + > +Arm Embedded Trace Extensions (ETE) is a per CPU trace component that > +allows tracing the CPU execution. It overlaps with the CoreSight ETMv4 > +architecture and has extended support for future architecture changes. > +The trace generated by the ETE could be stored via legacy CoreSight > +components (e.g, TMC-ETR) or other means (e.g, using a per CPU buffer > +Arm Trace Buffer Extension (TRBE)). Since the ETE can be connected to > +legacy CoreSight components, a node must be listed per instance, along > +with any optional connection graph as per the coresight bindings. > +See bindings/arm/coresight.txt. > + > +** ETE Required properties: > + > +- compatible : should be one of: > + "arm,embedded-trace-extensions" > + > +- cpu : the CPU phandle this ETE belongs to. If this is 1:1 with CPUs, then perhaps it should be a child node of the CPU nodes. > + > +** Optional properties: > +- CoreSight connection graph, see bindings/arm/coresight.txt. > + > +** Example: > + > +ete_0 { > + compatible = "arm,embedded-trace-extension"; > + cpu = <&cpu_0>; > +}; > + > +ete_1 { > + compatible = "arm,embedded-trace-extension"; > + cpu = <&cpu_1>; > + > + out-ports { /* legacy CoreSight connection */ > + port { > + ete1_out_port: endpoint@0 { > + remote-endpoint = <&funnel_in_port0>; > + }; > + }; > + }; > +}; > -- > 2.7.4 >