[PATCH 3/3] dt-bindings: Fix errors in 'if' schemas

Maxime Ripard maxime at cerno.tech
Wed Feb 3 08:22:22 UTC 2021


On Tue, Feb 02, 2021 at 02:55:44PM -0600, Rob Herring wrote:
> Properties in if/then schemas weren't getting checked by the meta-schemas.
> Enabling meta-schema checks finds several errors.
> 
> The use of an 'items' schema (as opposed to the list form) is wrong in
> some cases as it applies to all entries. 'contains' is the correct schema
> to use in the case of multiple entries.
> 
> Cc: Herbert Xu <herbert at gondor.apana.org.au>
> Cc: "David S. Miller" <davem at davemloft.net>
> Cc: Maxime Ripard <mripard at kernel.org>
> Cc: Chen-Yu Tsai <wens at csie.org>
> Cc: Eric Anholt <eric at anholt.net>
> Cc: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> Cc: Florian Fainelli <f.fainelli at gmail.com>
> Cc: Ray Jui <rjui at broadcom.com>
> Cc: Scott Branden <sbranden at broadcom.com>
> Cc: Pavel Machek <pavel at ucw.cz>
> Cc: Ulf Hansson <ulf.hansson at linaro.org>
> Cc: Kishon Vijay Abraham I <kishon at ti.com>
> Cc: Vinod Koul <vkoul at kernel.org>
> Cc: Geert Uytterhoeven <geert+renesas at glider.be>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Daniel Lezcano <daniel.lezcano at linaro.org>
> Cc: linux-crypto at vger.kernel.org
> Cc: dri-devel at lists.freedesktop.org
> Cc: linux-leds at vger.kernel.org
> Cc: linux-mmc at vger.kernel.org
> Cc: linux-gpio at vger.kernel.org
> Signed-off-by: Rob Herring <robh at kernel.org>

Acked-by: Maxime Ripard <mripard at kernel.org>

Maxime
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210203/d3f9f44b/attachment-0001.sig>


More information about the dri-devel mailing list