adv7604.txt 2.0 KB

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