[PATCH 1/2] dt-bindings: display: bridge: ldb: Implement simple Freescale i.MX91/93 DPI bridge

Alexander Stein alexander.stein at ew.tq-group.com
Tue Feb 11 08:41:18 UTC 2025


The i.MX91/93 contains a single syscon registers which is responsible
for configuring DPI output format. Add DT binding which represents
this configuration as a bridge.

Signed-off-by: Alexander Stein <alexander.stein at ew.tq-group.com>
---
 .../bridge/fsl,imx9-parallel-disp-fmt.yaml    | 78 +++++++++++++++++++
 1 file changed, 78 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/bridge/fsl,imx9-parallel-disp-fmt.yaml

diff --git a/Documentation/devicetree/bindings/display/bridge/fsl,imx9-parallel-disp-fmt.yaml b/Documentation/devicetree/bindings/display/bridge/fsl,imx9-parallel-disp-fmt.yaml
new file mode 100644
index 0000000000000..54cb73b59b1eb
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/bridge/fsl,imx9-parallel-disp-fmt.yaml
@@ -0,0 +1,78 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/bridge/fsl,imx9-parallel-disp-fmt.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Freescale i.MX91/93 DPI bridge
+
+maintainers:
+  - Alexander Stein <alexander.stein at ew.tq-group.com>
+
+description: |
+  The i.MX91/93 mediamix contains a single register which is responsible
+  for configuring the parallel display output format. This describes
+  this registers as bridge within the DT.
+
+properties:
+  compatible:
+    const: fsl,imx9-parallel-display-format
+
+  reg:
+    maxItems: 1
+
+  ports:
+    $ref: /schemas/graph.yaml#/properties/ports
+
+    properties:
+      port at 0:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: Video port for DPI input.
+
+      port at 1:
+        $ref: /schemas/graph.yaml#/properties/port
+        description: Video port for DPI output (panel or bridge).
+
+    required:
+      - port at 0
+      - port at 1
+
+required:
+  - compatible
+  - reg
+  - ports
+
+additionalProperties: false
+
+examples:
+  - |
+    blk-ctrl {
+        #address-cells = <1>;
+        #size-cells = <1>;
+
+        bridge at 60 {
+            compatible = "fsl,imx9-parallel-display-format";
+            reg = <0x60 0x4>;
+            status = "disabled";
+
+            ports {
+                #address-cells = <1>;
+                #size-cells = <0>;
+
+                port at 0 {
+                    reg = <0>;
+
+                    dpi_from_lcdif: endpoint {
+                        remote-endpoint = <&lcdif_to_dpi>;
+                    };
+                };
+
+                port at 1 {
+                    reg = <1>;
+
+                    dpi_out: endpoint {
+                    };
+                };
+            };
+        };
+    };
-- 
2.34.1



More information about the dri-devel mailing list