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 BAFEDC433EF for ; Tue, 14 Dec 2021 14:38:01 +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=WUVVcXcBS0tt36ubMq3MFt2mfRn/qlYGCpjt7ppFgxU=; b=pyr9PBJP3IyN3t 3mKZSnxd+og/a8d0R8ER7b9QCouCNfk11g2X8KXvtItVeEfYKQfe2Ao2uwc9K+iLVH5xCpb6RHW1O ddTxStzytiKR84ZDJ28+QYS9rkPaHjXeRrZHRJRDC2mRRSavoqEA/81BPaR5U9SYYj1ebTeWCpC6n ydmQCSGPjFA3kh3zr6oxIo8xgEVHFsAsPn0qlRSwDTHvjQsscvieEQm5QAk1uasd62oUM8Jc1UNY7 cKtJelG1VXBV2U/GHteJwPj0zzP1+jwHV8TUMapkwVqO53CkipNePB8ZP2jdrdpz149jGaX4LmEzu WEBkbZ+knJZ//8Dx6vZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mx8v5-00ERes-Tc; Tue, 14 Dec 2021 14:36:44 +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 1mx8v1-00ERdY-J6 for linux-arm-kernel@lists.infradead.org; Tue, 14 Dec 2021 14:36: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 622BB6D; Tue, 14 Dec 2021 06:36:38 -0800 (PST) Received: from [10.57.84.72] (unknown [10.57.84.72]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 257643F793; Tue, 14 Dec 2021 06:36:37 -0800 (PST) Message-ID: <85dc7575-de86-b5d5-252d-fcfb6aa6f3e9@arm.com> Date: Tue, 14 Dec 2021 14:36:35 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v2 4/5] dt-bindings: perf: Convert Arm DSU to schema To: Robin Murphy , will@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: catalin.marinas@arm.com, thierry.reding@gmail.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org References: <9fde2e11b0d11285c26d0e9d261034a1628c7901.1639490264.git.robin.murphy@arm.com> From: Suzuki K Poulose In-Reply-To: <9fde2e11b0d11285c26d0e9d261034a1628c7901.1639490264.git.robin.murphy@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211214_063639_738687_10F7B61C X-CRM114-Status: GOOD ( 16.11 ) 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 14/12/2021 14:16, Robin Murphy wrote: > Convert the DSU binding to schema, as one does. > > Signed-off-by: Robin Murphy > --- > > v2: Actually finish converting the thing to valid schema... > > .../devicetree/bindings/arm/arm-dsu-pmu.txt | 27 ------------ > .../devicetree/bindings/perf/arm,dsu-pmu.yaml | 41 +++++++++++++++++++ > 2 files changed, 41 insertions(+), 27 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt > create mode 100644 Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml > > diff --git a/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt b/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt > deleted file mode 100644 > index 6efabba530f1..000000000000 > --- a/Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt > +++ /dev/null > @@ -1,27 +0,0 @@ > -* ARM DynamIQ Shared Unit (DSU) Performance Monitor Unit (PMU) > - > -ARM DyanmIQ Shared Unit (DSU) integrates one or more CPU cores > -with a shared L3 memory system, control logic and external interfaces to > -form a multicore cluster. The PMU enables to gather various statistics on > -the operations of the DSU. The PMU provides independent 32bit counters that > -can count any of the supported events, along with a 64bit cycle counter. > -The PMU is accessed via CPU system registers and has no MMIO component. > - > -** DSU PMU required properties: > - > -- compatible : should be one of : > - > - "arm,dsu-pmu" > - > -- interrupts : Exactly 1 SPI must be listed. > - > -- cpus : List of phandles for the CPUs connected to this DSU instance. > - > - > -** Example: > - > -dsu-pmu-0 { > - compatible = "arm,dsu-pmu"; > - interrupts = ; > - cpus = <&cpu_0>, <&cpu_1>; > -}; > diff --git a/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml b/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml > new file mode 100644 > index 000000000000..09ddeb6a3ccc > --- /dev/null > +++ b/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml > @@ -0,0 +1,41 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +# Copyright 2021 Arm Ltd. > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/perf/arm,dsu-pmu.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ARM DynamIQ Shared Unit (DSU) Performance Monitor Unit (PMU) > + > +maintainers: > + - Suzuki K Poulose > + - Robin Murphy > + > +description: > + ARM DyanmIQ Shared Unit (DSU) integrates one or more CPU cores with a shared nit: DynamIQ. I understand I am the one to blame for ;-) Rest looks good to me. Acked-by: Suzuki K Poulose _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel