Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1881780rdh; Tue, 26 Sep 2023 06:27:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHk2MewP78bPV8le4qjAPlrTy71zr5j+HcXpPstdhqqoVq/7OnNDCYHU2ffauAkNAyJ8zcK X-Received: by 2002:a05:6a20:4299:b0:15d:a69e:2503 with SMTP id o25-20020a056a20429900b0015da69e2503mr13256260pzj.5.1695734868544; Tue, 26 Sep 2023 06:27:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695734868; cv=none; d=google.com; s=arc-20160816; b=pV10BUUEllhFJqSPHhe/kXr/jQTcgjphizT0DdNfIqlb7uAfRld210Tun6kNP+wApB nRjECDm1AgpTnauo28yQnkEs+SY5LT/2YT5IlcZt3mQ/IYNaX4IfeT5k17Y8buDAXUZf qaaKq9xAhbo19DRjVkr2bliqB21TulNL6QZwOBqljA/SE3AbT7janMUBlGhA/BNtbE2k oA7nMtTU9OufXAIiUkJx6hqzDI9rVdvKQepxH5aJkrj9pTnr1JG4zOjwUlp8lfBfACM5 XxXhB4/1rGrYH90dnu8Vgb+zd5yZyVJxMT6sswB231XHDHCsrsn4tzGDirWWlK/x2QoE 3vgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=PLEqjQIXElgfapE+6+Zt4HrTs05smv36g3EAJakvoKY=; fh=V0oC7bkC8i8AZndxvlvOySimRgUAbG7tJhU2KBiTTjg=; b=TBjjtaMqRVAA5MmN9lJQCIXruxoV37FkxG0LBiPPm5CYM5i62NHhIJFv0UpcMkzepB 8XpSJzPBqlTqyyOFdfm0xZTH8hUUFXaXmnc3/4iP09jHO+1v6SALtPm6Yj01/Eacupsh 2pmoxsiDBJzPU7oIx1wTlfzL6UG9wC/GNjZAU+LQ7UL96RxLAYT/4iUXwl86eTCRGJ3y Bb+35sfNUHbFhiZF52nFn9InPuZjW6gie3OShkkKKqazQtY0OLNMdov2uLkc3HiPCslG MxDmLp+Mtv7jcJL9R1L0gfZhECgAb6WU2Gq0ZNEtTpToM0GBu3u0aNknMFcTRsJwxeLE 34LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tDgZ1AXh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id ij9-20020a170902ab4900b001c5e1816251si7351907plb.497.2023.09.26.06.27.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 06:27:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tDgZ1AXh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id D5133826EB99; Tue, 26 Sep 2023 05:59:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234712AbjIZM74 (ORCPT + 99 others); Tue, 26 Sep 2023 08:59:56 -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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 26 Sep 2023 05:59:59 -0700 (PDT) --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--