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 76915C433FE for ; Wed, 15 Dec 2021 16:41:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244935AbhLOQlI (ORCPT ); Wed, 15 Dec 2021 11:41:08 -0500 Received: from foss.arm.com ([217.140.110.172]:57404 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244903AbhLOQlG (ORCPT ); Wed, 15 Dec 2021 11:41:06 -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 28FDA6D; Wed, 15 Dec 2021 08:41:06 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.67.176]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C4D5E3F5A1; Wed, 15 Dec 2021 08:41:04 -0800 (PST) Date: Wed, 15 Dec 2021 16:41:02 +0000 From: Mark Rutland To: David Heidelberg Cc: Daniel Lezcano , Thomas Gleixner , Rob Herring , Marc Zyngier , Caleb Connolly , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH] dt-bindings: timer: add #size-cells 2 for ARM Message-ID: References: <20211215144500.64284-1-david@ixit.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211215144500.64284-1-david@ixit.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 15, 2021 at 03:45:00PM +0100, David Heidelberg wrote: > It's already widely used by dt-schemas, so I blindly assume it's correct. > > Fixes warnings as: > arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dt.yaml: timer@17c90000: #size-cells:0:0: 1 was expected > From schema: Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml > > Signed-off-by: David Heidelberg FWIW, that makes sense to me, so: Acked-by: Mark Rutland I assume Rob will pick this (or otherwise correct me). Thanks, Mark. > --- > .../devicetree/bindings/timer/arm,arch_timer_mmio.yaml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml > index cd2176cad53a..c061bb90b8e7 100644 > --- a/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml > +++ b/Documentation/devicetree/bindings/timer/arm,arch_timer_mmio.yaml > @@ -30,7 +30,7 @@ properties: > enum: [1, 2] > > '#size-cells': > - const: 1 > + enum: [1, 2] > > ranges: true > > -- > 2.34.1 >