Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp524351pxb; Wed, 27 Jan 2021 13:52:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/AYD5yDg1i7SEQcgzGCtNe8LYLlauUxn8pxgmsqAY1QcXbrCJLwRnGqtBCQKMceLJ+yNN X-Received: by 2002:a17:906:cce9:: with SMTP id ot41mr4010249ejb.61.1611784367667; Wed, 27 Jan 2021 13:52:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611784367; cv=none; d=google.com; s=arc-20160816; b=Aa+gOQlnb5nfxIqKfm8zTG4Oq+1h2mAE9Z2vF+GUUhGQy7PAOA9MW5EQQlPjqk4I+0 4EUCbGWlwv7odzeLXksrRLSwaOuqI+gE8E359fmp5qgELbG3kErNbrxM9+86cAVkXdnT Ghvz4STMwya8kAy3KF/glYBVaNWVid789TVVTOcjk0YmM/BHdR7lzA0G0NaxXzKKdnZ+ 5yr1uwPm1yfqVIRsfEGzt60kp0RjdjVPyD5xOMvz/GmwfcENDqTH/mm6ynLNEPaVcPoL whYSPVBk3DUSGI9yG+t9pbDE+d00jUXSUTQ5Pmq0zxg1dId6t0QtB/5gSnf3hzg2c52+ P66A== 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=LegMTuNa+Ti8qjKheq2DRjQ2uwZUpbEhWrN3ktWE7sk=; b=JU5Pqi1xKToj1fd3XVKpnMvCwpJgza0KkZ7CMKK/K2keJzoSTCgx+fE4RO6v2YY+Uh rcTzV6sbKnVaEAq165ItGBAO6d1kbm7D1ar/LZGAzAb/dIsc3rz4GlmSbG8jzYzlPyix usMjlxndMimgQAirRCSzhqN20RQP4TDNdmON4BNvUlwUmKQKTMniTIKRdkiv91qi39kp ZrIHIs9IoFyikhHWWurbR48EmX0XKg1+cVfihGfpoMRWhvAlSyy6o4qZTaKhFX5VkRQ/ PlLGsuDEU74NKdda2526suWaAGTf7ror7+QA/xnCvfCjUjJNV9I7b5m1bRHcgsFhmBAC HUYw== 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 d5si1468573edv.19.2021.01.27.13.52.22; Wed, 27 Jan 2021 13:52:47 -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 S235294AbhA0JtD (ORCPT + 99 others); Wed, 27 Jan 2021 04:49:03 -0500 Received: from foss.arm.com ([217.140.110.172]:32958 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233386AbhA0I7I (ORCPT ); Wed, 27 Jan 2021 03:59:08 -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 1AD601516; Wed, 27 Jan 2021 00:56:04 -0800 (PST) Received: from p8cg001049571a15.arm.com (unknown [10.163.91.246]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id D70823F66B; Wed, 27 Jan 2021 00:56:00 -0800 (PST) From: Anshuman Khandual To: linux-arm-kernel@lists.infradead.org, coresight@lists.linaro.org Cc: mathieu.poirier@linaro.org, suzuki.poulose@arm.com, mike.leach@linaro.org, lcherian@marvell.com, linux-kernel@vger.kernel.org, Anshuman Khandual , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH V3 12/14] dts: bindings: Document device tree bindings for Arm TRBE Date: Wed, 27 Jan 2021 14:25:36 +0530 Message-Id: <1611737738-1493-13-git-send-email-anshuman.khandual@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1611737738-1493-1-git-send-email-anshuman.khandual@arm.com> References: <1611737738-1493-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 Trace Buffer Extension (TRBE). Cc: Anshuman Khandual Cc: Mathieu Poirier Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Suzuki K Poulose Signed-off-by: Anshuman Khandual --- Changes in V3: - Added missing description for the TRBE hardware - Fixed all DT yaml semantics problems Documentation/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 0000000..4402d7b --- /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.7.4