1Analog Device ADV7511(W)/13 HDMI Encoders 2----------------------------------------- 3 4The ADV7511, ADV7511W and ADV7513 are HDMI audio and video transmitters 5compatible with HDMI 1.4 and DVI 1.0. They support color space conversion, 6S/PDIF, CEC and HDCP. 7 8Required properties: 9 10- compatible: Should be one of "adi,adv7511", "adi,adv7511w" or "adi,adv7513" 11- reg: I2C slave address 12 13The ADV7511 supports a large number of input data formats that differ by their 14color depth, color format, clock mode, bit justification and random 15arrangement of components on the data bus. The combination of the following 16properties describe the input and map directly to the video input tables of the 17ADV7511 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 27The 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 35Optional 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 46Required nodes: 47 48The ADV7511 has two video ports. Their connections are modelled using the OF 49graph 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 55Example 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 }; 89