[PATCH] dt-bindings: More use 'enum' instead of 'oneOf' plus 'const' entries

Mark Brown broonie at kernel.org
Fri Sep 10 16:54:53 UTC 2021


On Fri, Sep 10, 2021 at 11:51:53AM -0500, Rob Herring wrote:

> 'enum' is equivalent to 'oneOf' with a list of 'const' entries, but 'enum'
> is more concise and yields better error messages.

Acked-by: Mark Brown <broonie at kernel.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210910/580058cf/attachment.sig>


More information about the dri-devel mailing list