Add solomon,ssd1677 to the controller fallback compatible enum.

The SSD1677 supports displays up to 960x680 pixels with 10-bit
pixel-level X/Y RAM addressing. It shares the same command address
space and GPIO interface as the SSD1683 but differs in addressing
model, deep sleep behaviour, and initialisation sequence.

Signed-off-by: Devarsh Thakkar <[email protected]>
---
Changes from v1:
  - New patch: Added support for SSD1677 controller variant in bindings

 .../bindings/display/solomon,ssd16xx.yaml           | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/solomon,ssd16xx.yaml 
b/Documentation/devicetree/bindings/display/solomon,ssd16xx.yaml
index b31fb862de04..1a94ad9b0d94 100644
--- a/Documentation/devicetree/bindings/display/solomon,ssd16xx.yaml
+++ b/Documentation/devicetree/bindings/display/solomon,ssd16xx.yaml
@@ -24,12 +24,13 @@ allOf:
 
 properties:
   compatible:
-    items:
-      - enum:
-          # Good Display 4.2" 400x300 monochrome e-ink panel
-          - gooddisplay,gdey042t81
-      - enum:
-          - solomon,ssd1683
+    oneOf:
+      - items:
+          - enum:
+              # Good Display 4.2" 400x300 monochrome e-ink panel
+              - gooddisplay,gdey042t81
+          - const: solomon,ssd1683
+      - const: solomon,ssd1677
 
   reg:
     maxItems: 1
-- 
2.39.1

Reply via email to