adv7604.txt 2.2 KB

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