dt-bindings: display: mediatek: simplify compatibles syntax
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 14 Apr 2023 08:33:11 +0000 (10:33 +0200)
committerRob Herring <robh@kernel.org>
Tue, 18 Apr 2023 23:46:20 +0000 (18:46 -0500)
commit112d5560a0678f5cea0f242ac576eefafed2a9e7
tree74441c04327ec902940e9ddb69044158f93b4e52
parenta31a6c2465a368e2c40b8d768aa682b92743f33e
dt-bindings: display: mediatek: simplify compatibles syntax

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@linaro.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20230414083311.12197-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>
14 files changed:
Documentation/devicetree/bindings/display/mediatek/mediatek,ccorr.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,color.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,dither.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,dsc.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,gamma.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,merge.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,od.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,postmask.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,split.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,ufoe.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml