1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/bridge/ti,dlpc3433.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TI DLPC3433 MIPI DSI to DMD bridge
8
9maintainers:
10  - Jagan Teki <jagan@amarulasolutions.com>
11  - Christopher Vollo <chris@renewoutreach.org>
12
13description: |
14  TI DLPC3433 is a MIPI DSI based display controller bridge
15  for processing high resolution DMD based projectors.
16
17  It has a flexible configuration of MIPI DSI and DPI signal
18  input that produces a DMD output in RGB565, RGB666, RGB888
19  formats.
20
21  It supports upto 720p resolution with 60 and 120 Hz refresh
22  rates.
23
24properties:
25  compatible:
26    const: ti,dlpc3433
27
28  reg:
29    enum:
30      - 0x1b
31      - 0x1d
32
33  enable-gpios:
34    description: PROJ_ON pin, chip powers up PROJ_ON is high.
35
36  vcc_intf-supply:
37    description: A 1.8V/3.3V supply that power the Host I/O.
38
39  vcc_flsh-supply:
40    description: A 1.8V/3.3V supply that power the Flash I/O.
41
42  ports:
43    $ref: /schemas/graph.yaml#/properties/ports
44
45    properties:
46      port@0:
47        $ref: /schemas/graph.yaml#/$defs/port-base
48        unevaluatedProperties: false
49        description: Video port for MIPI DSI input.
50
51        properties:
52          endpoint:
53            $ref: /schemas/media/video-interfaces.yaml#
54            unevaluatedProperties: false
55
56            properties:
57              data-lanes:
58                description: array of physical DSI data lane indexes.
59                minItems: 1
60                items:
61                  - const: 1
62                  - const: 2
63                  - const: 3
64                  - const: 4
65
66      port@1:
67        $ref: /schemas/graph.yaml#/properties/port
68        description: Video port for DMD output.
69
70    required:
71      - port@0
72      - port@1
73
74required:
75  - compatible
76  - reg
77  - enable-gpios
78  - ports
79
80additionalProperties: false
81
82examples:
83  - |
84    #include <dt-bindings/gpio/gpio.h>
85
86    i2c {
87        #address-cells = <1>;
88        #size-cells = <0>;
89
90        bridge@1b {
91            compatible = "ti,dlpc3433";
92            reg = <0x1b>;
93            enable-gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
94
95            ports {
96                #address-cells = <1>;
97                #size-cells = <0>;
98
99                port@0 {
100                    reg = <0>;
101
102                    bridge_in_dsi: endpoint {
103                        remote-endpoint = <&dsi_out_bridge>;
104                        data-lanes = <1 2 3 4>;
105                    };
106                };
107
108                port@1 {
109                    reg = <1>;
110
111                    bridge_out_panel: endpoint {
112                        remote-endpoint = <&panel_out_bridge>;
113                    };
114                };
115            };
116        };
117    };
118