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

From: Paul Kocialkowski
Date: Thu Jan 20 2022 - 10:01:38 EST


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@xxxxxxxxxxx>
---
.../devicetree/bindings/display/xylon,logicvc-display.yaml | 3 +++
1 file changed, 3 insertions(+)

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
--
2.34.1