DTSI changes for mipi_dsi in iMX6dl

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DTSI changes for mipi_dsi in iMX6dl

ソリューションへジャンプ
1,086件の閲覧回数
kunalkulshresth
Contributor III

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

ラベル(5)
タグ(1)
0 件の賞賛
1 解決策
796件の閲覧回数
kunalkulshresth
Contributor III

Hi Igor,

Thanks for response. Yes, I was missing few things there. The clock frequency configured in the driver was not the one matching with the table. So due to uninitialization of the disp_dev the fb was not getting enabled.

Thanks and regards,

Kunal

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
796件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Kunal

one can check if mipi-dsi driver is included in build configuration,

please refer to sect.7.3.2 Menu Configuration Options

attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

797件の閲覧回数
kunalkulshresth
Contributor III

Hi Igor,

Thanks for response. Yes, I was missing few things there. The clock frequency configured in the driver was not the one matching with the table. So due to uninitialization of the disp_dev the fb was not getting enabled.

Thanks and regards,

Kunal

0 件の賞賛