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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B11F4C4363D for ; Wed, 7 Oct 2020 22:48:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7BF7521531 for ; Wed, 7 Oct 2020 22:48:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728897AbgJGWsi (ORCPT ); Wed, 7 Oct 2020 18:48:38 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38265 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727353AbgJGWsi (ORCPT ); Wed, 7 Oct 2020 18:48:38 -0400 X-Greylist: delayed 500 seconds by postgrey-1.27 at vger.kernel.org; Wed, 07 Oct 2020 18:48:33 EDT X-Originating-IP: 90.65.88.165 Received: from localhost (lfbn-lyo-1-1908-165.w90-65.abo.wanadoo.fr [90.65.88.165]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id D577D1BF203; Wed, 7 Oct 2020 22:48:27 +0000 (UTC) Date: Thu, 8 Oct 2020 00:48:27 +0200 From: Alexandre Belloni To: Rob Herring Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Albert Ou , Alessandro Zummo , Andrew Lunn , Bjorn Helgaas , Chanwoo Choi , Daniel Lezcano , "David S. Miller" , dmaengine@vger.kernel.org, Dmitry Torokhov , dri-devel@lists.freedesktop.org, Greg Kroah-Hartman , Heiner Kallweit , Jakub Kicinski , Jason Cooper , Jens Axboe , Jonathan Cameron , Krzysztof Kozlowski , Lars-Peter Clausen , Laurent Pinchart , Lee Jones , Liam Girdwood , Linus Walleij , Marc Kleine-Budde , Marc Zyngier , Mark Brown , Mathieu Poirier , Mauro Carvalho Chehab , Miquel Raynal , MyungJoo Ham , Palmer Dabbelt , Paul Walmsley , Pavel Machek , Peter Meerwald-Stadler , Richard Weinberger , Sam Ravnborg , Sebastian Reichel , Srinivas Kandagatla , Stephen Boyd , Thierry Reding , Thomas Bogendoerfer , Thomas Gleixner , Ulf Hansson , Vignesh Raghavendra , Vinod Koul , Viresh Kumar , Vivien Didelot , Wim Van Sebroeck , Wolfgang Grandegger , Zhang Rui , linux-arm-kernel@lists.infradead.org, linux-can@vger.kernel.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-i2c@vger.kernel.org, linux-ide@vger.kernel.org, linux-iio@vger.kernel.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org, linux-media@vger.kernel.org, linux-mips@vger.kernel.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pci@vger.kernel.org, linux-pm@vger.kernel.org, linux-pwm@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rtc@vger.kernel.org, linux-serial@vger.kernel.org, linux-spi@vger.kernel.org, linux-usb@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: Re: [PATCH 1/4] dt-bindings: Add missing 'unevaluatedProperties' Message-ID: <20201007224827.GK2804081@piout.net> References: <20201005183830.486085-1-robh@kernel.org> <20201005183830.486085-2-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201005183830.486085-2-robh@kernel.org> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, On 05/10/2020 13:38:27-0500, Rob Herring wrote: > diff --git a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml > index bc2c7e53a28e..60e93e86ad9d 100644 > --- a/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/ingenic,rtc.yaml > @@ -68,6 +68,8 @@ required: > - clocks > - clock-names > > +unevaluatedProperties: false This one could be additionalProperties: false after adding start-year to the properties > + > examples: > - | > #include > diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > index 76bbf8b7555b..d51b236939bf 100644 > --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > +++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml > @@ -74,6 +74,8 @@ allOf: > items: > - const: rtc > > +unevaluatedProperties: false This one can be simply additionalProperties: false -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com