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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FBE9CCA47B for ; Mon, 13 Jun 2022 18:42:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344563AbiFMSmg (ORCPT ); Mon, 13 Jun 2022 14:42:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245724AbiFMSmQ (ORCPT ); Mon, 13 Jun 2022 14:42:16 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D7E6B4F1DB; Mon, 13 Jun 2022 08:01:33 -0700 (PDT) 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> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.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>; > - };