Lines Matching +full:sun8i +full:- +full:r40 +full:- +full:tcon +full:- +full:tv
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 Device Tree Bindings
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.
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,sun50i-h6-tcon-top
53 - description: The TCON TOP interface clock
54 - description: The TCON TOP TV0 clock
55 - description: The TCON TOP TVE0 clock
56 - description: The TCON TOP TV1 clock
57 - description: The TCON TOP TVE1 clock
58 - description: The TCON TOP MIPI DSI clock
60 clock-names:
64 - const: bus
65 - const: tcon-tv0
66 - const: tve0
67 - const: tcon-tv1
68 - const: tve1
69 - const: dsi
71 clock-output-names:
76 channel, the second item is the name of the TCON TV1 channel
86 Documentation/devicetree/bindings/media/video-interfaces.txt.
91 "#address-cells":
94 "#size-cells":
108 "#address-cells":
111 "#size-cells":
117 "^endpoint@[0-9]$":
123 ID of the target TCON
126 - reg
129 - "#address-cells"
130 - "#size-cells"
145 "#address-cells":
148 "#size-cells":
154 "^endpoint@[0-9]$":
160 ID of the target TCON
163 - reg
166 - "#address-cells"
167 - "#size-cells"
177 "#address-cells":
180 "#size-cells":
186 "^endpoint@[0-9]$":
192 ID of the target TCON
195 - reg
198 - "#address-cells"
199 - "#size-cells"
209 - "#address-cells"
210 - "#size-cells"
211 - port@0
212 - port@1
213 - port@4
214 - port@5
219 - "#clock-cells"
220 - compatible
221 - reg
222 - clocks
223 - clock-names
224 - clock-output-names
225 - resets
226 - ports
234 const: allwinner,sun50i-h6-tcon-top
241 clock-output-names:
249 clock-output-names:
254 - port@2
255 - port@3
258 - |
259 #include <dt-bindings/interrupt-controller/arm-gic.h>
261 #include <dt-bindings/clock/sun8i-r40-ccu.h>
262 #include <dt-bindings/reset/sun8i-r40-ccu.h>
264 tcon_top: tcon-top@1c70000 {
265 compatible = "allwinner,sun8i-r40-tcon-top";
273 clock-names = "bus",
274 "tcon-tv0",
276 "tcon-tv1",
279 clock-output-names = "tcon-top-tv0",
280 "tcon-top-tv1",
281 "tcon-top-dsi";
283 #clock-cells = <1>;
286 #address-cells = <1>;
287 #size-cells = <0>;
293 remote-endpoint = <&mixer0_out_tcon_top>;
298 #address-cells = <1>;
299 #size-cells = <0>;
312 remote-endpoint = <&tcon_tv0_in_tcon_top_mixer0>;
317 remote-endpoint = <&tcon_tv1_in_tcon_top_mixer0>;
322 #address-cells = <1>;
323 #size-cells = <0>;
328 remote-endpoint = <&mixer1_out_tcon_top>;
333 #address-cells = <1>;
334 #size-cells = <0>;
347 remote-endpoint = <&tcon_tv0_in_tcon_top_mixer1>;
352 remote-endpoint = <&tcon_tv1_in_tcon_top_mixer1>;
357 #address-cells = <1>;
358 #size-cells = <0>;
363 remote-endpoint = <&tcon_tv0_out_tcon_top>;
368 remote-endpoint = <&tcon_tv1_out_tcon_top>;
376 remote-endpoint = <&hdmi_in_tcon_top>;