AnsweredAssumed Answered

DTSI changes for mipi_dsi in iMX6dl

Question asked by Kunal Kulshrestha on Apr 3, 2017
Latest reply on Apr 7, 2017 by Kunal Kulshrestha

Hi,

 

I am facing strange issue where in I see that the framebuffer fb does not gets registered when I give disp_dev as "mipi_dsi". On other hand, when I use this disp_dev as "lcd" fb registers. This piece of code was working earlier for me, and now I am not getting why even the fb is not registered.

 

Changes I have done in File imx6qdl_sabreauto.dtsi:

 

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

 

 

    mipi_dsi_reset: mipi-dsi-reset {
        compatible = "gpio-reset";
        reset-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
        reset-delay-us = <50>;
        #reset-cells = <0>;
    };

 

    reg_mipi_dsi_pwr_on: mipi_dsi_pwr_on {
        compatible = "regulator-fixed";
        regulator-name = "mipi_dsi_pwr_on";
        gpio = <&gpio6 14 0>;
        enable-active-high;
    };

 

 

&mipi_dsi {
    compatible = "fsl,imx6dl-mipi-dsi";
    reg = <0x021e0000 0x4000>;
    interrupts = <0 102 0x04>;
    gpr = <&gpr>;
    clocks = <&clks 138>, <&clks 204>;
    clock-names = "mipi_pllref_clk", "mipi_cfg_clk";
    dev_id = <0>;
    disp_id = <0>;
    lcd_panel = "TRULY-WVGA";
    disp-power-on-supply = <&reg_mipi_dsi_pwr_on>;
    resets = <&mipi_dsi_reset>;
    status = "okay";
};

 

All other Fbs are disabled. Any hints will be very helpful.

 

 

Thanks and regards

Kunal

Outcomes