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@1
43
44required:
45  - compatible
46  - reg
47  - vddc-supply
48  - ports
49
50additionalProperties: false
51
52examples:
53  - |
54    i2c1 {
55      #address-cells = <1>;
56      #size-cells = <0>;
57
58      bridge@0 {
59        reg = <0>;
60        compatible = "toshiba,tc358762";
61        vddc-supply = <&vcc_1v2_reg>;
62
63        ports {
64          #address-cells = <1>;
65          #size-cells = <0>;
66
67          port@0 {
68            reg = <0>;
69            bridge_in: endpoint {
70              remote-endpoint = <&dsi_out>;
71            };
72          };
73
74          port@1 {
75            reg = <1>;
76            bridge_out: endpoint {
77              remote-endpoint = <&panel_in>;
78            };
79          };
80        };
81      };
82    };
83
84...
85