Subject: Re: [PATCH] dt-bindings: Use 'enum' instead of 'oneOf' plus 'const' entries

From: Mauro Carvalho Chehab <[email-masked]>
Date: Mon, 6 Sep 2021 12:40:11 +0200

Em Tue, 24 Aug 2021 15:20:14 -0500
Rob Herring <[email-masked]> escreveu:

> 'enum' is equivalent to 'oneOf' with a list of 'const' entries, but 'enum'
> is more concise and yields better error messages.
> 
> Cc: Vinod Koul <[email-masked]>
> Cc: Maxime Ripard <[email-masked]>
> Cc: Vignesh R <[email-masked]>
> Cc: Marc Zyngier <[email-masked]>
> Cc: Sakari Ailus <[email-masked]>
> Cc: Mauro Carvalho Chehab <[email-masked]>
> Cc: Lee Jones <[email-masked]>
> Cc: "David S. Miller" <[email-masked]>
> Cc: Jakub Kicinski <[email-masked]>
> Cc: Bjorn Helgaas <[email-masked]>
> Cc: Kishon Vijay Abraham I <[email-masked]>
> Cc: Greg Kroah-Hartman <[email-masked]>
> Cc: Mark Brown <[email-masked]>
> Cc: Daniel Lezcano <[email-masked]>
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Cc: [email-masked]
> Signed-off-by: Rob Herring <[email-masked]>
> ---
>  .../bindings/display/msm/dsi-phy-10nm.yaml           |  6 +++---
>  .../bindings/display/msm/dsi-phy-14nm.yaml           |  6 +++---
>  .../bindings/display/msm/dsi-phy-28nm.yaml           |  8 ++++----
>  .../bindings/dma/allwinner,sun6i-a31-dma.yaml        | 12 ++++++------
>  .../devicetree/bindings/firmware/arm,scpi.yaml       |  6 +++---
>  .../devicetree/bindings/i2c/ti,omap4-i2c.yaml        | 10 +++++-----
>  .../interrupt-controller/loongson,liointc.yaml       |  8 ++++----

>  .../devicetree/bindings/media/i2c/mipi-ccs.yaml      |  8 ++++----

For media:

Acked-by: Mauro Carvalho Chehab <[email-masked]>

Thanks,
Mauro