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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 78179E7E631 for ; Tue, 26 Sep 2023 12:59:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234744AbjIZM7w (ORCPT ); Tue, 26 Sep 2023 08:59:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234776AbjIZM7p (ORCPT ); Tue, 26 Sep 2023 08:59:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11E21116; Tue, 26 Sep 2023 05:59:39 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E522BC433CA; Tue, 26 Sep 2023 12:59:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695733178; bh=TLCs3n5dqhYri+xLFFn0lVxrMbmnBABrauc91osBr80=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tDgZ1AXh5tSnQkMwmmaCnqn5Rvz2rENT+ec1NjUFuAaNbmgX+GyHvU4VA6P3/7e2e mzgX3vFxRtOk+V9Zi2Bztld21I76DY2BwipbDIAGB1Y8VdRmW8hdDzoS+k/x3F8Hct niNCytjBZUrooSbnoJ0hwfQ1JjdlTKNXI0QV97f+USnImIKJgPwao+LRHMEDmcRoKv HzknT1JKeDkymq3M1ELizbz7/sRezbNc2Hfj75o4k9eAIlKye3dUdxRlqS5iq7kJFt 0cAqNbCd8sJNM46cGca8koFuN4xUdJo++gH0eqDXn8SKopMi0KBWSBBNBzWvh+qcns 99ms6z6ZKeeGA== Date: Tue, 26 Sep 2023 13:59:32 +0100 From: Conor Dooley To: Rob Herring Cc: Mark Brown , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Thierry Reding , Jonathan Hunter , Heiko Stuebner , Serge Semin , Maxime Ripard , Chris Morgan , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH] spi: dt-bindings: Make "additionalProperties: true" explicit Message-ID: <20230926-swung-duplex-b01be7f91e58@spud> References: <20230925212614.1974243-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gCWkt9qgvYzcx0LY" Content-Disposition: inline In-Reply-To: <20230925212614.1974243-1-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org --gCWkt9qgvYzcx0LY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 25, 2023 at 04:26:00PM -0500, Rob Herring wrote: > Make it explicit that child nodes have additional properties and the > child node schema is not complete. The complete schemas are applied > separately based the compatible strings. >=20 > Signed-off-by: Rob Herring Acked-by: Conor Dooley Thanks, Conor. > --- > .../devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml | 2 ++ > .../devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml | 2 ++ > Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml | 1 + > Documentation/devicetree/bindings/spi/rockchip-sfc.yaml | 2 ++ > Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml | 2 ++ > 5 files changed, 9 insertions(+) >=20 > diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-sp= i.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml > index a6f34bdd1d3c..e1ab3f523ad6 100644 > --- a/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml > +++ b/Documentation/devicetree/bindings/spi/allwinner,sun4i-a10-spi.yaml > @@ -46,6 +46,8 @@ properties: > patternProperties: > "^.*@[0-9a-f]+": > type: object > + additionalProperties: true > + > properties: > reg: > items: > diff --git a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-sp= i.yaml b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > index 28b8ace63044..3b47b68b92cb 100644 > --- a/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > +++ b/Documentation/devicetree/bindings/spi/allwinner,sun6i-a31-spi.yaml > @@ -68,6 +68,8 @@ properties: > patternProperties: > "^.*@[0-9a-f]+": > type: object > + additionalProperties: true > + > properties: > reg: > items: > diff --git a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.y= aml b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml > index 9ae1611175f2..48e97e240265 100644 > --- a/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml > +++ b/Documentation/devicetree/bindings/spi/nvidia,tegra210-quad.yaml > @@ -50,6 +50,7 @@ properties: > patternProperties: > "@[0-9a-f]+$": > type: object > + additionalProperties: true > =20 > properties: > spi-rx-bus-width: > diff --git a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml b/Do= cumentation/devicetree/bindings/spi/rockchip-sfc.yaml > index 339fb39529f3..ac1503de0478 100644 > --- a/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml > +++ b/Documentation/devicetree/bindings/spi/rockchip-sfc.yaml > @@ -47,6 +47,8 @@ properties: > patternProperties: > "^flash@[0-3]$": > type: object > + additionalProperties: true > + > properties: > reg: > minimum: 0 > diff --git a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml b= /Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > index a47cb144b09f..6348a387a21c 100644 > --- a/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > +++ b/Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml > @@ -160,6 +160,8 @@ properties: > patternProperties: > "^.*@[0-9a-f]+$": > type: object > + additionalProperties: true > + > properties: > reg: > minimum: 0 > --=20 > 2.40.1 >=20 --gCWkt9qgvYzcx0LY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZRLVtAAKCRB4tDGHoIJi 0hR8AP9Ava8cYYj5GVL2Hut1w6uRkN/b4Faq6JdqruwkatygOAEAiy5idBiTw+di gDi3f58ACPRbv1uC/Zp+MwgXWqAZWgc= =hqIu -----END PGP SIGNATURE----- --gCWkt9qgvYzcx0LY--