[PATCH 2/6] dt-bindings: drm/bridge: ti-sn65dsi83: add documentation for reverse lvds lanes

Marco Felsch m.felsch at pengutronix.de
Mon May 30 15:05:45 UTC 2022


The TI converter chip can swap the LVDS data lanes in a pre-defined
manner. This can be useful to improve the layout characteristic.

Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
 .../bindings/display/bridge/ti,sn65dsi83.yaml | 58 ++++++++++++++++++-
 1 file changed, 56 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml
index 48a97bb3e2e0..7306b9874dc3 100644
--- a/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml
+++ b/Documentation/devicetree/bindings/display/bridge/ti,sn65dsi83.yaml
@@ -80,13 +80,67 @@ properties:
                   - const: 4
 
       port at 2:
-        $ref: /schemas/graph.yaml#/properties/port
+        $ref: /schemas/graph.yaml#/$defs/port-base
+        unevaluatedProperties: false
         description: Video port for LVDS Channel-A output (panel or bridge).
 
+        properties:
+          endpoint:
+            $ref: /schemas/media/video-interfaces.yaml#
+            unevaluatedProperties: false
+
+            properties:
+              data-lanes:
+                description: |
+                  Array of physical LVDS data lane indexes in reverse or normal
+                  order. Specify it in reverse order to enable the bridge CHA
+                  reverse ordering. If not specified normal order is used.
+                items:
+                  oneOf:
+                    # reverse order
+                    - items:
+                        - const: 4
+                        - const: 3
+                        - const: 2
+                        - const: 1
+                    # normal order
+                    - items:
+                        - const: 1
+                        - const: 2
+                        - const: 3
+                        - const: 4
+
       port at 3:
-        $ref: /schemas/graph.yaml#/properties/port
+        $ref: /schemas/graph.yaml#/$defs/port-base
+        unevaluatedProperties: false
         description: Video port for LVDS Channel-B output (panel or bridge).
 
+        properties:
+          endpoint:
+            $ref: /schemas/media/video-interfaces.yaml#
+            unevaluatedProperties: false
+
+            properties:
+              data-lanes:
+                description: |
+                  Array of physical LVDS data lane indexes in reverse or normal
+                  order. Specify it in reverse order to enable the bridge CHB
+                  reverse ordering. If not specified normal order is used.
+                items:
+                  oneOf:
+                    # reverse order
+                    - items:
+                        - const: 4
+                        - const: 3
+                        - const: 2
+                        - const: 1
+                    # normal order
+                    - items:
+                        - const: 1
+                        - const: 2
+                        - const: 3
+                        - const: 4
+
     required:
       - port at 0
       - port at 2
-- 
2.30.2



More information about the dri-devel mailing list