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?

3,508 次查看
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,760 次查看
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,760 次查看
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,760 次查看
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,760 次查看
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,760 次查看
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,760 次查看
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 项奖励
回复