@@ -14,6 +14,34 @@ Conversely, for the output ports of the same group, the remote endpoint
14
14
ID must be the index of the local hardware block. If the local backend
15
15
is backend 1, then the remote endpoint ID must be 1.
16
16
17
+ HDMI Encoder
18
+ ------------
19
+
20
+ The HDMI Encoder supports the HDMI video and audio outputs, and does
21
+ CEC. It is one end of the pipeline.
22
+
23
+ Required properties:
24
+ - compatible: value must be one of:
25
+ * allwinner,sun5i-a10s-hdmi
26
+ - reg: base address and size of memory-mapped region
27
+ - interrupts: interrupt associated to this IP
28
+ - clocks: phandles to the clocks feeding the HDMI encoder
29
+ * ahb: the HDMI interface clock
30
+ * mod: the HDMI module clock
31
+ * pll-0: the first video PLL
32
+ * pll-1: the second video PLL
33
+ - clock-names: the clock names mentioned above
34
+ - dmas: phandles to the DMA channels used by the HDMI encoder
35
+ * ddc-tx: The channel for DDC transmission
36
+ * ddc-rx: The channel for DDC reception
37
+ * audio-tx: The channel used for audio transmission
38
+ - dma-names: the channel names mentioned above
39
+
40
+ - ports: A ports node with endpoint definitions as defined in
41
+ Documentation/devicetree/bindings/media/video-interfaces.txt. The
42
+ first port should be the input endpoint. The second should be the
43
+ output, usually to an HDMI connector.
44
+
17
45
TV Encoder
18
46
----------
19
47
@@ -205,6 +233,57 @@ panel: panel {
205
233
};
206
234
};
207
235
236
+ connector {
237
+ compatible = "hdmi-connector";
238
+ type = "a";
239
+
240
+ port {
241
+ hdmi_con_in: endpoint {
242
+ remote-endpoint = <&hdmi_out_con>;
243
+ };
244
+ };
245
+ };
246
+
247
+ hdmi: hdmi@01c16000 {
248
+ compatible = "allwinner,sun5i-a10s-hdmi";
249
+ reg = <0x01c16000 0x1000>;
250
+ interrupts = <58>;
251
+ clocks = <&ccu CLK_AHB_HDMI>, <&ccu CLK_HDMI>,
252
+ <&ccu CLK_PLL_VIDEO0_2X>,
253
+ <&ccu CLK_PLL_VIDEO1_2X>;
254
+ clock-names = "ahb", "mod", "pll-0", "pll-1";
255
+ dmas = <&dma SUN4I_DMA_NORMAL 16>,
256
+ <&dma SUN4I_DMA_NORMAL 16>,
257
+ <&dma SUN4I_DMA_DEDICATED 24>;
258
+ dma-names = "ddc-tx", "ddc-rx", "audio-tx";
259
+ status = "disabled";
260
+
261
+ ports {
262
+ #address-cells = <1>;
263
+ #size-cells = <0>;
264
+
265
+ port@0 {
266
+ #address-cells = <1>;
267
+ #size-cells = <0>;
268
+ reg = <0>;
269
+
270
+ hdmi_in_tcon0: endpoint {
271
+ remote-endpoint = <&tcon0_out_hdmi>;
272
+ };
273
+ };
274
+
275
+ port@1 {
276
+ #address-cells = <1>;
277
+ #size-cells = <0>;
278
+ reg = <1>;
279
+
280
+ hdmi_out_con: endpoint {
281
+ remote-endpoint = <&hdmi_con_in>;
282
+ };
283
+ };
284
+ };
285
+ };
286
+
208
287
tve0: tv-encoder@01c0a000 {
209
288
compatible = "allwinner,sun4i-a10-tv-encoder";
210
289
reg = <0x01c0a000 0x1000>;
0 commit comments