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