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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 6AFFEC27C76 for ; Wed, 25 Jan 2023 14:35:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 42A0510E7E4; Wed, 25 Jan 2023 14:35:09 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 1CE7C10E7E4 for ; Wed, 25 Jan 2023 14:35:06 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 29D7661519; Wed, 25 Jan 2023 14:35:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17329C4339C; Wed, 25 Jan 2023 14:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1674657305; bh=DwE0aciCS7m1CLloDdEbT7AoS3V1fBrqXEptGTtb0rM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Affl/NlCjExKztE4qzigDJQkInvfvtCIrYxIvlFxplAQlFKKBKPjPicyergcu0VEs mnldq2oV5JNcE2Q7uuFLlFFERUT6cYcWS0cyde5uyy2oTCzp/RaPABF65YcrGxK61o PknfYSDA12Xv0MtPGnatIXO/wxd3AjIIhGAS5G1o= Date: Wed, 25 Jan 2023 15:35:02 +0100 From: Greg Kroah-Hartman To: Rob Herring Subject: Re: [PATCH] dt-bindings: Add missing (unevaluated|additional)Properties on child node schemas Message-ID: References: <20230124230048.371144-1-robh@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230124230048.371144-1-robh@kernel.org> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulf Hansson , Daniel Lezcano , Vignesh Raghavendra , "Rafael J. Wysocki" , alsa-devel@alsa-project.org, dri-devel@lists.freedesktop.org, linux-mtd@lists.infradead.org, Lee Jones , Krzysztof Kozlowski , Marc Zyngier , Bartosz Golaszewski , Jassi Brar , Guenter Roeck , linux-media@vger.kernel.org, Jean Delvare , linux-pm@vger.kernel.org, linux-gpio@vger.kernel.org, Mark Brown , Thomas Gleixner , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-hwmon@vger.kernel.org, linux-usb@vger.kernel.org, linux-mmc@vger.kernel.org, Sebastian Reichel , linux-spi@vger.kernel.org, Richard Weinberger , openbmc@lists.ozlabs.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Tue, Jan 24, 2023 at 05:00:48PM -0600, 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. > > Add unevaluatedProperties or additionalProperties as appropriate, and > then add any missing properties flagged by the addition. > > Signed-off-by: Rob Herring > --- > To: Krzysztof Kozlowski > To: David Airlie > To: Daniel Vetter > To: Bartosz Golaszewski > To: Jean Delvare > To: Guenter Roeck > To: Thomas Gleixner > To: Marc Zyngier > To: Jassi Brar > To: Mauro Carvalho Chehab > To: Lee Jones > To: Ulf Hansson > To: Richard Weinberger > To: Vignesh Raghavendra > To: Sebastian Reichel > To: Mark Brown > To: "Rafael J. Wysocki" > To: Daniel Lezcano > To: Greg Kroah-Hartman > Cc: linux-arm-kernel@lists.infradead.org > Cc: dri-devel@lists.freedesktop.org > Cc: linux-gpio@vger.kernel.org > Cc: linux-hwmon@vger.kernel.org > Cc: linux-media@vger.kernel.org > Cc: openbmc@lists.ozlabs.org > Cc: linux-mmc@vger.kernel.org > Cc: linux-mtd@lists.infradead.org > Cc: linux-pm@vger.kernel.org > Cc: alsa-devel@alsa-project.org > Cc: linux-spi@vger.kernel.org > Cc: linux-usb@vger.kernel.org Acked-by: Greg Kroah-Hartman