Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp808012rda; Sun, 22 Oct 2023 10:35:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGs6mKuRYxGcaJVBxK/0LXanhmaiRxlkxWTX6wxgZUbOlMokkE+RchPiplRcejYU/KkjO0q X-Received: by 2002:a17:902:e747:b0:1c3:1c74:5d0a with SMTP id p7-20020a170902e74700b001c31c745d0amr6227614plf.34.1697996141892; Sun, 22 Oct 2023 10:35:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697996141; cv=none; d=google.com; s=arc-20160816; b=EVBQ/AVa+iSoOePGyBrWH6Gg2V61Z8GAPz26JmrMiiXG3dibWL/zsxDtCY76/9UGg0 MszBkU137RSoRaRhGObYDxKnnabOBIjtWVaw8EkrsUU1ZYVx6QTmcw6Q351Z+OLdlg8o XAwRFwL+KBzYGt0g54QGhKcCVnVFK2kyGpgSi82Zj0kCek+dmQmaQMt2SUldLIWGv+mp 26rnzD/JFTWqmsxVeJmAfj6ZxCApsw/9raPQ/2447kaeZOMm6AO0nSr3TGt11KRTIRlZ p9NYZr3uWIPh4Za7YH/4HF27jhw3ROPkIkdLJbN70uHK8kQ8q4F+Kaz0EzDBGs+B9rtM NriQ== 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=2JJGuO4y194GNevfMDsUGg0yZ5mVwlGjyW56KfeFlag=; fh=CAtrJJ0F+4F2TUrrfNStxv7mUMxjahWYSYtxvnsEIAE=; b=v4O0b33LmHtpoDc0Zr+6lUfSTc+8dTQnmJVCslN23kz5YESi1fvKm7ZPSTTqT78qSz 9IQ4RzlvCsabx7oszvV6zam6iYijqSg24FUa1xltJpj1fUspEOOC3qeJ+SOUH7kigUeG AWS/asdGWkXOW/HGA3xcK2Qwl7KSmi2o++r+EkevS/Ig2jXhiQ8Yi5o6/SdR6mdvXELL Uo8ayi2fDz1pmg41NkLy6VPKcGdBKw6yYfwSONWjss9LoHaFGUeCAcSo/0bHszj1dRkT DnxDhkoWX639sZBrkfIecVARdodBzJEpqCwg4Vj/2HG8zAovrl1ES7raCNyMgMdb8aOZ ovbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eLkBckyN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id t18-20020a170902d21200b001c9c9251e05si4752388ply.476.2023.10.22.10.35.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 10:35:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eLkBckyN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id DB2B780739F4; Sun, 22 Oct 2023 10:35:39 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232633AbjJVRfa (ORCPT + 99 others); Sun, 22 Oct 2023 13:35:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232582AbjJVRf3 (ORCPT ); Sun, 22 Oct 2023 13:35:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ABDF0E6; Sun, 22 Oct 2023 10:35:27 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82EADC433C7; Sun, 22 Oct 2023 17:35:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697996127; bh=+RDNXfr09gHQffArCIyEozXJfIbsRgoaUkMmT9nAQcQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eLkBckyNDlVImV6OmWVubPL8xno7BMuzseCqIL3vonmAX2lr7NWo32iXbn7x329lq WBmBv5FKUlX0Zen72FOVJfSeggC712Wl6JuCOuCd9IR55st2uLprrpMjZ9fUZZ+eVl XbTqr7uvU8iA3/c+NKe+NkPGnZFOGzZ4WB7QjxBE8NFvv1q7DFvKk0fRHfpUTM/Yy3 ELu7ofnQHMlVeT+01DnzQFIlZWEv+NgxtPfcVXY+AHciEFXx5Y7Cc9hRDUCY33aW9Q FQ7k1H0JkowwcDWor3eSXTsmSLuFfhcKBt1LnWIYRYBvkfhBCXSVXyDBTlJHKx1pyD 2tcWgJrfdaG6A== Date: Sun, 22 Oct 2023 18:35:22 +0100 From: Conor Dooley To: Rob Herring Cc: Avi Fishman , Tomer Maimon , Tali Perry , Patrick Venture , Nancy Yuen , Benjamin Fair , Linus Walleij , Krzysztof Kozlowski , Conor Dooley , openbmc@lists.ozlabs.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dt-bindings: pinctrl: nuvoton,npcm845: Add missing additionalProperties on gpio child nodes Message-ID: <20231022-imprison-gruffly-7a54a48918a6@spud> References: <20231020170017.3610978-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zjBK80u1y4Q2cFRB" Content-Disposition: inline In-Reply-To: <20231020170017.3610978-1-robh@kernel.org> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Sun, 22 Oct 2023 10:35:40 -0700 (PDT) --zjBK80u1y4Q2cFRB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 20, 2023 at 12:00:16PM -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. Add the missing addtionalProperties to the 'gpio' > child nodes. >=20 > Signed-off-by: Rob Herring Acked-by: Conor Dooley Thanks, Conor. > --- > .../devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pi= nctrl.yaml b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinc= trl.yaml > index e4b9f3da2cf0..3e8472898800 100644 > --- a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.y= aml > +++ b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.y= aml > @@ -35,6 +35,7 @@ properties: > patternProperties: > '^gpio@': > type: object > + additionalProperties: false > =20 > description: > Eight GPIO banks that each contain 32 GPIOs. > --=20 > 2.42.0 >=20 --zjBK80u1y4Q2cFRB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZTVdWgAKCRB4tDGHoIJi 0nCNAQC4n/8blQKppMM0k1acuJdQK7No/wYvFuR+achfFZtDgQEA42l10lATlk8v JinAMIUTJAq/UBAw9oma3JH5StDPDwo= =sxmL -----END PGP SIGNATURE----- --zjBK80u1y4Q2cFRB--