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  reset-gpios:
25    maxItems: 1
26
27  vddc-supply:
28    description: Regulator for 1.2V internal core power.
29
30  ports:
31    $ref: /schemas/graph.yaml#/properties/ports
32
33    properties:
34      port@0:
35        $ref: /schemas/graph.yaml#/properties/port
36        description:
37          Video port for MIPI DSI input
38
39      port@1:
40        $ref: /schemas/graph.yaml#/properties/port
41        description:
42          Video port for MIPI DPI output (panel or connector).
43
44    required:
45      - port@1
46
47required:
48  - compatible
49  - reg
50  - vddc-supply
51  - ports
52
53additionalProperties: false
54
55examples:
56  - |
57    i2c {
58      #address-cells = <1>;
59      #size-cells = <0>;
60
61      bridge@0 {
62        reg = <0>;
63        compatible = "toshiba,tc358762";
64        vddc-supply = <&vcc_1v2_reg>;
65
66        ports {
67          #address-cells = <1>;
68          #size-cells = <0>;
69
70          port@0 {
71            reg = <0>;
72            bridge_in: endpoint {
73              remote-endpoint = <&dsi_out>;
74            };
75          };
76
77          port@1 {
78            reg = <1>;
79            bridge_out: endpoint {
80              remote-endpoint = <&panel_in>;
81            };
82          };
83        };
84      };
85    };
86
87...
88