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

2023-04-18 Thread Rob Herring
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 anticipa

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

2023-04-14 Thread Matthias Brugger
On 14/04/2023 10:33, 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 grow

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

2023-04-14 Thread Krzysztof Kozlowski
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 K