This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A3-Q1: Bus format error while streaming over ADV7511w HDMI Transmitter IC

Part Number: AM62A3-Q1
Other Parts Discussed in Thread: AM62A3

Tool/software:

Hello TI,

        We are trying to configure ADV7511w with AM62A3 processor. We are using the latest build version 10.08v & bellow are the device tree configurations : 

&dss {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&main_dss0_pins_default>;
};


hdmi0: connector-hdmi {
	compatible = "hdmi-connector";
	label = "hdmi";
	type = "a";
	port {
	    	hdmi_connector_in: endpoint {
				remote-endpoint = <&adv7511w_out>;
			};
		};
	};
	

&dss_ports {
	/* VP2: DPI Output */
	hdmi0_dss: port@1 {
		reg = <1>;

		dpi1_out: endpoint {
			remote-endpoint = <&adv7511w_in>;
		};
	};
};


adv7511w: adv7511w@39 {
	compatible = "adi,adv7511w";
	 reg = <0x39>, <0x66>;
	 reg-names = "main", "edid";
	adi,input-depth = <8>;  
	adi,input-colorspace = "rgb"; 
	adi,input-clock = "1x";  

//	adi,input-style = <3>;
//	adi,input-justification = "right";
	ports {
		#address-cells = <1>;
		#size-cells = <0>;
 
		port@0 {
			reg = <0>;
			adv7511w_in: endpoint { 
				remote-endpoint = <&dpi1_out>;
			};
		};
			
		port@1 {
			reg = <1>;
			adv7511w_out: endpoint {
				remote-endpoint = <&hdmi_connector_in>;
			    };
		    };
	    };
	};

While streaming on the display getting the following error : 

tidss bridge atomic check: No bus_formats in connected display

Bellow are the dmesg log for your reference :

root@am62axx-evm:/opt/edgeai-gst-apps# dmesg | grep adv7511

[    0.365944] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/adv7511w@39

[    0.377335] platform connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/adv7511w@39

[    1.139719] platform connector-hdmi: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/adv7511w@39

[    1.149436] platform 30200000.dss: Fixed dependency cycle(s) with /bus@f0000/i2c@20020000/adv7511w@39

root@am62axx-evm:/opt/edgeai-gst-apps# dmesg | grep tidss  

[    6.924437] [drm] Initialized tidss 1.0.0 20180215 for 30200000.dss on minor 0

[    7.042350] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[    7.042455] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[    7.056247] tidss 30200000.dss: [drm] fb0: tidssdrmfb frame buffer device

[    7.263237] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   10.178417] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   11.093104] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   11.186005] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   11.196110] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   11.196158] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   11.196209] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   11.244704] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   11.666573] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   12.051571] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   18.785494] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

[   31.106386] tidss 30200000.dss: tidss_bridge_atomic_check: No bus_formats in connected display

  • Hi Monica,

    I would like to level set the expectations and we can only help debug the tidss aspects and cannot help you with debugging the ADV drivers. It's not something we have designed and/or have the ability to test on our platforms.

    You may take reference from sii902x_bridge_attach function in sii902x driver code.
    More specifically there is a function call: drm_display_info_set_bus_formats which sets the bus_formats in the drm_display_info struct.
    This is needed by TIDSS driver to identify bus format.

    You may need to replicate something similar for the adv7511w driver function.