Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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,tc358768.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Toschiba TC358768/TC358778 Parallel RGB to MIPI DSI bridge
8
9maintainers:
10 - Peter Ujfalusi <peter.ujfalusi@ti.com>
11
12description: |
13 The TC358768/TC358778 is bridge device which converts RGB to DSI.
14
15properties:
16 compatible:
17 enum:
18 - toshiba,tc358768
19 - toshiba,tc358778
20
21 reg:
22 maxItems: 1
23 description: base I2C address of the device
24
25 reset-gpios:
26 maxItems: 1
27 description: GPIO connected to active low RESX pin
28
29 vddc-supply:
30 description: Regulator for 1.2V internal core power.
31
32 vddmipi-supply:
33 description: Regulator for 1.2V for the MIPI.
34
35 vddio-supply:
36 description: Regulator for 1.8V - 3.3V IO power.
37
38 clocks:
39 maxItems: 1
40
41 clock-names:
42 const: refclk
43
44 ports:
45 $ref: /schemas/graph.yaml#/properties/ports
46
47 properties:
48 port@0:
49 $ref: /schemas/graph.yaml#/$defs/port-base
50 unevaluatedProperties: false
51 description: |
52 Video port for RGB input
53
54 properties:
55 endpoint:
56 $ref: /schemas/graph.yaml#/$defs/endpoint-base
57 unevaluatedProperties: false
58
59 properties:
60 data-lines:
61 enum: [ 16, 18, 24 ]
62
63 port@1:
64 $ref: /schemas/graph.yaml#/properties/port
65 description: |
66 Video port for DSI output (panel or connector).
67
68 required:
69 - port@0
70 - port@1
71
72required:
73 - compatible
74 - reg
75 - vddc-supply
76 - vddmipi-supply
77 - vddio-supply
78 - ports
79
80allOf:
81 - $ref: ../dsi-controller.yaml#
82
83unevaluatedProperties: false
84
85examples:
86 - |
87 #include <dt-bindings/gpio/gpio.h>
88
89 i2c1 {
90 #address-cells = <1>;
91 #size-cells = <0>;
92
93 dsi_bridge: dsi@e {
94 compatible = "toshiba,tc358768";
95 reg = <0xe>;
96
97 clocks = <&tc358768_refclk>;
98 clock-names = "refclk";
99
100 reset-gpios = <&pcf_display_board 0 GPIO_ACTIVE_LOW>;
101
102 vddc-supply = <&v1_2d>;
103 vddmipi-supply = <&v1_2d>;
104 vddio-supply = <&v3_3d>;
105
106 dsi_bridge_ports: ports {
107 #address-cells = <1>;
108 #size-cells = <0>;
109
110 port@0 {
111 reg = <0>;
112 rgb_in: endpoint {
113 remote-endpoint = <&dpi_out>;
114 data-lines = <24>;
115 };
116 };
117
118 port@1 {
119 reg = <1>;
120 dsi_out: endpoint {
121 remote-endpoint = <&lcd_in>;
122 };
123 };
124 };
125 };
126 };