DSI error: failed to set complexio power state to 1

56 views
Skip to first unread message

Ping-Chu Hung

unread,
Jun 20, 2013, 6:07:11 AM6/20/13
to panda...@googlegroups.com
Dear all,

I have tried to use Pandaboard to output through DSI interface.
But I got error message "DSI error: failed to set complexio power state to 1" when booting.

To clarify if it's the problem of pad configuration, I copy the dss device configuration from 4430dsp.
But still have the same problem.

#include "video/omap-panel-nokia-dsi.h"
static struct nokia_dsi_panel_data dsi1_panel = {
        .name        = "taal",
        .reset_gpio    = -1,//102,
        .use_ext_te    = false,
        .ext_te_gpio    = 101,
        .esd_interval    = 0,
        .set_backlight    = dsi1_panel_set_backlight,
};

struct omap_dss_device omap4_panda_mipi_device = {
    .name            = "lcd",
    .driver_name    = "taal",
    .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,
    },
...deleted
};


I have noticed something strange:
In function dsi_cio_init(...), DSI_COMPLEXIO_CFG1[29] RESET_DONE has never been to 1.

Does anyone have the same problem?

--
Ping-Chu Hung
Himax Media Solutions

Ping-Chu Hung

unread,
Jun 24, 2013, 2:39:48 AM6/24/13
to panda...@googlegroups.com
Dear all,

The cause of the problem is found.
I should port following initialization codes in omap4_panda_display_init():
    reg = omap4_ctrl_pad_readl(OMAP4_CTRL_MODULE_PAD_CORE_CONTROL_DSIPHY);
    reg &= ~OMAP4_DSI1_LANEENABLE_MASK;
    reg |= 0x1f << OMAP4_DSI1_LANEENABLE_SHIFT;
    reg &= ~OMAP4_DSI1_PIPD_MASK;
    reg |= 0x1f << OMAP4_DSI1_PIPD_SHIFT;
    omap4_ctrl_pad_writel(reg, OMAP4_CTRL_MODULE_PAD_CORE_CONTROL_DSIPHY);

These codes are used to enable DSI1 lanes and disable pull-down of lanes.

Brian Lu

unread,
Jan 14, 2015, 4:55:00 AM1/14/15
to panda...@googlegroups.com
Hi,

You pasted code in your program.

Do you have a screen in your panel ?

I pasted code in my program.

But I still have errors.

Ping-Chu Hung於 2013年6月20日星期四 UTC+8下午6時07分11秒寫道:
Reply all
Reply to author
Forward
0 new messages