-
Notifications
You must be signed in to change notification settings - Fork 53.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Parse the device tree node to populate platform data. Only the ADV7611 is currently support with DT. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Hans Verkuil <[email protected]> Acked-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
Showing
2 changed files
with
123 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
* Analog Devices ADV7604/11 video decoder with HDMI receiver | ||
|
||
The ADV7604 and ADV7611 are multiformat video decoders with an integrated HDMI | ||
receiver. The ADV7604 has four multiplexed HDMI inputs and one analog input, | ||
and the ADV7611 has one HDMI input and no analog input. | ||
|
||
These device tree bindings support the ADV7611 only at the moment. | ||
|
||
Required Properties: | ||
|
||
- compatible: Must contain one of the following | ||
- "adi,adv7611" for the ADV7611 | ||
|
||
- reg: I2C slave address | ||
|
||
- hpd-gpios: References to the GPIOs that control the HDMI hot-plug | ||
detection pins, one per HDMI input. The active flag indicates the GPIO | ||
level that enables hot-plug detection. | ||
|
||
The device node must contain one 'port' child node per device input and output | ||
port, in accordance with the video interface bindings defined in | ||
Documentation/devicetree/bindings/media/video-interfaces.txt. The port nodes | ||
are numbered as follows. | ||
|
||
Port ADV7611 | ||
------------------------------------------------------------ | ||
HDMI 0 | ||
Digital output 1 | ||
|
||
The digital output port node must contain at least one endpoint. | ||
|
||
Optional Properties: | ||
|
||
- reset-gpios: Reference to the GPIO connected to the device's reset pin. | ||
|
||
Example: | ||
|
||
hdmi_receiver@4c { | ||
compatible = "adi,adv7611"; | ||
reg = <0x4c>; | ||
|
||
reset-gpios = <&ioexp 0 GPIO_ACTIVE_LOW>; | ||
hpd-gpios = <&ioexp 2 GPIO_ACTIVE_HIGH>; | ||
|
||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
|
||
port@0 { | ||
reg = <0>; | ||
}; | ||
port@1 { | ||
reg = <1>; | ||
hdmi_in: endpoint { | ||
remote-endpoint = <&ccdc_in>; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters