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 617A3C02194 for ; Tue, 4 Feb 2025 19:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OjzT0jwt3qHo9D11Dt/QfZ2CIwAlSsdVvix5GLESIKA=; b=1vzZf6rePQBCMYRdSATjjgIYYu 4UdeG1VB0D6bkVgWOu3uyNllAiKE+u1wet1YYcgVjTxqJ4fNbzY9EteMMGwlyC5z0oKw2MM9gn/md ghYQaFIH9ZMDjUIeOBtOJA/9opdLIba8yYdzQ18dk43JYrycbE2lJZwEfeHHjuXuaxutUf1hkFSsb OeEpZ/taGdWn3H6O81PIJxc8mkQe1Af3fxI/U7Ba6Kxnrsfw3pQEtmxhFvEudQn8zI+qffhscsgNc e56Rp5dsQepwSfXRnIZBLKlwHw0q1Dz1+0e/CO/GpMqWQQQLo+34XxIyle85pSV38gI69xSNRO2iu /lRXk/mQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tfOpM-00000001OdQ-3jxC; Tue, 04 Feb 2025 19:43:20 +0000 Received: from nyc.source.kernel.org ([147.75.193.91]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tfOn9-00000001O3F-3lt0; Tue, 04 Feb 2025 19:41:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 0BD40A42C6F; Tue, 4 Feb 2025 19:39:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1D36C4CEDF; Tue, 4 Feb 2025 19:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1738698062; bh=JsbdS+VSX2zerX1EGa50DMfTtA6lRcOiTssSk+CZwtw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PLk5XcgTS8zIYGhlOdpqvLx4nMj4veKaBYppmoKrbHGYIAvuUyOZOriXpu6u7jcp6 Qq0HI9kRBtRc4Wazlq2oZzCd4xUmbqdToz1Xt3YhI9/ldRRKuAhGCKMuNAbrnAZi+J ydyRWaUDz+WW0sejDhltNYpgyEdzMl1RMhXuM4Nh4auUW8iviBusUT5afIZP/8PVpT pmrYnrSkIeQOWaiSGooPp4abObgc3ENmBLEwEqhWMiBPhdRZxrBfUWIQrcbNvSF57W 23hj1qMA3ZA4tEQWPHURkDUc1Hn2g3eeVP9wi2GmmEU75igeGeDqEfNHPHGuL82EHv xZlyudll+yfUg== Date: Tue, 4 Feb 2025 19:40:58 +0000 From: Conor Dooley To: "Rob Herring (Arm)" Cc: Linus Walleij , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: mtd: physmap: Ensure all properties are defined Message-ID: <20250204-craftsman-sandbag-9fa200d77398@spud> References: <20250203213036.9816-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KnjCQsogAgVBMdmo" Content-Disposition: inline In-Reply-To: <20250203213036.9816-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250204_114104_000475_3E4E34CB X-CRM114-Status: GOOD ( 15.32 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --KnjCQsogAgVBMdmo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 03, 2025 at 03:30:35PM -0600, Rob Herring (Arm) wrote: > Device specific schemas should not allow undefined properties which is > what 'additionalProperties: true' allows. Add the missing 'ranges' > property, and fix this constraint. >=20 > Signed-off-by: Rob Herring (Arm) > --- > Documentation/devicetree/bindings/mtd/mtd-physmap.yaml | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml b/Doc= umentation/devicetree/bindings/mtd/mtd-physmap.yaml > index 18f6733408b4..1b375dee83b0 100644 > --- a/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml > +++ b/Documentation/devicetree/bindings/mtd/mtd-physmap.yaml > @@ -122,6 +122,8 @@ properties: > '#size-cells': > const: 1 > =20 > + ranges: true > + > big-endian: true > little-endian: true > =20 > @@ -143,8 +145,7 @@ then: > required: > - syscon > =20 > -# FIXME: A parent bus may define timing properties > -additionalProperties: true > +unevaluatedProperties: false I dunno what that comment has to do with anything? If a parent bus defined properties, wouldn't they be in the parent bus? Acked-by: Conor Dooley --KnjCQsogAgVBMdmo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZ6JtSgAKCRB4tDGHoIJi 0u+EAPwLj8afRS9DROXhuBoSq8kHCpjNNFQq0nFa1KEOjQdxXwEAl20Xpr5iCHJo iVXHQHmfO7DLyTkbo9WTdRnmtgORsQY= =9cHz -----END PGP SIGNATURE----- --KnjCQsogAgVBMdmo--