This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using 4 DSI data lines

Hi,

I am using a custom board which was build using blaze tablet as reference.I am trying to use the 4 data lanes of DSI to my LCD but then i get data only on the first two data lanes and the other two data lanes are always low.Should i do any specific changes in the board configuration file for enabling the other two data lanes.My Lcd supports Video mode.So i used the board specific file of Blaze as my reference to write my own board specific file.The changes that i did i my board specific file for configuring for four data lanes are 

static struct omap_dss_device sdp4430_lcd_device = {
        .name                   = "lcd",
        .driver_name            = "vvx",
        .type                   = OMAP_DISPLAY_TYPE_DSI,
        .data                   = &dsi1_panel,
        .phy.dsi                = {
                .clk_lane       = 1,
                .clk_pol        = 0,
                .data1_lane     = 2,
                .data1_pol      = 0,
                .data2_lane     = 3,
                .data2_pol      = 0,

//Added by me
                .data3_lane     = 4,
                .data3_lane     = 0,
                .data4_lane     = 5,
                .data4_pol      = 0,

                .type = OMAP_DSS_DSI_TYPE_VIDEO_MODE,

and the other change was

reg = omap4_ctrl_pad_readl(OMAP4_CTRL_MODULE_PAD_CORE_CONTROL_DSIPHY);
        reg &= ~OMAP4_DSI1_LANEENABLE_MASK;
        //reg |= 0x7 << OMAP4_DSI1_LANEENABLE_SHIFT;
        reg |= 0x1f << OMAP4_DSI1_LANEENABLE_SHIFT;
        reg &= ~OMAP4_DSI1_PIPD_MASK;
        //reg |= 0x7 << OMAP4_DSI1_PIPD_SHIFT;
        reg |= 0x1f << OMAP4_DSI1_PIPD_SHIFT;
        omap4_ctrl_pad_writel(reg, OMAP4_CTRL_MODULE_PAD_CORE_CONTROL_DSIPHY);
       

So should i make any more further changes anywhere else or is this sufficient enough.I am using this release http://omappedia.org/wiki/4AI.1.4-P1_OMAP4_Icecream_Sandwich_Release_Notes.

Regards

Haran

  • Hi,

    In theory, this is the only thing needed; however, I don't know why this is not working for you.

    It would be nice if you can paste some dss+dispc+dsi register dump log here (you can use debugfs on /sys/kernel/debug/omapdss/*).

    Another thing to try, is to change the order of the lanes to see if the issue seems to be physical or logical.