Lines Matching +full:tcon +full:- +full:lcd0
1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-r40-tcon-top.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner R40 TCON TOP
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 TCON TOPs main purpose is to configure whole display pipeline. It
16 TCON for HDMI, muxes LCD and TV encoder GPIO output, selects TV
17 encoder clock source and contains additional TV TCON and DSI gates.
21 / LCD0/LVDS0
22 / [0] TCON-LCD0
25 \ / [1] TCON-LCD1 - LCD1/LVDS1
26 TCON-TOP
27 / \ [2] TCON-TV0 [0] - TVE0/RGB
29 | TCON-TOP - HDMI
31 \ [3] TCON-TV1 [1] - TVE1/RGB
33 Note that both TCON TOP references same physical unit. Both mixers
34 can be connected to any TCON. Not all TCON TOP variants support all
38 "#clock-cells":
43 - allwinner,sun8i-r40-tcon-top
44 - allwinner,sun20i-d1-tcon-top
45 - allwinner,sun50i-h6-tcon-top
54 clock-names:
58 clock-output-names:
100 - port@0
101 - port@1
102 - port@4
103 - port@5
106 - "#clock-cells"
107 - compatible
108 - reg
109 - clocks
110 - clock-names
111 - clock-output-names
112 - resets
113 - ports
118 - if:
122 const: allwinner,sun8i-r40-tcon-top
128 - description: The TCON TOP interface clock
129 - description: The TCON TOP TV0 clock
130 - description: The TCON TOP TVE0 clock
131 - description: The TCON TOP TV1 clock
132 - description: The TCON TOP TVE1 clock
133 - description: The TCON TOP MIPI DSI clock
135 clock-names:
137 - const: bus
138 - const: tcon-tv0
139 - const: tve0
140 - const: tcon-tv1
141 - const: tve1
142 - const: dsi
144 clock-output-names:
146 - description: TCON TV0 output clock name
147 - description: TCON TV1 output clock name
148 - description: DSI output clock name
152 - port@2
153 - port@3
155 - if:
159 const: allwinner,sun20i-d1-tcon-top
165 - description: The TCON TOP interface clock
166 - description: The TCON TOP TV0 clock
167 - description: The TCON TOP TVE0 clock
168 - description: The TCON TOP MIPI DSI clock
170 clock-names:
172 - const: bus
173 - const: tcon-tv0
174 - const: tve0
175 - const: dsi
177 clock-output-names:
179 - description: TCON TV0 output clock name
180 - description: DSI output clock name
182 - if:
186 const: allwinner,sun50i-h6-tcon-top
192 - description: The TCON TOP interface clock
193 - description: The TCON TOP TV0 clock
195 clock-names:
197 - const: bus
198 - const: tcon-tv0
200 clock-output-names:
202 - description: TCON TV0 output clock name
205 - |
206 #include <dt-bindings/interrupt-controller/arm-gic.h>
208 #include <dt-bindings/clock/sun8i-r40-ccu.h>
209 #include <dt-bindings/reset/sun8i-r40-ccu.h>
211 tcon_top: tcon-top@1c70000 {
212 compatible = "allwinner,sun8i-r40-tcon-top";
220 clock-names = "bus",
221 "tcon-tv0",
223 "tcon-tv1",
226 clock-output-names = "tcon-top-tv0",
227 "tcon-top-tv1",
228 "tcon-top-dsi";
230 #clock-cells = <1>;
233 #address-cells = <1>;
234 #size-cells = <0>;
240 remote-endpoint = <&mixer0_out_tcon_top>;
245 #address-cells = <1>;
246 #size-cells = <0>;
259 remote-endpoint = <&tcon_tv0_in_tcon_top_mixer0>;
264 remote-endpoint = <&tcon_tv1_in_tcon_top_mixer0>;
269 #address-cells = <1>;
270 #size-cells = <0>;
275 remote-endpoint = <&mixer1_out_tcon_top>;
280 #address-cells = <1>;
281 #size-cells = <0>;
294 remote-endpoint = <&tcon_tv0_in_tcon_top_mixer1>;
299 remote-endpoint = <&tcon_tv1_in_tcon_top_mixer1>;
304 #address-cells = <1>;
305 #size-cells = <0>;
310 remote-endpoint = <&tcon_tv0_out_tcon_top>;
315 remote-endpoint = <&tcon_tv1_out_tcon_top>;
323 remote-endpoint = <&hdmi_in_tcon_top>;