From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A0854C433EF for ; Mon, 13 Jun 2022 15:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dENa0GkoPC1OLXWVQrIXhtLnpk3Moda2u9O2o3AfB4E=; b=mYhyTm2Ka0t+F9 NsMebK3uyoiAbnKU8/MtZI0uLH3q7S8usUOI8xzp2gFH9AuFYEgtSiNiQBNauMiElhIJOdtAuqxBZ RuiUL+vvz3DtreGlwPyCIO/dWYF36OeIo5STy3VxiBxxyBQVM8uLwyRX3odv/9ig9QxMdJ+9Tzn+j uPsLBlu76DEhakFMp+cslFZja35rq3O1x9bkgUTm2TRnbX3N5nUbRRZPNRjoeKKeWQnBM9avo+Qy8 tz1Kx2xIXG7tngEdTeSiPE86WR9jWVQqtzCNE/Aq/MHJHl2MSP5PXNXsa6EsVlOzWSipRgvS9ohkf E+xNB6bHJOVcpRM7+oBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0lht-004Qzl-6e; Mon, 13 Jun 2022 15:10:21 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o0lZS-004NU8-Sr for linux-arm-kernel@lists.infradead.org; Mon, 13 Jun 2022 15:01:41 +0000 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 7E89723A; Mon, 13 Jun 2022 08:01:33 -0700 (PDT) Received: from [10.57.82.209] (unknown [10.57.82.209]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8E5CA3F792; Mon, 13 Jun 2022 08:01:31 -0700 (PDT) Message-ID: Date: Mon, 13 Jun 2022 16:01:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH] dt-bindings: perf: Convert Arm CCN to DT schema Content-Language: en-GB To: Rob Herring , Will Deacon , Mark Rutland , Krzysztof Kozlowski Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220613145554.3727354-1-robh@kernel.org> From: Robin Murphy In-Reply-To: <20220613145554.3727354-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220613_080139_033745_A0C27693 X-CRM114-Status: GOOD ( 15.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2022-06-13 15:55, Rob Herring wrote: > Convert the Arm CCN performance monitors binding to DT schema format. > > Signed-off-by: Rob Herring > --- > .../devicetree/bindings/perf/arm,ccn.yaml | 40 +++++++++++++++++++ > .../devicetree/bindings/perf/arm-ccn.txt | 23 ----------- > 2 files changed, 40 insertions(+), 23 deletions(-) > create mode 100644 Documentation/devicetree/bindings/perf/arm,ccn.yaml > delete mode 100644 Documentation/devicetree/bindings/perf/arm-ccn.txt > > diff --git a/Documentation/devicetree/bindings/perf/arm,ccn.yaml b/Documentation/devicetree/bindings/perf/arm,ccn.yaml > new file mode 100644 > index 000000000000..0b0bb2091016 > --- /dev/null > +++ b/Documentation/devicetree/bindings/perf/arm,ccn.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/perf/arm,ccn.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ARM CCN (Cache Coherent Network) Performance Monitors > + > +maintainers: > + - Robin Murphy Oh go on then, why not... Acked-by: Robin Murphy > + > +properties: > + compatible: > + enum: > + - arm,ccn-502 > + - arm,ccn-504 > + - arm,ccn-508 > + - arm,ccn-512 > + > + reg: > + maxItems: 1 > + > + interrupts: > + maxItems: 1 > + > +required: > + - compatible > + - reg > + - interrupts > + > +additionalProperties: false > + > +examples: > + - | > + ccn@20000000 { > + compatible = "arm,ccn-504"; > + reg = <0x20000000 0x1000000>; > + interrupts = <0 181 4>; > + }; > +... > diff --git a/Documentation/devicetree/bindings/perf/arm-ccn.txt b/Documentation/devicetree/bindings/perf/arm-ccn.txt > deleted file mode 100644 > index 1c53b5aa3317..000000000000 > --- a/Documentation/devicetree/bindings/perf/arm-ccn.txt > +++ /dev/null > @@ -1,23 +0,0 @@ > -* ARM CCN (Cache Coherent Network) > - > -Required properties: > - > -- compatible: (standard compatible string) should be one of: > - "arm,ccn-502" > - "arm,ccn-504" > - "arm,ccn-508" > - "arm,ccn-512" > - > -- reg: (standard registers property) physical address and size > - (16MB) of the configuration registers block > - > -- interrupts: (standard interrupt property) single interrupt > - generated by the control block > - > -Example: > - > - ccn@2000000000 { > - compatible = "arm,ccn-504"; > - reg = <0x20 0x00000000 0 0x1000000>; > - interrupts = <0 181 4>; > - }; _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel