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/toshiba,tc358762.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Toshiba TC358762 MIPI DSI to MIPI DPI bridge
8
9maintainers:
10  - Marek Vasut <marex@denx.de>
11
12description: |
13  The TC358762 is bridge device which converts MIPI DSI to MIPI DPI.
14
15properties:
16  compatible:
17    enum:
18      - toshiba,tc358762
19
20  reg:
21    maxItems: 1
22    description: virtual channel number of a DSI peripheral
23
24  vddc-supply:
25    description: Regulator for 1.2V internal core power.
26
27  ports:
28    $ref: /schemas/graph.yaml#/properties/ports
29
30    properties:
31      port@0:
32        $ref: /schemas/graph.yaml#/properties/port
33        description:
34          Video port for MIPI DSI input
35
36      port@1:
37        $ref: /schemas/graph.yaml#/properties/port
38        description:
39          Video port for MIPI DPI output (panel or connector).
40
41    required:
42      - port@0
43      - port@1
44
45required:
46  - compatible
47  - reg
48  - vddc-supply
49  - ports
50
51additionalProperties: false
52
53examples:
54  - |
55    i2c1 {
56      #address-cells = <1>;
57      #size-cells = <0>;
58
59      bridge@0 {
60        reg = <0>;
61        compatible = "toshiba,tc358762";
62        vddc-supply = <&vcc_1v2_reg>;
63
64        ports {
65          #address-cells = <1>;
66          #size-cells = <0>;
67
68          port@0 {
69            reg = <0>;
70            bridge_in: endpoint {
71              remote-endpoint = <&dsi_out>;
72            };
73          };
74
75          port@1 {
76            reg = <1>;
77            bridge_out: endpoint {
78              remote-endpoint = <&panel_in>;
79            };
80          };
81        };
82      };
83    };
84
85...
86