Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp666380pxb; Thu, 25 Feb 2021 11:51:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+apUiQOLJKt0zyeDiaNRtF7qXv/OT/3PySLflRh5tnw3z8aL+pXKcEMfyZGyTjSC/tZ6o X-Received: by 2002:a05:6402:3122:: with SMTP id dd2mr2117631edb.253.1614282673562; Thu, 25 Feb 2021 11:51:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614282673; cv=none; d=google.com; s=arc-20160816; b=abQD0hq+0PKk/jVh8EKTPKpCUUlAiC1EI1FroAafTfno/pkbastZ2xyvhYuhPaQ124 d4+6AvRsauEyptxT6hVSuv6+QIM8nWndtoC3LK7Gc2WHCEkckvkot/La0Tl+92BWqaZM 1hK2w5EUogVCD68BuBOKsxwmhT2EMFW/WGTCUivIJ/L99jVL77XWnDkvMVkN8KJMk8C9 +hWpFa2S1vUwULROI9Ju9dVNAR4D/TSq0xRpkXYJcWbT6lYjvMtlV5u/w+BLzJY4IRf2 oKjHR9LfSdzXtOIyDPd1g/gTMwH7/jeK3LQFpY5HtLFVs45LxkftWyGEOIRMhb8Xfh9k WPdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=SzQtBdvcdzagz3x7H3+e0zmBGMDzTjkOPJuPf+hE1Us=; b=O7ZqMZ0XxWqHmYMs/tr7OXJaSQ+8PlByE9HQn4/57XFvZJpyBE/tJ8IxC/2B1zoSzu zdmt8PW/ZFWLAn41EdVJJZbl+09z+1Y3196EtrpHyZ+okRq18GctAozaTqct3jZ6bBIx mTJGW3wlk61NdlPgTamEO4vAasH5JR3iJgFLyHQdjLk0xZlMrHT+xs2ptjr7LHM8WxKv YgfcZ0XrWBMmxqB35xSvgDxazVjayq1ZkuIh++P/SsPJsDzS2pTiphNyEHna9d1xmgag svSgxjUnC4gGl/H4XU5W4M1p49EpF01Y32AWeHN7cbLdRgar0HkLR1lDSv3mFnGrUz4a OaIg== 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 bo20si3934705edb.479.2021.02.25.11.50.50; Thu, 25 Feb 2021 11:51:13 -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 S234942AbhBYTuS (ORCPT + 99 others); Thu, 25 Feb 2021 14:50:18 -0500 Received: from foss.arm.com ([217.140.110.172]:48416 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234913AbhBYTlz (ORCPT ); Thu, 25 Feb 2021 14:41:55 -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 926B11515; Thu, 25 Feb 2021 11:36:25 -0800 (PST) Received: from ewhatever.cambridge.arm.com (ewhatever.cambridge.arm.com [10.1.197.1]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5C3B73F70D; Thu, 25 Feb 2021 11:36:24 -0800 (PST) From: Suzuki K Poulose To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, mathieu.poirier@linaro.org, mike.leach@linaro.org, anshuman.khandual@arm.com, leo.yan@linaro.org, Suzuki K Poulose , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v4 19/19] dts: bindings: Document device tree bindings for Arm TRBE Date: Thu, 25 Feb 2021 19:35:43 +0000 Message-Id: <20210225193543.2920532-20-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20210225193543.2920532-1-suzuki.poulose@arm.com> References: <20210225193543.2920532-1-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Document the device tree bindings for Trace Buffer Extension (TRBE). Cc: Anshuman Khandual Cc: Mathieu Poirier Cc: Rob Herring Cc: devicetree@vger.kernel.org Reviewed-by: Rob Herring Signed-off-by: Suzuki K Poulose --- .../devicetree/bindings/arm/trbe.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/trbe.yaml diff --git a/Documentation/devicetree/bindings/arm/trbe.yaml b/Documentation/devicetree/bindings/arm/trbe.yaml new file mode 100644 index 000000000000..4402d7bfd1fc --- /dev/null +++ b/Documentation/devicetree/bindings/arm/trbe.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0-only or BSD-2-Clause +# Copyright 2021, Arm Ltd +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/trbe.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: ARM Trace Buffer Extensions + +maintainers: + - Anshuman Khandual + +description: | + Arm Trace Buffer Extension (TRBE) is a per CPU component + for storing trace generated on the CPU to memory. It is + accessed via CPU system registers. The software can verify + if it is permitted to use the component by checking the + TRBIDR register. + +properties: + $nodename: + const: "trbe" + compatible: + items: + - const: arm,trace-buffer-extension + + interrupts: + description: | + Exactly 1 PPI must be listed. For heterogeneous systems where + TRBE is only supported on a subset of the CPUs, please consult + the arm,gic-v3 binding for details on describing a PPI partition. + maxItems: 1 + +required: + - compatible + - interrupts + +additionalProperties: false + +examples: + + - | + #include + + trbe { + compatible = "arm,trace-buffer-extension"; + interrupts = ; + }; +... -- 2.24.1