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 robh@kernel.org
To: Krzysztof Kozlowski krzysztof.kozlowski+dt@linaro.org To: David Airlie airlied@gmail.com To: Daniel Vetter daniel@ffwll.ch To: Bartosz Golaszewski brgl@bgdev.pl To: Jean Delvare jdelvare@suse.com To: Guenter Roeck linux@roeck-us.net To: Thomas Gleixner tglx@linutronix.de To: Marc Zyngier maz@kernel.org To: Jassi Brar jassisinghbrar@gmail.com To: Mauro Carvalho Chehab mchehab@kernel.org To: Lee Jones lee@kernel.org To: Ulf Hansson ulf.hansson@linaro.org To: Richard Weinberger richard@nod.at To: Vignesh Raghavendra vigneshr@ti.com To: Sebastian Reichel sre@kernel.org To: Mark Brown broonie@kernel.org To: "Rafael J. Wysocki" rafael@kernel.org To: Daniel Lezcano daniel.lezcano@linaro.org To: Greg Kroah-Hartman gregkh@linuxfoundation.org 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 gregkh@linuxfoundation.org