From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 018661110 for ; Wed, 24 Aug 2022 08:46:52 +0000 (UTC) Received: from ip5b412258.dynamic.kabel-deutschland.de ([91.65.34.88] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oQm1r-0001su-EQ; Wed, 24 Aug 2022 10:46:27 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Lee Jones , Krzysztof Kozlowski , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Charles Keepax , Richard Fitzgerald , Tim Harvey , Robert Jones , Chanwoo Choi , Bartlomiej Zolnierkiewicz , Fabrice Gasnier , Maxime Coquelin , Alexandre Torgue , Maxime Ripard , - , Steve Twiss , Chris Zhong , Zhang Qing , Alistair Francis , Amelie Delaunay , Linus Walleij , Renner Berthing , Rob Herring Cc: Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH] dt-bindings: mfd: Add missing (unevaluated|additional)Properties on child nodes Date: Wed, 24 Aug 2022 10:46:26 +0200 Message-ID: <3510508.BEx9A2HvPv@diego> In-Reply-To: <20220823145649.3118479-4-robh@kernel.org> References: <20220823145649.3118479-4-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Am Dienstag, 23. August 2022, 16:56:35 CEST schrieb Rob Herring: > In order to ensure only documented properties are present, node schemas > must have unevaluatedProperties or additionalProperties set to false > (typically). > > Signed-off-by: Rob Herring > --- > .../bindings/mfd/rockchip,rk817.yaml | 2 + > diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml > index bfc1720adc43..9b2378312ce2 100644 > --- a/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml > +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk817.yaml > @@ -87,6 +87,7 @@ properties: > patternProperties: > "^(LDO_REG[1-9]|DCDC_REG[1-4]|BOOST|OTG_SWITCH)$": > type: object > + unevaluatedProperties: false > $ref: ../regulator/regulator.yaml# > unevaluatedProperties: false > > @@ -111,6 +112,7 @@ properties: > additional properties are required for the codec, this node can be > omitted. > type: object > + additionalProperties: false > properties: > rockchip,mic-in-differential: > type: boolean Acked-by: Heiko Stuebner