adv7604.txt 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 addresses
  12. The ADV76xx has up to thirteen 256-byte maps that can be accessed via the
  13. main I2C ports. Each map has it own I2C address and acts as a standard
  14. slave device on the I2C bus. The main address is mandatory, others are
  15. optional and revert to defaults if not specified.
  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. The device node must contain one 'port' child node per device input and output
  20. port, in accordance with the video interface bindings defined in
  21. Documentation/devicetree/bindings/media/video-interfaces.txt. The port nodes
  22. are numbered as follows.
  23. Port ADV7611 ADV7612
  24. ------------------------------------------------------------
  25. HDMI 0 0, 1
  26. Digital output 1 2
  27. The digital output port node must contain at least one endpoint.
  28. Optional Properties:
  29. - reset-gpios: Reference to the GPIO connected to the device's reset pin.
  30. - default-input: Select which input is selected after reset.
  31. - reg-names : Names of maps with programmable addresses.
  32. It can contain any map needing a non-default address.
  33. Possible maps names are :
  34. "main", "avlink", "cec", "infoframe", "esdp", "dpp", "afe",
  35. "rep", "edid", "hdmi", "test", "cp", "vdp"
  36. Optional Endpoint Properties:
  37. The following three properties are defined in video-interfaces.txt and are
  38. valid for source endpoints only.
  39. - hsync-active: Horizontal synchronization polarity. Defaults to active low.
  40. - vsync-active: Vertical synchronization polarity. Defaults to active low.
  41. - pclk-sample: Pixel clock polarity. Defaults to output on the falling edge.
  42. If none of hsync-active, vsync-active and pclk-sample is specified the
  43. endpoint will use embedded BT.656 synchronization.
  44. Example:
  45. hdmi_receiver@4c {
  46. compatible = "adi,adv7611";
  47. /*
  48. * The edid page will be accessible @ 0x66 on the I2C bus. All
  49. * other maps will retain their default addresses.
  50. */
  51. reg = <0x4c>, <0x66>;
  52. reg-names "main", "edid";
  53. reset-gpios = <&ioexp 0 GPIO_ACTIVE_LOW>;
  54. hpd-gpios = <&ioexp 2 GPIO_ACTIVE_HIGH>;
  55. #address-cells = <1>;
  56. #size-cells = <0>;
  57. default-input = <0>;
  58. port@0 {
  59. reg = <0>;
  60. };
  61. port@1 {
  62. reg = <1>;
  63. hdmi_in: endpoint {
  64. remote-endpoint = <&ccdc_in>;
  65. };
  66. };
  67. };