Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5662064pxu; Wed, 23 Dec 2020 02:09:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsGmDsXMDqlMsYz/SYFAm8uLhPCeY3pIZViLW5T2OvgS1CdsSL6ob8IksnUE2CmFJ3IYv/ X-Received: by 2002:a05:6402:c83:: with SMTP id cm3mr23973976edb.189.1608718190669; Wed, 23 Dec 2020 02:09:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608718190; cv=none; d=google.com; s=arc-20160816; b=CaG+kW/6on581jspatuqIriwCvyrKDcfD7WHHnWKZUP3NyxuwQWUWeqkfnXvkYRQxl tqsg0K0opD46Uvm90tnFczKwIVFvdIcgeLKd43yRPXH9akmpbFp+sO2FqzWpbnvoHlUi KEon+dU13M3tBGobrC8qkfDMxZ5Es91kriFzbIMGF0zMdO9oJ7wWYu83Wvoegs3Q8aHj 9ykO9nIpicxna0BnqWG2uUeFWVzBSn32GpXmEhElrn2T4zOQstyqDFfiJbrwO9NQ4y8V HTbCvG2CLyw5sB66Z6DyYoZq9lsIQD0NsO4FMZzd0wVXYx0ei28oAy+d/08RF+jmBYKi OaRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=qmnLzZEPwHpGUL93CTAeACOb7wu8M0rmehnHnhexFec=; b=XjtydD5EUQYekiZBYubTPX7QJYbkgSANAAFJAn5OrCq6CC1/w/fyO3iwCAEeNSyzXJ H3DwyE7/VtxfPo/y9jWJ1YXVDcYGxAEX661BQKdWLwie50mcpAF14yiy4hheid85SCMF Z+2u+pXIYNY74gIdBwKjUQR5DC9HVyzskSImeq1A9ac3VhBt/gp6jTZLAC6ViTcwziz3 MSQKss9a+wZC+DE3GjtM7ItHoMqqP87tVfB2VrZXT77oTqYRwQrVlE0m66wKZqS+kS+0 Txw1SiyPig0dMS9DiuxwM/lHasq7zuzPtffHiWGBD0FiXmr48RaK08lvglosmTmAMBeN vt/g== 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si10975533ejf.344.2020.12.23.02.09.28; Wed, 23 Dec 2020 02:09:50 -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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728414AbgLWKFN (ORCPT + 99 others); Wed, 23 Dec 2020 05:05:13 -0500 Received: from foss.arm.com ([217.140.110.172]:48052 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728387AbgLWKFN (ORCPT ); Wed, 23 Dec 2020 05:05:13 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 215231474; Wed, 23 Dec 2020 02:04:01 -0800 (PST) Received: from p8cg001049571a15.blr.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DB8063F718; Wed, 23 Dec 2020 02:03:57 -0800 (PST) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org Cc: linux-kernel@vger.kernel.org, Anshuman Khandual , Mathieu Poirier , Suzuki K Poulose , Mike Leach , Linu Cherian , devicetree@vger.kernel.org, Rob Herring Subject: [PATCH 06/11] dts: bindings: Document device tree bindings for ETE Date: Wed, 23 Dec 2020 15:33:38 +0530 Message-Id: <1608717823-18387-7-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1608717823-18387-1-git-send-email-anshuman.khandual@arm.com> References: <1608717823-18387-1-git-send-email-anshuman.khandual@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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. + +** 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