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