From patchwork Wed Dec 23 10:03:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anshuman Khandual X-Patchwork-Id: 347002 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp6068000jai; Wed, 23 Dec 2020 02:06:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjnuQbbwbGzom0Ub5onzFammOyHjnsQpBs22ZpvNC3D0YFEoTU4Cy6avDSL5SZTjDBLq3C X-Received: by 2002:a17:906:565a:: with SMTP id v26mr22449498ejr.332.1608718005396; Wed, 23 Dec 2020 02:06:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608718005; cv=none; d=google.com; s=arc-20160816; b=Y9AJLHq4/tcLS+Ll0Ai2TcXCcexEDtwPpXucHzyDzG4NSwIRPs+m7g7ssZ7WHEyuq4 ep30JG8jIHMWwUcGMwTtpZ1CHymqHBddMNhwpDdImYdVD7PgLbByw5HOmKkO0t4on0sk sODYM/XJPu2+TYvEoBX5CBanUmlT2z/hoKIK+7mEtTmAC5OB5pPpn7PtG0PY+n4jq/lV MNM4LzLZVlSmxXKtL7siGS0PxRNAJoU7tkN6LniOJQKKRHz0mzFbAK+KuRbJZ8/FyZTS oW9BOiDei/smffSnR8DShmXuSstw8mcpYA9ncx42xo21bZbij91HGcoqdeHSQGgQHhKP 81yQ== 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=Vn9SftUeZwHeSMpKFEV4dgFpZpSinUPLUUTFfTpHDloe2sKYtP7sfQW1vHULc/wxUG 2dduDwEaknxp/k0XrIC8x5yecxrVkC0ba9l7glMcysZ2Z++1wspxo92rTaGwHOstG8kL MtmQj4v8nVMhcb5plcyyahn5rq5uko/HWGWTKRtmqimxo2Dsug0NR3MgQtaUcKyDPLBh AEyq9MVRflDsekhsjAy4l1IPIRLCzM8Arr8gaCkkaroQxPud/tN40Amy7CESCS3Zo9nE Ng1t+LSLUJBaN1th56G+OuLflTzgjA7q9AdVEFiONpCrS8Lbc1L85USvSvA9HOs4Ylgq HObg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 v19si13444318edr.303.2020.12.23.02.06.45; Wed, 23 Dec 2020 02:06:45 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-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 devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1726022AbgLWKFN (ORCPT + 7 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: devicetree@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 -- 2.7.4 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>; + }; + }; + }; +};