diff mbox series

[v10,4/6] dt-bindings: display: Add compatibles with major versions only

Message ID 20220120150024.646714-5-paul.kocialkowski@bootlin.com (mailing list archive)
State New, archived
Headers show
Series drm: LogiCVC display controller support | expand

Commit Message

Paul Kocialkowski Jan. 20, 2022, 3 p.m. UTC
There are lots of different versions of the logicvc block and it
makes little sense to list them all in compatibles since all versions
with the same major are found to be register-compatible.

Add common compatibles that only list the major version instead.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
---
 .../devicetree/bindings/display/xylon,logicvc-display.yaml     | 3 +++
 1 file changed, 3 insertions(+)

Comments

Linus Walleij Jan. 30, 2022, 12:46 a.m. UTC | #1
On Thu, Jan 20, 2022 at 4:00 PM Paul Kocialkowski
<paul.kocialkowski@bootlin.com> wrote:

> There are lots of different versions of the logicvc block and it
> makes little sense to list them all in compatibles since all versions
> with the same major are found to be register-compatible.
>
> Add common compatibles that only list the major version instead.
>
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>

Same comment as the other binding patch.

Yours,
Linus Walleij
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/xylon,logicvc-display.yaml b/Documentation/devicetree/bindings/display/xylon,logicvc-display.yaml
index fc02c5d50ce4..3b8184d3ef9c 100644
--- a/Documentation/devicetree/bindings/display/xylon,logicvc-display.yaml
+++ b/Documentation/devicetree/bindings/display/xylon,logicvc-display.yaml
@@ -30,7 +30,10 @@  properties:
   compatible:
     enum:
       - xylon,logicvc-3.02.a-display
+      - xylon,logicvc-3-display
       - xylon,logicvc-4.01.a-display
+      - xylon,logicvc-4-display
+      - xylon,logicvc-5-display
 
   reg:
     maxItems: 1