[PATCH] dt-bindings: display: mediatek: simplify compatibles syntax

Rob Herring robh at kernel.org
Tue Apr 18 20:53:18 UTC 2023


On Fri, 14 Apr 2023 10:33:11 +0200, Krzysztof Kozlowski wrote:
> Lists (items) with one item should be just enum because it is shorter,
> simpler and does not confuse, if one wants to add new entry with a
> fallback.  Convert all of them to enums.  OTOH, leave unused "oneOf"
> entries in anticipation of further growth of the entire binding.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> 
> ---
> 
> Cc: angelogioacchino.delregno at collabora.com
> ---
>  .../bindings/display/mediatek/mediatek,ccorr.yaml   |  7 +++----
>  .../bindings/display/mediatek/mediatek,color.yaml   | 10 ++++------
>  .../bindings/display/mediatek/mediatek,dither.yaml  |  4 ++--
>  .../bindings/display/mediatek/mediatek,dsc.yaml     |  4 ++--
>  .../bindings/display/mediatek/mediatek,gamma.yaml   |  7 +++----
>  .../bindings/display/mediatek/mediatek,merge.yaml   |  7 +++----
>  .../bindings/display/mediatek/mediatek,od.yaml      |  7 +++----
>  .../bindings/display/mediatek/mediatek,ovl-2l.yaml  |  7 +++----
>  .../bindings/display/mediatek/mediatek,ovl.yaml     | 13 +++++--------
>  .../display/mediatek/mediatek,postmask.yaml         |  4 ++--
>  .../bindings/display/mediatek/mediatek,rdma.yaml    | 13 +++++--------
>  .../bindings/display/mediatek/mediatek,split.yaml   |  4 ++--
>  .../bindings/display/mediatek/mediatek,ufoe.yaml    |  4 ++--
>  .../bindings/display/mediatek/mediatek,wdma.yaml    |  4 ++--
>  14 files changed, 41 insertions(+), 54 deletions(-)
> 

Applied, thanks!



More information about the dri-devel mailing list