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.
Hi Xianbao
may be useful to look at similar (HDMI to MIPI CSI) TC358743 example supported
in boundary devices nitrogen8mmini board
https://boundarydevices.com/product/bd_hdmi_mipi/
Best regards
igor