From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C9FED2770B for ; 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> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9nLnT1SikReH0C+P" Content-Disposition: inline In-Reply-To: <20230925212803.1976803-1-robh@kernel.org> --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--