1* Analog Devices ADV7604/11 video decoder with HDMI receiver
2
3The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI
4receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input,
5and the ADV7611 has one HDMI input and no analog input.
6
7These device tree bindings support the ADV7611 only at the moment.
8
9Required Properties:
10
11  - compatible: Must contain one of the following
12    - "adi,adv7611" for the ADV7611
13
14  - reg: I2C slave address
15
16  - hpd-gpios: References to the GPIOs that control the HDMI hot-plug
17    detection pins, one per HDMI input. The active flag indicates the GPIO
18    level that enables hot-plug detection.
19
20The device node must contain one 'port' child node per device input and output
21port, in accordance with the video interface bindings defined in
22Documentation/devicetree/bindings/media/video-interfaces.txt. The port nodes
23are numbered as follows.
24
25  Port			ADV7611
26------------------------------------------------------------
27  HDMI			0
28  Digital output	1
29
30The digital output port node must contain at least one endpoint.
31
32Optional Properties:
33
34  - reset-gpios: Reference to the GPIO connected to the device's reset pin.
35
36Optional Endpoint Properties:
37
38  The following three properties are defined in video-interfaces.txt and are
39  valid for source endpoints only.
40
41  - hsync-active: Horizontal synchronization polarity. Defaults to active low.
42  - vsync-active: Vertical synchronization polarity. Defaults to active low.
43  - pclk-sample: Pixel clock polarity. Defaults to output on the falling edge.
44
45  If none of hsync-active, vsync-active and pclk-sample is specified the
46  endpoint will use embedded BT.656 synchronization.
47
48
49Example:
50
51	hdmi_receiver@4c {
52		compatible = "adi,adv7611";
53		reg = <0x4c>;
54
55		reset-gpios = <&ioexp 0 GPIO_ACTIVE_LOW>;
56		hpd-gpios = <&ioexp 2 GPIO_ACTIVE_HIGH>;
57
58		#address-cells = <1>;
59		#size-cells = <0>;
60
61		port@0 {
62			reg = <0>;
63		};
64		port@1 {
65			reg = <1>;
66			hdmi_in: endpoint {
67				remote-endpoint = <&ccdc_in>;
68			};
69		};
70	};
71