]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt
xen: fix the check of e_pfn in xen_find_pfn_range
[karo-tx-linux.git] / Documentation / devicetree / bindings / display / bridge / adi,adv7511.txt
1 Analog Device ADV7511(W)/13 HDMI Encoders
2 -----------------------------------------
3
4 The ADV7511, ADV7511W and ADV7513 are HDMI audio and video transmitters
5 compatible with HDMI 1.4 and DVI 1.0. They support color space conversion,
6 S/PDIF, CEC and HDCP.
7
8 Required properties:
9
10 - compatible: Should be one of "adi,adv7511", "adi,adv7511w" or "adi,adv7513"
11 - reg: I2C slave address
12
13 The ADV7511 supports a large number of input data formats that differ by their
14 color depth, color format, clock mode, bit justification and random
15 arrangement of components on the data bus. The combination of the following
16 properties describe the input and map directly to the video input tables of the
17 ADV7511 datasheet that document all the supported combinations.
18
19 - adi,input-depth: Number of bits per color component at the input (8, 10 or
20   12).
21 - adi,input-colorspace: The input color space, one of "rgb", "yuv422" or
22   "yuv444".
23 - adi,input-clock: The input clock type, one of "1x" (one clock cycle per
24   pixel), "2x" (two clock cycles per pixel), "ddr" (one clock cycle per pixel,
25   data driven on both edges).
26
27 The following input format properties are required except in "rgb 1x" and
28 "yuv444 1x" modes, in which case they must not be specified.
29
30 - adi,input-style: The input components arrangement variant (1, 2 or 3), as
31   listed in the input format tables in the datasheet.
32 - adi,input-justification: The input bit justification ("left", "evenly",
33   "right").
34
35 Optional properties:
36
37 - interrupts: Specifier for the ADV7511 interrupt
38 - pd-gpios: Specifier for the GPIO connected to the power down signal
39
40 - adi,clock-delay: Video data clock delay relative to the pixel clock, in ps
41   (-1200 ps .. 1600 ps). Defaults to no delay.
42 - adi,embedded-sync: The input uses synchronization signals embedded in the
43   data stream (similar to BT.656). Defaults to separate H/V synchronization
44   signals.
45
46 Required nodes:
47
48 The ADV7511 has two video ports. Their connections are modelled using the OF
49 graph bindings specified in Documentation/devicetree/bindings/graph.txt.
50
51 - Video port 0 for the RGB or YUV input
52 - Video port 1 for the HDMI output
53
54
55 Example
56 -------
57
58         adv7511w: hdmi@39 {
59                 compatible = "adi,adv7511w";
60                 reg = <39>;
61                 interrupt-parent = <&gpio3>;
62                 interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
63
64                 adi,input-depth = <8>;
65                 adi,input-colorspace = "rgb";
66                 adi,input-clock = "1x";
67                 adi,input-style = <1>;
68                 adi,input-justification = "evenly";
69
70                 ports {
71                         #address-cells = <1>;
72                         #size-cells = <0>;
73
74                         port@0 {
75                                 reg = <0>;
76                                 adv7511w_in: endpoint {
77                                         remote-endpoint = <&dpi_out>;
78                                 };
79                         };
80
81                         port@1 {
82                                 reg = <1>;
83                                 adv7511_out: endpoint {
84                                         remote-endpoint = <&hdmi_connector_in>;
85                                 };
86                         };
87                 };
88         };