dt-bindings: display: st,stm32-dsi: Handle data-lanes in DSI port node
authorMarek Vasut <marex@denx.de>
Mon, 26 Sep 2022 23:45:01 +0000 (01:45 +0200)
committerRob Herring <robh@kernel.org>
Thu, 29 Sep 2022 22:29:04 +0000 (17:29 -0500)
Handle 'data-lanes' property of the DSI output endpoint, it is possible
to describe DSI link with 1 or 2 data lanes this way.

Signed-off-by: Marek Vasut <marex@denx.de>
Link: https://lore.kernel.org/r/20220926234501.583115-1-marex@denx.de
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/display/st,stm32-dsi.yaml

index 54f67cb5104015b46849eded7f374e8bd4b65850..c488308d7be132ecb7acdb384cf559858b2103f9 100644 (file)
@@ -58,9 +58,20 @@ properties:
           DSI input port node, connected to the ltdc rgb output port.
 
       port@1:
-        $ref: /schemas/graph.yaml#/properties/port
-        description:
-          DSI output port node, connected to a panel or a bridge input port"
+        $ref: /schemas/graph.yaml#/$defs/port-base
+        unevaluatedProperties: false
+        description: |
+          DSI output port node, connected to a panel or a bridge input port.
+        properties:
+          endpoint:
+            $ref: /schemas/media/video-interfaces.yaml#
+            unevaluatedProperties: false
+            properties:
+              data-lanes:
+                minItems: 1
+                items:
+                  - const: 1
+                  - const: 2
 
 required:
   - "#address-cells"