AnsweredAssumed Answered

Interface MIPI-DSI to imx6 DualLite

Question asked by Jignesh Patel on Apr 5, 2019
Latest reply on Apr 8, 2019 by Jignesh Patel

Hi,

 

I am trying to interface MIPI-DSI lcd panel with Imx6 Dual lite processor. attached LCD data sheet for reference.

 

In my default device tree LVDS and HDMI display is already configured and added for MIPI-DSI in dtsi as following:

 

"
mxcfb1: fb@0 {
    compatible = "fsl,mxc_sdc_fb";
    disp_dev = "mipi_dsi";
    interface_pix_fmt = "RGB24";
    mode_str ="TRULY-WVGA";
    default_bpp = <24>;
    int_clk = <0>;
    late_init = <0>;
     status = "okay";
};

&mipi_dsi {
    status = "okay";
    ipu_id = <0>;
    csi_id = <1>;
    v_channel = <0>;
    lanes = <2>;
    pinctrl-names = "default";
    lcd_panel = "TRULY-WVGA";
    pinctrl-0 = <&pinctrl_mipi_dsi_reset>;
};
"

I have successfully build it and install it. but i am getting following error on debug.

 

"
mxc_sdc_fb fb@0: get mxcfb of property fail
mxc_sdc_fb: probe of fb@0 failed with error -22
mxc_sdc_fb fb@1: Can't get fb option for mxcfb1!
"

As error shows issue is in driver probe and register.

 

Please help to write proper device probe for MIPI-DSI.

 

Thanks,

Jignesh Patel

Outcomes