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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5C009C32793 for ; Wed, 24 Aug 2022 08:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DhnW6nsmOaQfbDgR5D8PcsduZkL8PNjdA4w4HXTadWA=; b=4b3Mh98pDgBDGH 3jL1pP5jQJCXckwXcA29+IC7bqbFP3SFK7vFdCMsLLzV6cGLlhiupDHILoe0/QMOwGKcuQBB/PppR CsyVIX8v8oCZY/4gcd6FZhUT2XJiirgHX542OW/RslSGj3GicgPNFniY7PGl8IThm90hywQAMeQMe l8swFvrDAybeyMlVefbK/J5zHDBscch1rhctBThoADZuEg37rmVxSgBFUcUruRzaE97mzANNSzrG/ cPxl3B8FucBECMNnFH/1E7X7nGoK4pah8BXp4ev6YMeNxznm3uvF6OnOxQyVDfOVJzVozVCU1PpE4 0aDf3X2zmJ4MLcyGegUw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQm2Q-00BZIW-Lg; Wed, 24 Aug 2022 08:47:02 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oQm2O-00BZGy-11; Wed, 24 Aug 2022 08:47:01 +0000 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> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220824_014700_095340_5B90603A X-CRM114-Status: GOOD ( 14.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel