]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dt-bindings:drm/bridge:anx7625: add port@0 property
authorXin Ji <xji@analogixsemi.com>
Fri, 22 Apr 2022 08:47:17 +0000 (16:47 +0800)
committerRobert Foss <robert.foss@linaro.org>
Mon, 20 Jun 2022 19:01:45 +0000 (21:01 +0200)
Add 'bus-type' and 'data-lanes' define, bus-type 7 for MIPI DPI
input, others for DSI input.

Signed-off-by: Xin Ji <xji@analogixsemi.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Robert Foss <robert.foss@linaro.org>
Acked-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220422084720.959271-3-xji@analogixsemi.com
Documentation/devicetree/bindings/display/bridge/analogix,anx7625.yaml

index 35a48515836e4f7e42c46fcb6f2260c61b4bc3b2..4590186c4a0b822b140f470e90df5d4ffe2562b5 100644 (file)
@@ -94,7 +94,22 @@ properties:
         $ref: /schemas/graph.yaml#/$defs/port-base
         unevaluatedProperties: false
         description:
-          Video port for MIPI DSI input.
+          MIPI DSI/DPI input.
+
+        properties:
+          endpoint:
+            $ref: /schemas/media/video-interfaces.yaml#
+            type: object
+            additionalProperties: false
+
+            properties:
+              remote-endpoint: true
+
+              bus-type:
+                enum: [7]
+                default: 1
+
+              data-lanes: true
 
       port@1:
         $ref: /schemas/graph.yaml#/properties/port
@@ -143,6 +158,8 @@ examples:
                     reg = <0>;
                     anx7625_in: endpoint {
                         remote-endpoint = <&mipi_dsi>;
+                        bus-type = <7>;
+                        data-lanes = <0 1 2 3>;
                     };
                 };