iMX8mm Drive ADV7480 (HDMI to MIPI CSI) to convert IC, no /dev/media node

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8mm Drive ADV7480 (HDMI to MIPI CSI) to convert IC, no /dev/media node

1,339 Views
xiaobao
Contributor I

On the iMX8MM platform, ADV7480 (HDMI to MIPI) is used to capture incoming data, but the /dev/media node is not generated under normal driver loading.

The device tree configuration is as follows:

&csi1_bridge {
	fsl,mipi-mode;
	status = "okay";

	port {
		csi1_ep: endpoint {
			remote-endpoint = <&csi1_mipi_ep>;
		};
	};
};

&i2c1 {
	adv7480_bridge: adv7480@70 {
		compatible = "adi,adv7481";
		reg = <0x70>;
                #address-cells = <1>;
                #size-cells = <0>;
		status = "okay";

                port@8 {
                        reg = <8>;

                        adv7482_from_hdmi: endpoint {
                                remote-endpoint = <&hdmi_con>;
                        };
                };		

		port@a {
			reg = <10>;

			adv7480_to_csi: endpoint {
				clock-lanes = <0>;
				data-lanes = <1 2 3 4>;
				remote-endpoint = <&mipi1_adv7480_ep>;		
			};	
		};
	};
}

&mipi_csi_1 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

	port {
		mipi1_adv7480_ep: endpoint@1 {
			remote-endpoint = <&adv7480_to_csi>;
			data-lanes = <1 2 3 4>;
			csis-hs-settle = <13>;
			csis-clk-settle = <2>;
			csis-wclk;
		};

		csi1_mipi_ep: endpoint@2 {
			remote-endpoint = <&csi1_ep>;
		};
	};
};


Use kernel source code own driver, driving position:drivers/media/i2c/adv748x

The config file is attached.

I wonder if defconfig is not supported. Some config is enabled and /dev/media is not generated successfully. Maybe I am not configured correctly.

Maybe someone who knows about it can help me solve the problem or provide a direction.

Labels (1)
0 Kudos
Reply
1 Reply

1,334 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xianbao

 

may be useful to look at similar (HDMI to MIPI CSI) TC358743 example supported

in boundary devices nitrogen8mmini board

https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_5.4.x_2.3.0/arch/arm64/boot/dts/free...

https://boundarydevices.com/product/bd_hdmi_mipi/

 

Best regards
igor

0 Kudos
Reply