How to config LCD (Linux or Android) driver to DE mode with i.MX6 quad?

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

How to config LCD (Linux or Android) driver to DE mode with i.MX6 quad?

2,953件の閲覧回数
guochancen
Contributor I

Hi all,

        We are now want to link a LCD panel to the i.MX6 quad with Linux or Android Operating System.

        But the LCD panel is only support DE mode. So we must to modify the driver.

        We have read the article "Different Display Configurations on i.MX35 Linux PDK", unfortunately, Linux with imx6 seems be different with i.MX35.

       So what should we do? Anyone can help?

ラベル(4)
タグ(1)
0 件の賞賛
6 返答(返信)

1,205件の閲覧回数
Yuri
NXP Employee
NXP Employee

   We do not have special app note how to configure displays for i.MX6 Linux,

sorry. The article "Different Display Configurations on i.MX35 Linux PDK" describes

main ideas and  structures, used for display driver configuring in Linux. 

For more information about i.MX6 Linux BSP specifics, please refer to

the corresponding BSP Porting Guide and Linux Reference Manual (IPU driver)

in Linux documentation (L3.0.35).


Have a great day,
Yuri

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

0 件の賞賛

1,205件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Guo

i.MX6 Sabre lvds LCD (Hannstar) is working in DE mode (lvds just serialize/deserialize

prallel interface).

Best regards

igor

0 件の賞賛

1,205件の閲覧回数
guochancen
Contributor I

Hi igor,

      Thanks for your reply!

      Where can I get the reference config?

      Does it in the  "IMX6_SABRE_SD_KK442_100_ANDROID_DEMO_BSP "  or  L3.0.35_4.1.0_ER_SOURCE_BSP   package?

      So much thanks!

0 件の賞賛

1,205件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Guo

please look at attached Linux Manual sect.5.4 Source Code Structure

<ltib_dir>/rpm/BUILD/linux/drivers/video/mxc/ldb.c         struct ipuv3_fb_platform_data sabresd_fb_data[]

<ltib_dir>/rpm/BUILD/linux/arch/arm/mach-mx6/board-mx6q_sabresd.c    struct ipuv3_fb_platform_data sabresd_fb_data[]

Android has the same codes.

Best regards

igor

0 件の賞賛

1,205件の閲覧回数
guochancen
Contributor I

Hi igor,

          Now I have read the "IMX6DQRM", and found that if using DE mode with high active(20.3.1 DCIC Control Register (DCICx_DCICC)),I need to change

DE_POL to value '0'. Am I right?

         However, I don't know how can I the value of "uint32 sync" in "static struct fb_videomode video_modes"(/drivers/video/mxc/mxc_lcdif.c).

          Any ideas?

0 件の賞賛

1,205件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Guo

I think you should change

FB_SYNC_OE_ACT_HIGH to FB_SYNC_OE_ACT_LOW

or add it as in (just example):

static struct fb_videomode video_modes[] = {

{

/* NTSC TV output */

"TV-NTSC", 60, 720, 480, 74074,

122, 15,

18, 26,

1, 1,

FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT | FB_SYNC_EXT,

FB_VMODE_INTERLACED,

0,},

~igor

0 件の賞賛