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 01797C433F5 for ; Tue, 14 Dec 2021 14:44:18 +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=wwM2kLX7+TAoxMdhb1yFsxpSutqHT5DDGojLhy3HMQU=; b=ZH6D+GvZcrVX7d UwpPT/xpDpZF9i66SkoQA1oPmHE68g8EGS0odfOHfUxI+thYl5K0qJTPMAW0RrIh2Hjc6b5A3n4rV HK0PEjstNtYjhhxpnzlW/DbWwvbenEi5mN5GXscKssGCD3WHjr+Qm09C3dGCfj9FgmEEbunWy7wdK Mma+XbNKbHER1ZlwqZjKd00ymZj4IISXo/nHcWObPiTpo6hAh87nvAOQ/rfEicM4JQX0A8tj002KA BlBh4Jlr438Wz+NBzKOql0f1g8BfNn7npKMZQBaZvUKfhGVOux/OXwgMzA3K7/u5pK9nd8Z5i8iLX 1fgoF9Lc1QGnKrPfx6TQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mx90t-00ETTp-E6; Tue, 14 Dec 2021 14:42:43 +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 1mx90q-00ETT6-Kf for linux-arm-kernel@lists.infradead.org; Tue, 14 Dec 2021 14:42: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 616FF6D; Tue, 14 Dec 2021 06:42:39 -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 1631E3F774; Tue, 14 Dec 2021 06:42:37 -0800 (PST) Message-ID: Date: Tue, 14 Dec 2021 14:42:36 +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 5/5] dt-bindings: perf: Add compatible for Arm DSU-110 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: <51a8060493e1220886dcd468fad9a2b603607297.1639490264.git.robin.murphy@arm.com> From: Suzuki K Poulose In-Reply-To: <51a8060493e1220886dcd468fad9a2b603607297.1639490264.git.robin.murphy@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211214_064240_770585_3C9DFD95 X-CRM114-Status: GOOD ( 15.48 ) 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: > DSU-110 is the newest and shiniest for Armv9. Its programmer's model is > largely identical to the previous generation of DSUs, so we can treat it > as compatible, but it does have a a handful of extra IMP-DEF PMU events > to call its own. Thanks to the new notion of core complexes, the maximum > number of supported CPUs goes up as well. > > Signed-off-by: Robin Murphy > --- > > v2: Also make it complete and valid > > Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml b/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml > index 09ddeb6a3ccc..7f31bcecedb5 100644 > --- a/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml > +++ b/Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml > @@ -21,7 +21,11 @@ description: > > properties: > compatible: > - const: arm,dsu-pmu > + oneOf: > + - const: arm,dsu-pmu > + - items: > + - const: arm,dsu-110-pmu > + - const: arm,dsu-pmu Couldn't this be : compatible: oneOf: - const: arm,dsu-110-pmu - const: arm,dsu-pmu Otherwise, looks good to me. Suzuki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel