Question Description:
With iM8MP, we try convert HDMI input image data translate to mipi-csi, The MIPI host reports Start of transmission error, [Lane3,Lane2,Lane1,Lane0]
QiangF_0-1652690577086.png
- the manual interrupt description
QiangF_2-1652690821494.png
The HDMI camera is connected to the imx8mp mipi csi2 interface through the HDMI TO CSI adapter board (LT6911C), as shown below
QiangF_1-1652690676882.png
IMX8MP controls LT6911C chip through I2C2 bus
1. Rootfs Ubuntu 20.04 rootfs, build from nxp yocto project
2. Kernel version 5.4.70, from Forlinx BSP
3. DTS LT6911UXC Node Configuration
&i2c2 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c2>;
status = "okay";
lt6911uxc@2b {
compatible = "lontium,lt6911uxc";
reg = <0x2b>;
status = "okay";
// 省略部分无关信息
interrupt-parent = <&gpio5>;
interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
reset-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
plugin-det-gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
hpd-ctl-gpios = <&gpio5 5 GPIO_ACTIVE_HIGH>;
camera-module-index = <0>;
port {
hdmi2csi_lt6911_in: endpoint {
data-lanes = <1 2 3 4>;
clock-lanes = <0>;
remote-endpoint = <&hdmi2csi_csi1_ep>;
link-frequencies = /bits/ 64 <297000000>;
};
};
&mipi_csi_1 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
port@1 {
reg = <1>;
hdmi2csi_csi1_ep: endpoint {
remote-endpoint = <&hdmi2csi_lt6911_in>;
data-lanes = <4>;
csis-hs-settle = <13>;
csis-clk-settle = <2>;
csis-wclk;
};
}
Please tell me how to solve this problem