ADV7611 and ADV7393

Hai Everyone,

We  have our custom board with AM5718 TI Sitara processor and ADV7611 and ADV7393 in the HDMI path as given in attached image. Without ADV7611 and ADV7393, we are able to see output on HDMI port. But if we add both chips, we are not able to see any output on the display. ADV7611 and ADV7393 chips are detected by the Linux successfully. We are using default configuration of chips done by the drivers and not modifying anything. Can anyone pls guide us to resolve the issue? or with anyconfiguration to be added in the driver to support the below format.

HDMI op----> ADV7611----->ADV7393

Regards,

Noufal P

Parents
  • +1
    •  Analog Employees 
    on Jul 15, 2019 3:24 PM over 1 year ago

    Hi Noufal,

    Unfortunately these two drivers are written by third parties and we can provide you only limited support for them. Any how they integrate with Linux V4L framework.

    If I understand correctly from your diagram you try to use 16 bit SDR BT.656 with embedded synchronization between ADV7611 and ADV7393.

    For this setup the ADV7611 should have a devicetree node under I2C like:

    adv7611@4c {
    						compatible = "adi,adv7611";
    						reg = <0x4c>;
    						#address-cells = <0x1>;
    						#size-cells = <0x0>;
    
    						reset-gpios = <&pca9534 0 0>;
    						hpd-gpios = <&pca9534 2 0>;
    
    						port@0 {
    							reg = <0x0>;
    						};
    
    						port@1 {
    							reg = <0x1>;
    							adv7611: endpoint {
    								remote-endpoint = <&imageon_input>;
    							};
    						};
    					};

    For the ADV7393 try to use linux i2cget and v4l-utils to identify the register configuration and see if it is correct.

    Regards,

    Bogdan

  • Thank you for the info. In my case, i didint add following

    1.

    reset-gpios = <&pca9534 0 0>; //this information was not clear.
    hpd-gpios  = <&pca9534 2 0>;  //HPD is not connected on my custom board.

    In our case, reset is connected to the DSP reset output. how can i map this into the reset-gpios property of the device node?

    2. information about the ports. can you please tell me why two ports are used? and the end point node (imageon_input). Is it a prefixed one or should i add manually to my dts file

    Regards

    Noufal P

  • 0
    •  Analog Employees 
    on Jul 16, 2019 7:13 AM over 1 year ago in reply to noufal.p

    Hi Noufal,

    For point 1 in your case correctly proceed by not specifying the two optional gpio properties.

    For point 2 in adv7604.txt is stated: "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."

    So in your case for ADV7611 port 0 is the HDMI input and port 1 is the digital output that goes to ADV7393.

    You should connect the port 1 endpoint to ADV7393 input endpint directly or through some additional V4L bridge device.

    Regards,

    Bogdan

  • Hi,

    Thank you for the help.

    Is there any sample for adv7393 device node like one you gave for adv7611?

Reply Children