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 A08E8E7E632 for ; Tue, 26 Sep 2023 13:04:28 +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: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To: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=7D3pL26mx9y8fnz2RG3VFtRoAeBcSGmj85EQrxW/fw4=; b=EKbrydPO7NMTpiiqJLyosphpN8 HC70fu2BldYFCFV6hcTURV0uwLiN3s0lAQ2wXUgyqIcQ+CK289uT9J0JItAPStH3dMHvsXzIekIJx 7RuY1T/s/VUrszKiTdCNF9YOjEPvck+kXQsdHBn9BDhHzuaxCGqAB2WXTvws6XeVHueTQUExt3ocH 69Gs41nZrzON0rL85kQRNi1wSXscVrhLusMo9YtcFFAkL/4PCdndIxmmf7R7g8VlI8h+1THUKt8xg KdzGDkpLI6v37XGWIcbvqe3S0kT0XpZMcLBP8NQTs1nWbjAYs9FP91bK+2bZCk92SOd6xkf2OIyt9 E5KOwVuA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1ql7jL-00GQku-35; Tue, 26 Sep 2023 13:03:59 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1ql7jI-00GQj8-0W for linux-arm-kernel@lists.infradead.org; Tue, 26 Sep 2023 13:03:58 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 9F32D6149A; Tue, 26 Sep 2023 13:03:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3616EC433C8; Tue, 26 Sep 2023 13:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695733435; bh=wfl6PSkicMbQ19c5+7nPo++8qzhAyuUvd4GKwLBD9XU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fxggefr0ckrs614BmCsTYWKfD6fRHT3XyJsneL9S428wOL+x8Ryg2688/A+pP/fph l3A+u1eNBFLOYKus+axL/QYYfkvHyEql29DwkZabkyMSCuwRQoFB/CN+XzxFPc1xsH ocJa27AGeX4qm3Kyn9/4AI6bPuL+ggm7eqopexPmPjPOqiNBog9x6P9NdQIFDFA3Sv HR6FKgUq7KSd5s33NWHxkIbfFYmYJbpmBnM+0gnZstUjc8+m9VHVKAdXz9lz1OlmEQ kf/Xng3D8F7TRdExhkjJm4R3v7TXmRPT4m2L3gtQoSMXO1SxDIukLV1wAzfnl/IiFM 8P9YOTTTMAHZQ== Date: Tue, 26 Sep 2023 14:03:49 +0100 From: Conor Dooley To: Rob Herring Cc: Michael Riesch , Mauro Carvalho Chehab , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Sylwester Nawrocki , Krzysztof Kozlowski , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] media: dt-bindings: Add missing unevaluatedProperties on child node schemas Message-ID: <20230926-untying-booting-7744376e955b@spud> References: <20230925212803.1976803-1-robh@kernel.org> MIME-Version: 1.0 In-Reply-To: <20230925212803.1976803-1-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230926_060356_285165_E5C365BC X-CRM114-Status: GOOD ( 16.99 ) 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-Type: multipart/mixed; boundary="===============3979139009131167774==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3979139009131167774== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9nLnT1SikReH0C+P" Content-Disposition: inline --9nLnT1SikReH0C+P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 25, 2023 at 04:27:58PM -0500, Rob Herring wrote: > Just as unevaluatedProperties or additionalProperties are required at > the top level of schemas, they should (and will) also be required for > child node schemas. That ensures only documented properties are > present for any node. >=20 > Signed-off-by: Rob Herring Acked-by: Conor Dooley Thanks, Conor. > --- > Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml | 1 + > .../devicetree/bindings/media/i2c/toshiba,tc358746.yaml | 2 ++ > Documentation/devicetree/bindings/media/samsung,fimc.yaml | 1 + > 3 files changed, 4 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml= b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml > index ffccf5f3c9e3..642f9b15d359 100644 > --- a/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml > +++ b/Documentation/devicetree/bindings/media/i2c/sony,imx415.yaml > @@ -54,6 +54,7 @@ properties: > =20 > port: > $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > =20 > properties: > endpoint: > diff --git a/Documentation/devicetree/bindings/media/i2c/toshiba,tc358746= =2Eyaml b/Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml > index c5cab549ee8e..1c476b635b69 100644 > --- a/Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml > +++ b/Documentation/devicetree/bindings/media/i2c/toshiba,tc358746.yaml > @@ -69,6 +69,7 @@ properties: > properties: > port@0: > $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > description: Input port > =20 > properties: > @@ -89,6 +90,7 @@ properties: > =20 > port@1: > $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > description: Output port > =20 > properties: > diff --git a/Documentation/devicetree/bindings/media/samsung,fimc.yaml b/= Documentation/devicetree/bindings/media/samsung,fimc.yaml > index 79ff6d83a9fd..b3486c38a05b 100644 > --- a/Documentation/devicetree/bindings/media/samsung,fimc.yaml > +++ b/Documentation/devicetree/bindings/media/samsung,fimc.yaml > @@ -57,6 +57,7 @@ properties: > patternProperties: > "^port@[01]$": > $ref: /schemas/graph.yaml#/$defs/port-base > + unevaluatedProperties: false > description: > Camera A and camera B inputs. > =20 > --=20 > 2.40.1 >=20 --9nLnT1SikReH0C+P Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRLWtQAKCRB4tDGHoIJi 0pKXAP4vPFXRlytem7/2OyutY69usbQYIokQoAx4XzrGl7bAlgEA9dHgJjs1i5fJ 6g53rKEgA61fFIafEo7ysNfDZs3qjQU= =VkdZ -----END PGP SIGNATURE----- --9nLnT1SikReH0C+P-- --===============3979139009131167774== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============3979139009131167774==--