AnsweredAssumed Answered

HDMI + LDB on iMX6DL: how to?

Question asked by EgleTeam on Oct 28, 2013
Latest reply on Jun 26, 2014 by EgleTeam

Hi,

 

Is it possible to use the HDMI port and one LDB port at the same time on iMX6DL?. I can't do it.

 

We configure the framebuffers:

 

-------------------

static struct ipuv3_fb_platform_data es6_fb_data[] = {

    {

    .disp_dev = "hdmi",

    .interface_pix_fmt = IPU_PIX_FMT_RGB24,

    .mode_str = "1920x1080M@60",

    .default_bpp = 32,

    .int_clk = false,

    },

    {

    .disp_dev = "ldb",

    .interface_pix_fmt = IPU_PIX_FMT_RGB666,

    .mode_str = "LDB-WXGA",

    .default_bpp = 18,

    .int_clk = false,

    .late_init = false,

    },

 

}

----------------------


We allocate each display on a different display port of the IPU1:


-------------------------

static struct fsl_mxc_hdmi_core_platform_data hdmi_core_data = {

    .ipu_id = 0,

    .disp_id = 1,

};

 

static struct fsl_mxc_ldb_platform_data ldb_data = {

    .ipu_id = 0,

    .disp_id = 0,

    .ext_ref = 1,

    .mode = LDB_SIN0,

};

-------------------------

 

The issue is that only works the first frammebuffer declared on the struct ipuv3_fb_platform_data. Besides Linux creates a third  framebuffer on /dev/fb1 that we haven't declared on any place:

 

mode "240x320-60"

    # D: 4.608 MHz, H: 19.200 kHz, V: 60.000 Hz

    geometry 240 320 240 960 16

    timings 217013 0 0 0 0 0 0

    rgba 5/11,6/5,5/0,0/0

endmode

 

So the first framebuffer declared is on /dev/fb0 and works. The second declared is on /dev/fb2 and doesn't work (we do: "export FRAMEBUFFER=/dev/fb1"  to check it). The strange thing is that each display works on any of the two ports of the IPU provided it has been declared as first element of the struct.

 

By the way: there's not bootargs of video on u-boot.

 

Any advice?

Thanks,

Manuel.

Outcomes