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