adv748x.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. * Analog Devices ADV748X video decoder with HDMI receiver
  2. The ADV7481 and ADV7482 are multi format video decoders with an integrated
  3. HDMI receiver. They can output CSI-2 on two independent outputs TXA and TXB
  4. from three input sources HDMI, analog and TTL.
  5. Required Properties:
  6. - compatible: Must contain one of the following
  7. - "adi,adv7481" for the ADV7481
  8. - "adi,adv7482" for the ADV7482
  9. - reg: I2C slave address
  10. Optional Properties:
  11. - interrupt-names: Should specify the interrupts as "intrq1", "intrq2" and/or
  12. "intrq3". All interrupts are optional. The "intrq3" interrupt
  13. is only available on the adv7481
  14. - interrupts: Specify the interrupt lines for the ADV748x
  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. Name Type Port
  20. ---------------------------------------
  21. AIN0 sink 0
  22. AIN1 sink 1
  23. AIN2 sink 2
  24. AIN3 sink 3
  25. AIN4 sink 4
  26. AIN5 sink 5
  27. AIN6 sink 6
  28. AIN7 sink 7
  29. HDMI sink 8
  30. TTL sink 9
  31. TXA source 10
  32. TXB source 11
  33. The digital output port nodes must contain at least one endpoint.
  34. Ports are optional if they are not connected to anything at the hardware level.
  35. Example:
  36. video-receiver@70 {
  37. compatible = "adi,adv7482";
  38. reg = <0x70>;
  39. #address-cells = <1>;
  40. #size-cells = <0>;
  41. interrupt-parent = <&gpio6>;
  42. interrupt-names = "intrq1", "intrq2";
  43. interrupts = <30 IRQ_TYPE_LEVEL_LOW>,
  44. <31 IRQ_TYPE_LEVEL_LOW>;
  45. port@7 {
  46. reg = <7>;
  47. adv7482_ain7: endpoint {
  48. remote-endpoint = <&cvbs_in>;
  49. };
  50. };
  51. port@8 {
  52. reg = <8>;
  53. adv7482_hdmi: endpoint {
  54. remote-endpoint = <&hdmi_in>;
  55. };
  56. };
  57. port@a {
  58. reg = <10>;
  59. adv7482_txa: endpoint {
  60. clock-lanes = <0>;
  61. data-lanes = <1 2 3 4>;
  62. remote-endpoint = <&csi40_in>;
  63. };
  64. };
  65. port@b {
  66. reg = <11>;
  67. adv7482_txb: endpoint {
  68. clock-lanes = <0>;
  69. data-lanes = <1>;
  70. remote-endpoint = <&csi20_in>;
  71. };
  72. };
  73. };